Re: Routing?


Subject: Re: Routing?
From: Barry Sparenborg (sparenborgb@directvinternet.com)
Date: Fri Mar 15 2002 - 21:08:01 MST


on 3/15/02 4:29 PM, mike cullerton at yellowdog@cullerton.com wrote:

> --On Thursday, March 14, 2002 6:13 PM -0600 Barry Sparenborg
> <sparenborgb@directvinternet.com> wrote:
>
>> Well after several months wait, i finally got my ADSL line And gateway.
>> Everything works great. I have my linux server routing, masqerading and
>> firewalling to the internet. now i need to add a ppp interface to dial
>> into my work network to a dial-up server. The dial-up server at work
>> will issue a ip address (dynamic). The network at work also has a gatway
>> through a T3 line to one of our other facilities that i will need access
>> to. How will I be able to route this through my linux box. I have the
>> ppp conection working and understand some routing but i could use a
>> little help with this. will i be able to masq through both my ppp and
>> ethernet connection? I will need to use masq because my ip addresses at
>> home are 192.168.xxx.xxx and the network at work is 172.16.xxx.xxx
>
> hey barry,
>
> if i understand you correctly, you have a connection to the net over adsl
> that is working fine. now, you also need to dial into your work network.
> you will need to use the dialup work connection to access the t3 to the
> other work facility. all while using dsl for general net traffic.
>
> do you have a lan that the linux box is a gateway for, or is the linux box
> your whole network? does adsl connect directly to the linux box or to your
> lan?
>
> i think this is just a matter of keeping your ethernet connection as your
> default route and then adding a couple static routes forcing the work
> traffic over the dialup
>
> -- mike cullerton yellowdog at cullerton dot com
>
Mike,

Yes my linux box has 2 ethernet cards on connects my small internal lan of 5
machines and the other connects to my adsl gateway (modem). i have a static
ip address from my dsl provider. my routing table has eth0 as the host
address for the dsl network and my default gateway is the dsl gateway
address. Eth1 is my internal network. i think i can get the static address
route figured out but what am a little fuzzy on is weather or not i'll be
able to masq packets that go through both the default route and the route to
the ppp connection.

Thanks,

Barry.



This archive was generated by hypermail 2a24 : Fri Mar 15 2002 - 21:23:04 MST