Results 1 to 2 of 2

Thread: Changing rules of ip routing

  1. #1
    Join Date
    Dec 2010
    Location
    IR, Teh
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Lightbulb Changing rules of ip routing

    Hi everybody,
    I have two network with three connections:
    1th. Wireless Connection. -> In order to connecting to WorldNet [Name: ra0]
    2th. Wired Connection 1. -> In order to connect to other computers ( may be remote virtual computers ) [Name: eth0]
    3th. Wired Connection 2. -> In order to connect virtual computers directly ( set the Virtual Box settings to Bridge to this )[Name: eth1]
    Now, I need to connect to my virtual servers through eth0 locally as I connect to WorldNet through ra0.
    In other words, I want to browse local virtual servers and worldNet at the same time.
    Note that I have changed wired DHCP ip begining and getway to 192.168.2.2 and 192.168.2.1 respectively.

    Thanks in advanced.
    Last edited by smss; May 5th, 2014 at 02:37 AM.

  2. #2
    Join Date
    Dec 2010
    Location
    IR, Teh
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Changing rules of ip routing

    Ok, I Solve it.
    Just by
    Code:
     ip r
    I see to how ip r work in different situations and I replace the default routing row with this code
    Code:
    sudo ip r change default via `IP` dev ppp0  proto static
    and it solved.
    Thanks in advanced, smss!

Tags for this Thread

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
  •