Results 1 to 3 of 3
I setup a server last night and was able to remotely connect to it and access the internet with it. However, now that I have setup /etc/network/interfaces so that the ...
- 01-22-2011 #1
Server setup with static IP not accessible and cannot access internet
I setup a server last night and was able to remotely connect to it and access the internet with it. However, now that I have setup /etc/network/interfaces so that the server will have a static IP address, I cannot access the server remotely. Also, from the server itself, I cannot access the internet. Ping provides "unkown host" for any website I try. How do I fix this?! I don't know why this is happening.
Here is my interfaces file:
This is the only NIC on the server. Here is ifconfig:Code:... #The primary network interface allow-hotplug eth0 # also tried with and without auto eth0 # auto eth0 iface eth0 inet static address 192.168.133 netmask 225.225.225.0 gateway 192.168.1.1
Code:eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet addr: 192.168.1.133 Bcast:192.168.1.225 Mask:225.225.225.0 UP BROACAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txpueuelen:1000 RX bytes:0 (0.0 B) TX bytes: 0 (0.0 B) Interupt: 29 lo ....
Last edited by flipjargendy; 01-22-2011 at 05:46 PM.
- 01-22-2011 #2
Okay, that was stupid. From now on I will only be using a subnet mask of 255.255.255.0 instead of 225...etc.
- 01-26-2011 #3
IP Address looks odd too unless that's a shorthand notation?
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


Reply With Quote
