Subject: Can't access aliased IPs on same box
To: None <netbsd-help@netbsd.org>
From: Paul Hoffman <phoffman@proper.com>
List: netbsd-help
Date: 06/24/2001 18:41:05
Greetings again. I have a multihomed box. The /etc/ifconfig.fxp0 starts out:
inet a.b.c.39 netmask 255.255.255.224 media autoselect
inet a.b.c.40 netmask 255.255.255.224 alias
inet a.b.c.41 netmask 255.255.255.224 alias
. . .
where "a.b.c" is the first three octets of my address. 'ifconfig -a' reports:
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:b0:d0:de:5d:de
media: Ethernet autoselect (10baseT)
status: active
inet a.b.c.39 netmask 0xffffffe0 broadcast a.b.c.39.63
inet alias a.b.c.40 netmask 0xffffffe0 broadcast a.b.c.39.63
inet alias a.b.c.41 netmask 0xffffffe0 broadcast a.b.c.39.63
. . .
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33228
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
. . .
When logged in with telnet, I can ping a.b.c.39 and 127.0.0.1 just
fine. When I try to ping (or access in any other way) a.b.c.40, .41,
and so on, I get no connection. I can ping and access those addresses
just fine from boxes on the Internet.
How can I access my aliased IP addresses from this box?
--Paul Hoffman