Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 17:38:07 -0700 (PDT)
From:      Tom <tom@uniserve.com>
To:        Jeff Kletsky <Jeff@Wagsky.com>
Cc:        Phil Allsopp <phil@virtek.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: twin network cards in one PC
Message-ID:  <Pine.BSF.3.96.980729173216.28991E-100000@shell.uniserve.ca>
In-Reply-To: <l03110700b1e55735e48d@[192.168.6.3]>

next in thread | previous in thread | raw e-mail | index | archive | help

> >When I put two network cards in one Pc and both cards are on the same
> >subnet ie. 194.159.112.3 and
> >194.159.112.4
> >
> >I can not ping one of the cards wheras if I have one of the cards set to
> >192.168.1.1
> >
> >I can ping them both.
> >
> >Why is this ?
> 
> Try looking at your firewall configuration (pointed to in /etc/rc.conf) to
> make sure that the addresses both permit the proper flow of packets.  Stock
> FreeBSD configurations only expect one IP address.

  No, it much simpler.  You can't have two interfaces within the same
network.  Why?  Think about routing.  If you have 10.0.0.1/24 on one
interface, and 10.0.0.2/24 on another interface, to which interface does
traffic destined for 10.0.0.0/10 go out from?  Once you configure the
first interface, you will get an implied route for network 10.0.0.0/0 out
via the first interface.  When configuring the second interface, the
implied route is either overwritten or ignored (I don't remember, which
but I think it is ignored with an error).  Basically, the route table can
only have one route for a particular network.

  Someone is working on load balancing code.  This code will allow
multiple routes to a particular network, and will balance traffic among
them.

Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980729173216.28991E-100000>