Yet Another IP Route setup question

Discussion in 'Linux Networking' started by raakjoer, Jun 7, 2006.

  1. raakjoer

    raakjoer Guest

    I have a linux box to be used as a router for a small offsite
    LAN...This box has 3 NICs. One will connect to a DSL modem
    (, another will connect to a T1 point-to-point router
    ( and another will connect to the LAN (

    eth0 -
    eth1 -
    eth2 -

    ip_forward is set to 1 so it can route across interfaces. My intention
    is to get all traffic destined for, to go to
    the T1 router ( That way Active directory, etc. will traverse
    the p2p. all other traffic (regular internet) should pass off to the
    local DSL link ( tried putting in the default gateway
    as and then a route for via
    linux box itself can get to the t1 router and the dsl modem. BUT, if I
    use a client, e.g. I can ping the T1 router ( but
    I cannot ping the DSL modem ( and cannot get to the
    internet.....The client is config'd as with gw am I missing?
    raakjoer, Jun 7, 2006
    1. Advertisements

  2. Did you nat traffic on eth0 ?
    you need this or the DSL modem need to know the route to 10.0.[0123].*
    Philippe WEILL, Jun 7, 2006
    1. Advertisements

  3. raakjoer

    raakjoer Guest

    Thanks, I'll look into how to enable NAT on an interface...Stupid noobie..
    raakjoer, Jun 7, 2006
  4. raakjoer

    raakjoer Guest

    Enabled SNAT on eth0 and worked like a charm. Thanks...Now I just need
    to learn to tweak iptables!! Thanks,
    raakjoer, Jun 12, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.