debian/ubuntu dual wan

Discussion in 'General Networking Discussion' started by atux_null, Aug 12, 2015.

  1. atux_null

    atux_null

    Joined:
    Aug 12, 2015
    Messages:
    1
    Likes Received:
    0
    hello everyone. i do have a pc with 3 NICs that i do run debian 7. i do have 2 DSL connections and i would like to make use of both of them per session. i have seen some solutions but i failed to make them work.
    my network is:
    DSL_1: 192.168.1.1/24 and it is attached to eth1 of the server
    DSL_2: 192.168.2.1/24 and it is attached to eth2 of the server
    LAN:192.168.0.0/24 and it is attached to eth0 of the server
    /etc/network/interfaces
    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet static
    address 192.168.0.1
    netmask 255.255.255.0

    #WAN1
    auto eth1
    iface eth1 inet static
    address 192.168.1.63
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8

    #WAN2
    auto eth2
    iface eth2 inet static
    address 192.168.2.63
    netmask 255.255.255.0
    gateway 192.168.2.1
    dns-nameservers 8.8.8.8


    I have seen the following 2 links:
    -lstein.github.io/Net-ISP-Balance
    -wiki.ubuntuusers.de/Multiple_Uplink_Routing needs google translate


    in both cases i could ping to the Internet only from DSL_1 and not from the other DSL_2. Also if a pc is attached to the eth0 it cannot access anything on the Internet.

    Some help please, anyone?
     
    atux_null, Aug 12, 2015
    #1
    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.