Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 04:46:05 +0200
From:      Dennis Berger <Dennis.Berger@nipsi.de>
To:        Lamont Granquist <lamont@scriptkiddie.org>
Cc:        "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: loopback not working for anything other than 127.0.0.1
Message-ID:  <3BAD4CED.934D1A09@nipsi.de>
References:  <20010922191456.V27000-100000@coredump.scriptkiddie.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmm I don't have this problem ...

Nipsi# uname -a
FreeBSD Nipsi.home.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Mon Sep 17
13:07:51 CEST 2001     root@Nipsi.home.net:/usr/src/sys/compile/NIPSI  i386

Nipsi# ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
        inet 127.0.0.1 netmask 0xff000000
Nipsi# ifconfig lo0 inet 127.0.0.2 netmask 255.0.0.0
Nipsi# ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
        inet 127.0.0.2 netmask 0xff000000
Nipsi# 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=64 time=0.139 ms
64 bytes from 127.0.0.2: icmp_seq=1 ttl=64 time=0.109 ms
^C
--- 127.0.0.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.109/0.124/0.139/0.015 ms


Lamont Granquist schrieb:

> All my 4.3 and 4.4 boxen have problems with the only lookback address
> being valid is 127.0.0.1 instead of the entire /8.
>
> My ifconfig looks like:
>
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>         inet 127.0.0.1 netmask 0xff000000
>
> (note that this is the correct netmask)
>
> but when i try this:
>
> % ping 127.0.0.2
> PING 127.0.0.2 (127.0.0.2): 56 data bytes
> ^C
> --- 127.0.0.2 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
>
> it does not work like it should.
>
> (and i don't have any ipf filter rules on lo0 or anything of that nature)
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BAD4CED.934D1A09>