From owner-freebsd-questions Tue Dec 18 10: 5:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from arnold.neland.dk (0x3ef34d8c.albnxx2.adsl.tele.dk [62.243.77.140]) by hub.freebsd.org (Postfix) with ESMTP id 7360237B427 for ; Tue, 18 Dec 2001 10:05:34 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.6/8.11.6) with ESMTP id fBII7Dt46782; Tue, 18 Dec 2001 19:07:13 +0100 (CET) (envelope-from leifn@neland.dk) Date: Tue, 18 Dec 2001 19:07:13 +0100 (CET) From: Leif Neland To: Charlie ROOT Cc: Subject: Re: different subnets, same gateway In-Reply-To: <20011218115754.K329-100000@hiteknology.net> Message-ID: <20011218185751.Q40422-100000@arnold.neland.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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