I have a Debian box, and for some reason today it can't connect to my network. The router uses the address 192.168.2.1 and the Debian box uses 192.168.2.51. This has always worked, but for some reason it can't ping to any host and can't be pinged by other hosts. Pinging to 127.0.0.1 does work, so the IP stack is working fine. Also tried a different address and DHCP, to no avail. I do notice that while booting up, it shows the message "Starting MTA", and keeps waiting at that message for about 20 seconds. What could be the cause? Both the network adapter and the cable appear to be working fine, because I've tested them in other systems. What could be the cause?
Can you please post the output of /sbin/ifconfig, /etc/network/interfaces, netstat -rn, lspci, and dmesg? It might be best to output these to text files, tar the results and post them as a single attachment. Also, if you have a mixed static / DHCP network scope, is it possible that something else has grabbed the IP you're expecting? An IP collision could definitely explain the symptoms.
I just found out what caused the problem. I've changed the Network IDs of the network the day before and forgot about that today. So I've been forcing it to use the wrong network by mistake :doh::doh: I really feel stupid now, told my colleagues to make notes of this change. Guess who didn't make any notes? Me