Date: Thu, 10 Oct 2002 02:19:56 +0200 From: Paul te Bokkel <paul@tebokkel.com> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Bill Moran <wmoran@potentialtech.com>, Thomas Quinot <thomas@cuivre.fr.eu.org>, freebsd-stable@FreeBSD.ORG Subject: Re: Setup routing entry for host with a non-local IP address Message-ID: <20021010001956.GA58085@tebokkel.com> In-Reply-To: <200210092201.g99M1YTA007964@apollo.backplane.com> References: <20021009151733.GA15162@melusine.cuivre.fr.eu.org> <20021009210242.GA34352@tebokkel.com> <3DA49D72.6070205@potentialtech.com> <200210092201.g99M1YTA007964@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 09, 2002 at 03:01:34PM -0700, Matthew Dillon wrote: > Yes, you can put multiple subnets or multiple addresses on the same > subnet on the same physical interface. I do it all the time: > > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 216.240.41.17 netmask 0xffffffc0 broadcast 216.240.41.63 > inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 > inet 216.240.41.21 netmask 0xffffffff broadcast 216.240.41.21 That's what I said.. However, I would never use the above setup if it's supposed to be secure. Anyone with access to a machine in the 41.1-41.62 range would be able to sniff the 10-net, which would not like. (maybe your setup allows for this, but I wouldn't mind the cost of a $6 el-cheapo NIC and a crosscable to get more secure, it's even cheaper than the time spend typing this mail ;-) ). > > There a couple of issues here. First, you have to think of the > physical interface as being two physical interfaces even though > there is really just one. But in the case of two physical interfaces on the same (physical) segment, you get ARP errors. With aliases, you don't. Regards, Paul 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?20021010001956.GA58085>