Date: Wed, 02 Feb 2005 02:11:36 +0800 From: Xin LI <delphij@frontfree.net> To: freebsd-net@FreeBSD.org Subject: Two NIC's connected to same subnet: routing question Message-ID: <1107281496.809.48.camel@spirit>
next in thread | raw e-mail | index | archive | help
--=-W7l3o9fZV6LIkx5t6/5p Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Dear folks, I think I got confused with the routing problem we will have when at least two NIC's are connected into the same subnet. The scenario: em0: 192.168.0.1/24 em1: 192.168.0.2/24 We can't simply configure like this, since 192.168.0.0/24 network route exists as soon as either em0 or em1 is up. A workaround for this is that we assign 192.168.0.2/32 for em1, but that has another issue that all traffics will go through em0 for "outgoing", say, outside the current network. A google of the issue has indicated that the "Move ARP out of routing table" work done last April should have resolved this, as "With this change it is possible to have more than one interface in the same IP subnet and layer 2 broadcast domain.". However, what I have found from our mailing list archive says only to assign /32 IP address, or remove routing item from route table, which is essentially identical to the /32 solution. So is there any way to utilize the both NIC's? I think I have been confused :-( Cheers, --=20 Xin LI <delphij delphij net> http://www.delphij.net/ --=-W7l3o9fZV6LIkx5t6/5p Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB/8ZY/cVsHxFZiIoRAh0EAJ9NpldQ4lZGZLosedCAMIiCpMTWiQCfdbN3 IfiBbJt/LTtTx+/qxlwdU90= =kk6O -----END PGP SIGNATURE----- --=-W7l3o9fZV6LIkx5t6/5p--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1107281496.809.48.camel>