Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, im trying to set my ubuntu 9.04 install to only log onto one IP from my router. I want to set up port forwarding so i can remote ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    5

    Static IP Problems

    Hi all, im trying to set my ubuntu 9.04 install to only log onto one IP from my router. I want to set up port forwarding so i can remote desktop into it from outside the network. When i go to edit connections on the network symbol at the top of the page select my wired connection and then edit. Ive changed the settings to manual and entered all the correct details into the boxes (i know there correct because this works fine my windows comp) however in the gateway section, whenever i enter my gateway 192.168.1.1, it just defaults automatically back to 0.0.0.0 as soon as i click the apply button, and obviously theres no connection at all. I was wondering if anyone else had come against a similar problem?
    thanks

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I'm not sure about the networkmanager problem, but there are a couple of ways to work around it.

    1. Install the WICD network management program. (It's not quite as pretty, but I find it works much better.)

    2. If you're only connecting to this one network, you don't really need a network management program. You could ditch it altogether and set up your connection in /etc/network/interfaces

  3. #3
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Most routers hand out IP addresses via an internal DHCP server. Setting up static IP's and routes would normally be done in your router, not at the server. You computer should remain acquiring an address via DHCP, and the router should be told what address to give your computer based on its MAC address.

    Every brand of router is different, but most modern home routers are configured through your web browser, something along the line of http://192.168.1.1/

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    I agree with d-cat, almost all routers can let you reserve an IP based on a specific mac address, and usually its only a few button clicks to do this.

Posting Permissions

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