Alright, I'll try to explain as best I can what's going on here - I'm relatively new to Linux, but I am familiar with networking.
I'm setting up an old work box as a home-based web server. I started setting it up at the office, and was puzzled that it wouldn't take my static IP - instead, it would receive a DHCP address. No problem, I thought - I'll sort that out at home.
Now that I'm at home, I can't even get it to take a DHCP address within the scope of my home network. I've been through post after post looking for a solution over the past week, all to no avail. In fact, the only times I've been able to see the internet from this thing,
ifconfig and the NM GUI have reported the machine as having an IP that looks an awful lot like my external Comcast IP ... which I don't even understand.
I'm not sure what all people might want to see for diagnostic purposes, but I'll post the contents of
ifconfig for you to start, even though it's all going to reflect the static address that doesn't work. I'll change it around again if anyone would like to see that - I must have changed
true and back again a hundred times. Anything else you need, please ask!
Just to be clear, the ultimate goal here is to sit this guy at a static address (my preference is 215, just fyi) on my LAN and to set up port forwarding so I can SSH into it remotely and hit it from the web using a domain I have sitting around.
Thanks again for your help!
# Loopback auto lo iface lo inet loopback # Primary auto eth0 iface eth0 inet static address 192.168.1.215 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 126.96.36.199 192.168.1.1
[main] plugins=ifupdown,keyfile dns=dnsmasq [ifupdown] managed=true
inet addr:192.168.1.215 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 (all the packet info is 0) Interrupt:21 Memory:f7fe0000-f8000000