gateway for separate networks
Bob Ababurko
ababurko at adelphia.net
Sat Sep 11 18:41:28 PDT 2004
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 at freebsd.org
> > [mailto:owner-freebsd-net at freebsd.org]On Behalf Of Bob Ababurko
> > Sent: Saturday, September 11, 2004 4:49 PM
> > To: freebsd-net at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> >
More information about the freebsd-net
mailing list