Subject: Re: ex0 problems with 1.5.2 ...
To: Malcolm Herbert <Malcolm.Herbert@member.sage-au.org.au>
From: Andrew Gillham <gillham@vaultron.com>
List: netbsd-help
Date: 05/29/2002 16:12:50
On Thu, May 30, 2002 at 08:16:28AM +1000, Malcolm Herbert wrote:
> Any idea why this might happen on a 1.5.2 machine?
> 
> |mamers[~] 2>: ifconfig ex0
> |ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> |        address: 00:01:02:9a:59:35
> |        media: Ethernet autoselect (100baseTX full-duplex)
> |        status: active
> |        inet 10.0.109.1 netmask 0xff000000 broadcast 10.255.255.255
> |        inet alias 10.0.1.1 netmask 0xff000000 broadcast 10.255.255.255
> |        inet alias 192.168.110.2 netmask 0xffffff00 broadcast 192.168.110.255
> |        inet6 fe80::201:2ff:fe9a:5935%ex0 prefixlen 64 scopeid 0x1

Did you add these via '/etc/ifaliases', with if_aliases_ex0 in /etc/mk.conf,
or perhaps manually in /etc/ifconfig.ex0?

If you use the ifaliases mechanism /etc/rc.d/network automatically adds a
route for the alias:
	# Use loopback, not the wire
	route add $addr 127.0.0.1

-Andrew