[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routing table setup

Hi all, 

I have got some problem setting up the routing table. Currently, the
table is, 

,----[ netstat -nr ]
| UH        0 0          0 ppp1
|   U         0 0          0 eth1
|         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

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 netmask dev ppp1


Reply to: