Mark Hounschell wrote: > 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 Well, I thought id did. It doesn't appear to "loopback" any data written to it however. In other words if I have a thread that has a read on say dummy0 then another thread does a write to dummy0 the read thread does not get the data like as would happen if I were using the lo device?? Mark -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/