networking - ping -s values on Windows NT 6
2014-07
Windows NT 6 (Server 2008 R1 32-Bit) offers
-s Count : Specifies that the Internet Timestamp option in the IP header is used to record the time of arrival for the Echo Request message and corresponding Echo Reply message for each hop. The Count must be a minimum of 1 and a maximum of 4
Setting the value of
- 1 → Timestamp: Milliseconds since Midnight, UTC Time
- 2 → 2 Timestamps: First one from when ping recieved, second from reply sent
- 3 → seemingly same as 2
- 4 → seemingly same as 2, 3
Question:
- What do the values in
ping -s VALUES
define? I don't see any difference between the output
When you use -S option, your outgoing ICMP echo request packets are sent out with with the IP timestamp option, more precisely with IP timestamp and flag 1, meaning each router along the path of your ICMP packet inserts it's IP+TIMESTAMP in a special zone of the IP header. There is room for only 4 IP:TIMESTAMP pairs in the header, hence the limitation to 4 hops in the ping -s command.
The standard timestamp that gets added by a router when this option is activated, is the number of milliseconds past midnight (UTC).
Each router on the way calculates timestamp with based on it's own date/time.
I can't ping the guest from the host.
Doing an ipconfig
, it seems that there is no default gateway.
If it is a VMWare problem, the only way I could see it being a problem is with a NIC setting issue. Make sure that the NIC is set to Eth0 in the VM settings.
Other than this, you may want to check your TCP/IP settings on the guest machine to make sure that they are set correctly.
Check IP addresses (DHCP) and VMware Network adapter settings.
If you can't find anything suspicious, include all that info in your post.
Windows firewall was on!! now fixed.