From owner-freebsd-questions Tue Oct 19 16:53:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134]) by hub.freebsd.org (Postfix) with SMTP id 349D2181A0 for ; Tue, 19 Oct 1999 16:53:21 -0700 (PDT) (envelope-from barrett@phoenix.aye.net) Received: (qmail 23391 invoked by uid 1000); 19 Oct 1999 23:56:44 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 19 Oct 1999 23:56:44 -0000 Date: Tue, 19 Oct 1999 19:56:44 -0400 (EDT) From: Barrett Richardson To: FreeBSD -- The Power to Serve Cc: Jason , questions@freebsd.org, isp@freebsd.org Subject: Re: quick gated questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 19 Oct 1999, FreeBSD -- The Power to Serve wrote: > > > On Tue, 19 Oct 1999, Barrett Richardson wrote: > > > > > On Mon, 18 Oct 1999, Jason wrote: > > > > > what would I use to have multiple subnets accessible on one > > > machine? I have gated, but not quite sure how to do this.. I > > > want all traffic flowing to and from 205.252.42.x to go through one > > > router and all traffic going to and from 208.45.16.x going through > > > another, I have multipl interfaces/cards in the machine and setup > > > > Assuming class C networks and you aren't running a routing protocol: > > > > rip no; > > > > static { > > default gateway x.x.x.x; > > 205.252.42.0 masklen 24 gateway y.y.y.y; > > 208.45.16.0 masklen 24 gateway z.z.z.z; > > }; > > > > Oh, I'm sorry :).. > the 205 is 5 ips > the 208 is 32 ips > > and, I tried with closest masklens, and 208 worked, but 205 didnt.. you > see, there are upstream filters on the SDSL (which is the 208 subnet) > which prevent spoofing.. And it's not really spoofing, we just have > multiple connections that we're trying to use on one machine.. If you can > understand this, what i'm really looking for is for sort of 2 default > gateways.. > > it should be like this. > > 208.45.16.x (xl0) should have a default gateway of 208.45.16.249 > 205.252.42.x (ed1) should have a default gateway of 205.252.42.97 > .. > > Remember, they *ARE* on seperate interfaces, so I see no reason why this > shouldn't be possible one way or another, either with gated, or without, > or however :).. I know you can do this in IRIX and i *think* linux ;) > > So, it should be possible on bsd.. however, how, is the hard question :) > > Does anyone see how this would be possible? > > Thanks in Advance! > > Jason DiCioccio If they are attached subnets, you shouldn't need any static routes all. - Barrett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message