Subject: Re: ifconfig alias routing problems...
To: Herb Peyerl <hpeyerl@beer.org>
From: Jan-Hinrich Fessel <oskar@zappa.unna.ping.de>
List: current-users
Date: 10/19/1995 13:08:19
In message <199510171936.NAA21669@sidney.novatel.ca>you write:
> Peter Seebach <seebs@solon.com>  wrote:
>  > I have an interface (le0) configured as 192.129.84.3.  I then
>  > ifconfig le0 alias 192.129.84.9
>  > ...This seems fine.  I can't ping the address .9, but
> 
> I've noticed this with a machine I have serving N web-domains.  It can't
> see any of its aliases even though the rest of the world can.

I can get through just fine, thoug that maybe because my router knows me:

zappa# ifconfig ed0
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
        inet 193.100.14.21 netmask 0xfffffff8 broadcast 193.100.14.23
zappa# ping -c 1 149.232.248.8
PING 149.232.248.8 (149.232.248.8): 56 data bytes
64 bytes from 149.232.248.8: icmp_seq=0 ttl=254 time=4.357 ms

--- 149.232.248.8 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 4.357/4.357/4.357 ms
zappa# traceroute 149.232.248.8
traceroute to 149.232.248.8 (149.232.248.8), 30 hops max, 40 byte packets
 1  un-net.unna.ping.de (193.100.14.20)  3.734 ms  2.606 ms  2.513 ms
 2  oskar.isdn.xxxxx.de (149.232.248.8)  3.961 ms  3.691 ms  3.65 ms

>  > route add 192.129.84.9 localhost
>  > fixes that.
> 
> That seems like the wrong answer... I suspect you'd get all kinds of 
> weirdness happening as a result of that.

This should be the right answer, at least as long as the routing is stupid 
eough not being able to figure out localhost routes for itself, i.e. there is 
a "route add <ipaddress> localhost" in any of the system startup files...

Gruesse
       Oskar

 ==============================================================================
 					Tragbar ist, was nicht herunterfaellt.
						    oskar@zappa.unna.ping.de
 ==============================================================================