Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 14:46:06 -0800
From:      Randy Bush <randy@psg.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   alias ip addresses not pingable
Message-ID:  <E120BZ8-0000Yi-00@rip.psg.com>

next in thread | raw e-mail | index | archive | help
3.4.-stable-9912201156

this is new and exciting.  it used to work, and still does over on a 3.3-RC
system.  i imagine i have fumbled something, but don't know what.

in /etc/rc.conf
network_interfaces="fxp0 lo0" # List of network interfaces (lo0 is loopback).
ifconfig_fxp0="inet 147.28.0.39 netmask 255.255.255.0"
ifconfig_fxp0_alias0="inet 147.28.0.3 netmask 255.255.255.0"
ifconfig_fxp0_alias1="inet 147.28.0.4 netmask 255.255.255.0"

but

rip.psg.com:/etc# ping 147.28.0.3
PING 147.28.0.3 (147.28.0.3): 56 data bytes
^C
--- 147.28.0.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

rip.psg.com:/etc# ping 147.28.0.4
PING 147.28.0.4 (147.28.0.4): 56 data bytes
^C
--- 147.28.0.4 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

rip.psg.com:/etc# ping 147.28.0.39
PING 147.28.0.39 (147.28.0.39): 56 data bytes
64 bytes from 147.28.0.39: icmp_seq=0 ttl=255 time=0.065 ms
64 bytes from 147.28.0.39: icmp_seq=1 ttl=255 time=0.057 ms
64 bytes from 147.28.0.39: icmp_seq=2 ttl=255 time=0.051 ms
^C
--- 147.28.0.39 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.051/0.058/0.065/0.006 ms

rip.psg.com:/etc# ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 147.28.0.39 netmask 0xffffff00 broadcast 147.28.0.255
        inet 147.28.0.3 netmask 0xffffff00 broadcast 147.28.0.255
        inet 147.28.0.4 netmask 0xffffff00 broadcast 147.28.0.255
        ether 00:a0:c9:df:c8:4e 
        media: 100baseTX <full-duplex> status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP

rip.psg.com:/etc# netstat -in
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
fxp0  1500  <Link>      00.a0.c9.df.c8.4e    43340     0    42350     0     0
fxp0  1500  147.28/24     147.28.0.39        43340     0    42350     0     0
fxp0  1500  147.28/24     147.28.0.3         43340     0    42350     0     0
fxp0  1500  147.28/24     147.28.0.4         43340     0    42350     0     0
wl0*  1500  <Link>      08.00.6a.2b.dd.cb        0     0        1     0     0
wl0*  1500  147.28.2/24   147.28.2.1             0     0        1     0     0
lo0   16384 <Link>                            1632     0     1632     0     0
lo0   16384 127           127.0.0.1           1632     0     1632     0     0

rip.psg.com:/etc# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            147.28.0.58        UGSc     1558    28452     fxp0
127.0.0.1          127.0.0.1          UH          1       11      lo0
147.28/24          link#1             UC          0        0     fxp0
147.28.0.32        0:a0:6e:4:1:22     UHLW        0       14     fxp0    544
147.28.0.34        0:e0:18:98:63:22   UHLW        0       10     fxp0    546
147.28.0.39        0:a0:c9:df:c8:4e   UHLW        5     1600      lo0
147.28.0.58        0:90:f2:fd:54:1c   UHLW     1556        0     fxp0   1083
147.28.0.62        0:e0:18:98:63:22   UHLW        4     1927     fxp0    471
147.28.0.255       ff:ff:ff:ff:ff:ff  UHLWb       1       51     fxp0
147.28.3/24        147.28.0.62        UGSc        0        0     fxp0
147.28.4/24        147.28.0.62        UGSc        0        0     fxp0
147.28.255.1/32    147.28.0.58        UGSc        0        0     fxp0

note that i have tried the aliases with a /32 netmask.  same non-result.

randy


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?E120BZ8-0000Yi-00>