Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think I figured out what was causing my problem here (something about an error in one of the primary libraries - that'll teach me to go updating to unstable stuff!) but now I've got a new one, and I'm certain that they're not related:
I couldn't be bothered to fart-arse about trying to sort out the library error considering the whole thing would fall over at seemingly random times, so I simply opted for a spring clean reinstall.
I can now, however, not access anything network related. I cannot ping anyone, not my gateway nor the machine that is sitting next to it (the one that I'm typing this on). The lights on the NIC itself are on and flashing, the lights on the switch are on and flashing, the correct modules are loaded, the correct settings have been applied (static IP, correct netmask, correct gateway IP, correct dns, the lot) and yet I cannot ping anything (except loop).
A normal ping from this box looks like:
Code:
PING 192.168.0.1 (192.168.0.1) from 192.168.0.15 : 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.823 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.800 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.793 ms
--- 192.168.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% loss, time 2014ms
rtt min/avg/max/mdev = 0.793/0.805/0.823/0.026 ms
however, a ping from the non-working box looks as such:
Code:
PING 192.168.0.1 (192.168.0.1) from 192.168.0.14 : 56(84) bytes of data.
From 192.168.0.14 icmp_seq=1 Destination Host Unreachable
From 192.168.0.14 icmp_seq=2 Destination Host Unreachable
From 192.168.0.14 icmp_seq=3 Destination Host Unreachable
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 received, +3 errros, 100% loss, time 3027 ms
, pipe 3
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
For my non-working machine:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
As you can see, they are exactly the same, yet I can ping my gateway from this machine and yet I cannot from the other, and I can't ping eachother (i.e. 192.168.0.14 cannot ping 192.168.0.15, nor vice versa).
Hehe! A little invasive surgery with a multi-meter has told me what the problem was - a loose connection on one particular RJ45 port on my switch. I've now swapped this particular cable over to another port and all is fine with out a hitch... for now
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.