Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 5 of 5

Thread: Ubuntu 11.04 1 NIC to LAN 1 NIC to a 3g router. How to make the internet work?

  1. #1

    Default Ubuntu 11.04 1 NIC to LAN 1 NIC to a 3g router. How to make the internet work?

    Hi,

    I am currently trying to test connection speeds in my area between Vodacom, CellC and 8ta to see which is faster and more stable.
    Only problem is I have no idea how to set up Ubuntu to use the 3g router as the internet connection.
    I am also trying to keep it as close to our proxy server's settings as possible so that once it is set up I can go test it there with each sim.

    How do I go about setting this up?

    I have tried the following (ip's are changed from what I am using) but when I connect the router it prevents me from connecting to the LAN and I still can't get onto the internet.
    The router is already configured to run on vodacom and 3g is active and working.

    Router IP

    LAN (NIC 0)
    IPv4> 111.111.0.11
    Subnet> 255.255.255.0
    Gateway> 111.111.1.1
    DNS> My DNS servers IP Addresses (eg 111.111.0.3 111.111.0.6)
    Search Domains> Windowsdomainname.local

    3g Router (NIC 1)
    IPv4> 111.111.1.11
    Subnet> 255.255.255.0
    Gateway> 111.111.1.1
    DNS>
    Search Domains>
    Routes> Use this connection only for resources on its network is ticked (no actual routes specified).

    How do I get this to work?

    Thank you in advance

  2. #2

    Default

    NIC0 is on a different subnet than the gateway and NIC1

    you need to route between them..

    something like (off the top of my head): route add net 111.111.0.0 netmask 255.255.255.0 gw 111.111.1.1 dev eth0 (or whatever device NIC0 is)

  3. #3

    Default

    Actually managed to get both working at the same time without causing hassles, still trying to get internet to go through the 3g router though.

  4. #4

    Default

    Quote Originally Posted by stricken View Post
    NIC0 is on a different subnet than the gateway and NIC1

    you need to route between them..

    something like (off the top of my head): route add net 111.111.0.0 netmask 255.255.255.0 gw 111.111.1.1 dev eth0 (or whatever device NIC0 is)
    Tried that in terminal and it did not like the command (1.1 dev eth0
    net: Unknown host)

    Tried adding it via the edic connections button, NIC0>Routes as follows:
    Address 111.111.0.0
    Netmask 255.255.255.0
    gateway 111.111.1.1 But this made no difference.
    Both Networks are running but no internet.
    Last edited by AstroTurf; 30-08-2011 at 02:35 PM.

  5. #5

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •