Re: multiple loopback devices?
Your message have bugged me for a while, but now I found the reason for
the long ping time to localhost.
I had both iplogger and ippl running. Removing iplogger I got:
$ ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.5 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.3 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.3 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.3 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=255 time=0.3 ms
--- localhost ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.5 ms
You have mail in /var/spool/mail/karl
And stopping ippl I got:
$ ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.1 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.0 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.0 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.0 ms
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
-----------------------------------------------------------------------
From: xsdg <xsdg@softhome.net>
Subject: Re: multiple loopback devices?
Date: Fri, 6 Apr 2001 18:11:01 -0400
> 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
...
> --xsdg
...
Reply to: