Date: Tue, 19 Oct 1999 19:56:44 -0400 (EDT) From: Barrett Richardson <barrett@phoenix.aye.net> To: FreeBSD -- The Power to Serve <geniusj@phreebsd.org> Cc: Jason <geniusj@suarez.bestweb.net>, questions@freebsd.org, isp@freebsd.org Subject: Re: quick gated questions Message-ID: <Pine.BSF.4.01.9910191953590.20391-100000@phoenix.aye.net> In-Reply-To: <Pine.LNX.4.10.9910191618340.3832-100000@phreebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9910191953590.20391-100000>