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

Re: multiple loopback devices?



On Thu, Apr 05, 2001 at 12:57:25PM +0200, Karl Hammar wrote:
> 
> Something like:
> 
>    # ifconfig lo:1 127.0.0.2
>    # ifconfig 
>    ...
>    lo        Link encap:Local Loopback  
> 	     inet addr:127.0.0.1  Mask:255.0.0.0
> 	     UP LOOPBACK RUNNING  MTU:3924  Metric:1
> 	     RX packets:1400 errors:0 dropped:0 overruns:0 frame:0
> 	     TX packets:1400 errors:0 dropped:0 overruns:0 carrier:0
> 	     collisions:0 txqueuelen:0 
> 
>    lo:1      Link encap:Local Loopback  
> 	     inet addr:127.0.0.2  Mask:255.0.0.0
> 	     UP LOOPBACK RUNNING  MTU:3924  Metric:1
> 
> 
>    $ ping 127.0.0.2
>    PING 127.0.0.2 (127.0.0.2): 56 data bytes
>    64 bytes from 127.0.0.2: icmp_seq=0 ttl=255 time=1.1 ms
>    64 bytes from 127.0.0.2: icmp_seq=1 ttl=255 time=1.2 ms
Is this slow response time due to the loopback aliasing, a slow
system, or what?  (I get 5ms on my 100mbit lan, and 0.01ms on lo)

> 
>    --- 127.0.0.2 ping statistics ---
>    2 packets transmitted, 2 packets received, 0% packet loss
>    round-trip min/avg/max = 1.1/1.1/1.2 ms
> 
> 
> or what?
> Include alias network support in the kernel in that case.
> 
> Regards,
> /Karl
> 
> -----------------------------------------------------------------------
> Karl Hammar                    Aspö Data           karl@kalle.csb.ki.se
> Lilla Aspö 2340             +46  173 140 57                    Networks
> S-742 94 Östhammar         +46  10 270 26 67                  Computers
> Sweden                                                       Consulting
> -----------------------------------------------------------------------
	--xsdg

-- 
 ___________________________________________________
/ Error reading FAT record:                         \
\      Try the SKINNY one? (Y/N)                    /
/    http://xsdg.hypermart.net|xsdg@softhome.net    \
\___________________________________________________/



Reply to: