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.
When we use ping, the option -i is referred as the interval time between sending each packet..
Is this interval is the same as 'Inter Frame Gap(IFG)'?? As far as I have heard, IFG is introduced in the Physical layer. So using this option can we really change the Inter Frame Gap??
If I use 'ping -i 0' which means that the interval is 0, I still get some value of 18.3 or somethin as ipg in the ping output.
So IFG and 'ping -i' are same or not??
-i is the sending interval. That's all. You specify 2, the pings are started at 2 second intervals.
However, if you specify -i 0 (with a specified count i.e. -c 5 so you don't cause a proper flood), then ping will work out and report the ipg to you as it's trying to send all five ping packets at once.
Quote:
$ ping -i 1 -c 5 <host>
PING <host> 56(84) bytes of data.
64 bytes from <host>: icmp_req=1 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=2 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=3 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=4 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=5 ttl=64 time=0.000 ms
--- <host> ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 0.000/0.000/0.000/0.000 ms
Quote:
$ ping -i 0 -c 5 <host>
PING <host> 56(84) bytes of data.
64 bytes from <host>: icmp_req=1 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=2 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=3 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=4 ttl=64 time=0.000 ms
64 bytes from <host>: icmp_req=5 ttl=64 time=0.000 ms
What is meant by the time in Bold? Does it mean the total time for which the ping packets are transmitted?
The IPG value is shown in the output. Why does the IPG value change when it is said that it is constant for a interface with a particular speed?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.