Results 1 to 2 of 2

Thread: Networking help

  1. #1
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Networking help

    I need help in setting up my ubuntu network, I have different gateway other than the IP of network, when i try to add route i see SIOCADDRT: No process . The same thing work for Fedora, suse and Redhat but not in Ubuntu.
    Please help me to get out from this.
    Thanks!!




  2. #2
    Join Date
    Jan 2012
    Posts
    124
    Thanks
    0
    Thanked 10 Times in 10 Posts
    Rep Power
    2
    The easiest way to do this is to edit the networking config file:

    Run the following command: sudo nano /etc/network/interfaces

    Find your adapter (should be eth0 or wlan0 depending on if you're hard-wired or wireless), for example: iface eth0 inet static

    Edit (or add in if it doesn't exist) this line: gateway [gateway ip]

    So, if your gateway IP is 10.0.1.1 then you'd put in gateway 10.0.1.1

    Next, save and restart the networking services: /etc/init.d/networking restart (or /etc/init.d/network)

    Note, you might have to chmod 400 the file so it's read-only, but this is only if the above steps get changed by Ubuntu's network management setup.

    To test to see if this works, try to ping the gateway. If pinging works, run the following command: route -n and you should see the gateway IP listed.
    Information Server Management
    Linux server management, PCI consultation and affordable web hosting.

    Security For Us - Where security works for you

    Providing server security and PCI compliance for individuals and businesses.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 12-28-2011, 08:19 AM

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
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,582
Threads: 3,920
Posts: 9,447
Top Poster: Fred (1,486)
Welcome to our newest member, harfa

» Links



Powered by vBadvanced CMPS