Subject: Re: 2 network cards
To: None <netbsd-help@NetBSD.org>
From: Daniel Bolgheroni <dbolgheroni@uol.com.br>
List: netbsd-help
Date: 11/25/2003 12:55:27
It's working now. I can ping both network cards.

What I have is:

- an i386 with 2 network cards, 1 for ADSL connection and one for network
- a 9500/120 macppc, with 1 network card for local network

The problem is I can't ping macppc anymore. Should the netmask of macppc be 
equal to the netmask of i386 network card that access the local network?

Thank you.

On Tuesday 25 November 2003 03:36, James K. Lowden wrote:
> On Tue, 25 Nov 2003 02:55:33 +0000, Daniel Bolgheroni
>
> <dbolgheroni@uol.com.br> wrote:
> > ifconfig_sip0="inet 10.0.0.11 netmask 255.0.0.0" # ADSL connection
> > ifconfig_vr0="inet 10.0.0.1 netmask 255.0.0.0"   # local network
> >
> > With this configuration, I can ping only sip0 card at startup.
>
> I believe the problem is that both cards are on the same subnet.  Put
> yourself in the kernel's shoes: given a packet destined for 10.0.0.2,
> which interface should it be routed through?
>
> --jkl