*** EDIT: sorry for the nondescript thread title, I never finished typing the full Subject before I posted. ***
I recently set a linux box up with a static IP, since it's being used as an internal dev server for our small company's solutions running on linux/apache. Ever since I switched it from DHCP to static, I can't access any IP outside of our local network.
Here is the output of
ifconfig -a:
Code:
eth0 Link encap:Ethernet HWaddr 00:10:5A:0A:12:5A
inet addr:192.168.14.22 Bcast:192.168.14.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1921766 errors:0 dropped:0 overruns:0 frame:0
TX packets:662386 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:359983145 (343.3 Mb) TX bytes:247998549 (236.5 Mb)
Interrupt:11 Base address:0xdf00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:50453 errors:0 dropped:0 overruns:0 frame:0
TX packets:50453 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15074933 (14.3 Mb) TX bytes:15074933 (14.3 Mb)
Here is my
resolv.conf:
Code:
nameserver 192.168.14.14
nameserver 206.141.192.60
nameserver 206.141.193.55
Here is my
hosts file:
Code:
127.0.0.1 linuxweb.mydomain.com linuxweb
Even though I've been using linux for several years, this is my first experience with static IPs, so I'm a bit of a n00b at this. If there are any other config files I should check, let me know.
Thank you,
Erik