Subject: Re: several eth devices
To: port-mac68k@netbsd.org, Pat Wendorf <mlist@beholder.homeunix.net>
From: Marc Coevoet <mcv@wanadoo.be>
List: port-mac68k
Date: 01/23/2003 20:52:02
Pat Wendorf heeft op woensdag, 22 jan 2003 om 20:32 (Europe/Brussels)
het volgende geschreven:
> On January 21, 2003 03:21 pm, Marc Coevoet wrote:
>> 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="inet 169.254.202.112 netmask 0.0.0.0"
>> ifconfig_ae0="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
> to get two nics in my machine to bind to the same subnet. I think in
> those
> situations, it doesn't know which nic to use when broadcast to the
> subnet.
>
> If you don't have a preference or a reason for using those IP
> addresses, try
> this instead:
>
> ifconfig_sn0="inet 192.168.0.1 netmask 255.255.255.0"
> ifconfig_ae0="inet 192.168.0.2 netmask 255.255.255.255"
>
Still does not work. If I switch the lines and init ae0 first and
secondly sn0 it
seems to go further, I can log in on sn0, but look what error is
produced when I log in on ae0 (on the console) :
Telnetd[191]: ttloop : read : Interrupted system call
ae0 is the NUBUS ethernet device.
What might this mean? Is the netmask wrong here or what?
Marc