Results 1 to 2 of 2

Thread: help with server not connecting to net

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Beans
    7

    help with server not connecting to net

    Hi, I'm a little new to linux and networking. I have a small server that I want to use as storage for my home network. I have a wireless router acting as a bridge that is getting wireless signal from our main router in the home and turns the signal into wired for my network. I have a 8 port switch hooked to the router which all my computers are connected to. Everything works fine if I just use DHCP. But when I set my server to a static IP it won't connect to the internet. I can ping the server from other computers. I want this server to be accessible outside the network. I'm running Ubuntu Desktop 11.04. Diagram of my network:

    Main_wireless_router~~~~Bridge---Switch---Server_and_Computers

    Just to see if my network settings are correct:

    Server IP - 192.168.1.148 (got this from when it was DHCP).
    The rest I got from another computer on the network which can access the internet:
    Netmask - 255.255.255.0
    Gateway - 192.168.1.1

    I've tried all the ifdown, ifup, and putting the settings in the interfaces file. Won't let me get on the net. Switch it back to dhcp and it works just fine. Please help.

  2. #2
    Join Date
    Mar 2009
    Beans
    34

    Re: help with server not connecting to net

    Hi,
    problem can be in DNS settings, DHCP server assigns you DNS automatically. Check your /etc/resolv.conf. You can determine if this was the problem by ping to some known IP, eg 8.8.8.8 and some url.

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
  •