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.
Ok pinged the second computer from the main computer:
I think I got it right but I had to add -b
[mlg@localhost mlg]$ ping -c4 127.255.255.255 -b
WARNING: pinging broadcast address
PING 127.255.255.255 (127.255.255.255) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.096 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.027 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.027 ms
--- 127.255.255.255 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.027/0.044/0.096/0.030 ms
Your pinging a broadcast address, which means it pings every computer in that segment (or in this case the either network)... And the main computer is what is answering, so again the main computer is pinging the main computer....
Did you run the commands in my above post? because the ip address 127.255.255.255 is invalid, anything in the 127.x.x.x rage is consider its self.
Originally posted by NLR { Sorry you posted before me }
You pinged your main computer from your main computer. That output shows that you pinged the IP address 127.0.0.1, that is a loopback address and it how a computer refers to its self.
In simple terms your computer pinged itself. You need to do a ifconfig on your other machine and find where it says inet addr: under eth0 and ping that IP address from your main computer.
Are you using Ethernet? Are you using IPv4 or IPv6?
Andrew
Last question first I'm using ethernet, I think? I've not run across the other two that I know of.
This is the eth0 from my main computer, whats the ip address?
Originally posted by NLR Your pinging a broadcast address, which means it pings every computer in that segment (or in this case the either network)... And the main computer is what is answering, so again the main computer is pinging the main computer....
Did you run the commands in my above post? because the ip address 127.255.255.255 is invalid, anything in the 127.x.x.x rage is consider its self.
Andrew
I havn't got there yet my friend, had to leave the desk for a minute. I'm going to do it now
Originally posted by NLR I have to go for a few hours.... Help when I get back... Sorry
That's cool, I'll be here.
I've pinged the second computer from the first and it's still writing, I'm up to icmp_seq=300 Was didn't use anything except ping, just as you wrote it was I suppose to put another argument like -c4 or something. Don't assume I know better I actually get around pretty good in these things but it takes me some screw up first..
I'm going to ask questions on this endevor so it doesn't take so long.
I'm up past 500 pings I'm guessing I need to find a way to stop the pinging
I did it again the assummed right way from main to second computer:
I'll ping from the second to the main in a minute, have to do the phone thing real quick
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.095 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.097 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.103 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.095 ms
--- 192.168.0.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.095/0.097/0.103/0.010 ms
My floppy drive just went out on the second machine, now of all times. I was using it to copy to so I could get the info on the net. Both machines are pinging each other. The second machine pinged the main computer with similar resuls as the other way around went. If you need to see those results just holler. I'm probably going to put anpther floppy in, I've got plenty, don't know if I've ever had a floppy go bad before.
I'm off to the newest link
I replaced the floppy and I'm back in business. Here's the results from the second ping:
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.118 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.100 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.103 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.095 ms
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.095/0.104/0.118/0.008 ms
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.