Subject: Re: several eth devices
To: Marc Coevoet <mcv@wanadoo.be>
From: Pat Wendorf <mlist@beholder.homeunix.net>
List: port-mac68k
Date: 01/22/2003 14:32:31
On January 21, 2003 03:21 pm, Marc Coevoet wrote:
> I managed to boot netbsd1.6 on a quadra 700.
> (had to change /etc/ttys a line that says console off put ON
> the getty and ttyE0 change to ttye0 and put OFF)
>
> Now I see I have two ethernet devices; the dmesg looks like this:
> sn0 at obio0: integrated Ethernet adapter
> sn0: Ethernet address 08:00:07:14:98:34
>
> nubus0 at mainbus0
> ae0 at nubus0 slot e: MacCon Ethernet, 64KB memory
> ae0: Ethernet address 00:00:94:21:1e:5a
>
> I try to configure them with
>
> ifconfig_sn0=3D"inet 169.254.202.112 netmask 0.0.0.0"
> ifconfig_ae0=3D"inet 169.254.202.113 netmask 0.0.0.0"

I've never seen a netmask of all zeroes... but I have had trouble in the =
past=20
to get two nics in my machine to bind to the same subnet.  I think in tho=
se=20
situations, it doesn't know which nic to use when broadcast to the subnet=
=2E

If you don't have a preference or a reason for using those IP addresses, =
try=20
this instead:

ifconfig_sn0=3D"inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_ae0=3D"inet 192.168.0.2 netmask 255.255.255.255"

>
> in rc.conf, but the second line does not seem to work....
>
> I can log in on the sn0-169.254.202.112 with my imac,
> not on ae0-169.254.202.113
> What might be the problem here? (I do not need IPNAT...)
>
>
> Marc