Re: Second lo device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Devin wrote:
> Mark Hounschell wrote:
>> Does/can the linux kernel (2.6.x) support multiple lo devices?
>>
>> Regards
>> Mark
>>
>> --
>> Kernelnewbies: Help each other learn about the Linux kernel.
>> Archive:       http://mail.nl.linux.org/kernelnewbies/
>> FAQ:           http://kernelnewbies.org/faq/
>>
>>
> 
> root@loathe ~# modprobe dummy numdummies=1
> root@loathe ~# ifconfig dummy0 up 10.0.0.1
> root@loathe ~# route add -net 10.0.0.0/8 dev dummy0
> root@loathe ~# ping 10.0.0.1
> PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
> 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.076 ms
> 
> --- 10.0.0.1 ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 0.076/0.076/0.076/0.000 ms
> 
> Just set numdummies to however many you need and you're good to go.
> 

Thanks Devin, this works perfectly.

Regards
Mark

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux