RE: gateway for separate networks

From: Bob Ababurko (ababurko_at_adelphia.net)
Date: 09/12/04

  • Next message: Charles Swiger: "Re: gateway for separate networks"
    Date: Sat, 11 Sep 2004 21:41:16 -0400
    To: freebsd-net@FreeBSD.org
    
    

    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"
    > >

    _______________________________________________
    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"


  • Next message: Charles Swiger: "Re: gateway for separate networks"

    Relevant Pages

    • Re: Question on single host with mutiple subnets/gateways
      ... >> netmask and network routes, traffic should not go to default gateway ... > Sorry for my unclear description, here's the current routing table. ... This looks correct "if these are separate networks", ...
      (comp.os.linux.networking)
    • Re: Multiple default routes on multihome host
      ... Please note that the variety of solutions presented recognize that your transition period is just that, a temporary situation, and that "multiple default routes" is not the solution. ... The argument that functionality "should not" be present because people "should not" run their networks that way carries no water -- particularly so when issues of wireless presence and ad-hoc networks blow the old assumptions out of the water. ... I know people want to be able to plug in a pair of itty bitty routers and just have their computers be smart enough to use the "best" one, but it's not clear the implementations they are pushing us towards -- Linux and Windows -- actually accomplish that. ...
      (freebsd-net)
    • RE: [fw-wiz] Multiple world connections into PIX
      ... The capability for multiple routes is there for redundancy only, ... routes to outside_1 and outside_2 for the hosts that you wanna send there. ... I've run into an interesting problem on a PIX 515. ... "World" networks are real addresses. ...
      (Firewall-Wizards)
    • Re: Routing
      ... >i can ping all networks from the client, ... go down the PPTP tunnel first, heres what I do on Windows XP: ... Then you'll need to add routes for the windows client for your other ...
      (Debian-User)
    • Re: routing problem
      ... They are all separated networks. ... How I would set up my rc.conf with my static routes? ... Yes, I have IPFIlTER installed, but if I would want to everybody ping to ... the real scenario I have is this. ...
      (freebsd-questions)