On 5/24/07, William Xu <[EMAIL PROTECTED]> wrote:
Hi all,
I have got some problem setting up the routing table. Currently, the
table is,
,----[ netstat -nr ]
| 10.1.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1
| 166.111.210.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
| 0.0.0.0 166.111.210.1 0.0.0.0 UG 0 0 0 eth1
`----
eth1 is in a local network, i have to first connect eth1, then i can
connect ppp1. And via ppp1(a vpn network), i can go out of the local
network.
The problem is that within current table, the default gateway has fallen
into eth1, but i can't go outside through eth1. While, if i make ppp1 be
the default gateway, i can go nowhere, since ppp1 depends on eth1.
How i can solve this problem? (one workaround i'm using is by adding
host/network based routing enty one by one..e.g.,
,----
| sudo route add -net 209.85.139.0 netmask 255.255.255.0 dev ppp1
`----
Hello:
Does the VPN server have a static IP?
If so, you can route the VPN on the eth1 and leave de 0/0 GW to ppp1
(I had something like these at home).
--
Atentamente, yo <Matías>
Y sin fumar desde (casi) el '1089515700'
http://www.nnss.d7.be
Let one walk alone, commit no sin,
with few wishes, like an elephant in the forest