Date: Sat, 11 Sep 2004 21:41:16 -0400 From: Bob Ababurko <ababurko@adelphia.net> To: freebsd-net@FreeBSD.org Subject: RE: gateway for separate networks Message-ID: <5.2.1.1.0.20040911214032.01bfbbd8@mail.dc2.adelphia.net> In-Reply-To: <OCEGLFACMGOKINMEOKANGEKEDJAA.mitch@bitblock.com> References: <5.2.1.1.0.20040911194241.01c0e928@mail.dc2.adelphia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I should have been more descriptive in describing what I need. I have two networks that are routed to me via a serial connection, namely a T1. I have just installed a new router and it has two ethernet ports that will route to the two different networks. What I want to do is have a single machine have two routes to the Internet, but each NIC going through its respective network...one is a /24 and the other a /28. So, i would think that this would require that "fancier setup", due to the fact that I want traffic going out each nic to go through its networks gateway. Now, what is this fancier setup? /bob At 05:01 PM 9/11/2004 -0700, you wrote: >Assuming the second nic is used for it's own private subnet, and not a >second route to the internet (which would require a much fancier setup ;-) >you don't need to do anything except add the interface, configure it, and >adjust any firewall rules to allow whatever access you need. > >Any services you are running on the box that SPECIFICALLY listen to a >certain address may be changed to listen on all addresses or to add this new >address if needed. > >hth. > >m/ > > > -----Original Message----- > > From: owner-freebsd-net@freebsd.org > > [mailto:owner-freebsd-net@freebsd.org]On Behalf Of Bob Ababurko > > Sent: Saturday, September 11, 2004 4:49 PM > > To: freebsd-net@FreeBSD.org > > Subject: gateway for separate networks > > > > > > Hello all- > > > > I want to install another NIC in my box running 5.2.1 to > > access another > > network. Since I have never done this before, I have a question > > about the > > gateway that the second NIC will use....more specifically, where do I > > configure the gateway for the second NIC. I have the > > defaultrouter in the > > rc.conf file for the first, do I do the same or do I add routes to tackle > > this. If someone could show me any resources on the web that deals with > > this,that would be great. > > > > thanks, > > Bob > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.1.1.0.20040911214032.01bfbbd8>