Date: Tue, 18 Dec 2001 19:07:13 +0100 (CET) From: Leif Neland <leifn@neland.dk> To: Charlie ROOT <root@hiteknology.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: different subnets, same gateway Message-ID: <20011218185751.Q40422-100000@arnold.neland.dk> In-Reply-To: <20011218115754.K329-100000@hiteknology.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Dec 2001, Charlie ROOT wrote: > > Hey, on my 4.4 machine I currently have 2 nics. From my cable > company I have 2 IP's, both of which use the same gateway (192.68.223.1) > but the two addresses are on different subnets, one on 192.68.223, and the > other on 192.68.224. You could ask the cable company to give you another ip in the right subnet. As these ip's are not routable outside the cable company, they should have no trouble giving you two ip's in the same C-class (/24). Or, if you can change the netmask of the router, change it to 255.255.252.0 (also on the nics) then everything will be in the same subnet > I can't manage to make any connections from my box > using the address on the later subnet, it always connects from the address > on the same subnet as the gateway. And when trying to use just one of the > nic's with the address not on the subnet of the gateway, I get a 'network > unreachable' when adding the default route. > Anyone know how I can get one > of these nics up and running so that I can make connections to the outside > using my second IP? Thanks. Why do you need two IP's when the IP's are not visible from the outside? Or are you lying and 192.168 is not the real IP's? Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011218185751.Q40422-100000>