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

PPPs routing



        -                                     -
        |                                     |
        |   192.168.200.1     129.168.100.1   |
        |   /-----\                 /-----\   |
        |   |     |ppp0   //    ppp0|     |   |
eth0    |---|  A  |------//---------|  B  |---| eth0
192.    |   |     |     //          |     |   | 192.168.3.1
168.4.1 |   \-----/                 \-----/   |
        |                              |      |
        -                              |      -
                                       |
                                 ppp1 --- pppoe
                                  200.165.*.*

      Hi all,
      I have to Debian GNU/Linux servers installed (A and B).
      I configured a leased line between (ppp0 each side).
      They have an eth0 interface for local network.
      When I start ppp1 using pppoe (ADSL) I have to delete the default
route to internet that is created automatically, so ppp works and then
add this route (but not as default) so all works.
      How to automate this process?
      with routed? bash scripts?
      TIA,        Paulo Henrique



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: