Hosts with multiple addresses Multi-homed hosts Hosts that have more than one network interface usually have one Internet address for each interface. Such hosts are called multi-homed hosts. For example, dual-stack hosts are multi-homed because they have both an IPv4 and an IPv6 network address. LSF identifies hosts by name, so it needs to match each of these addresses with a single host name.
One of the simplest is to use the built in Windows Ping utility to ping another computer because it can quickly help determine if there is a connection between the host and a remote computer. Not only can it help you identify local network issues, the Ping command can also be used to test the uptime of a remote IP address, server or website.
Although powerful enough for most uses, one option missing from the Window Ping tool is the ability to include a time and date so you can see what the response from the destination is and the exact point in time it was received, which is useful if you want to continuously ping over a prolonged period.
In the screenshot above, you can see Windows Ping does not show the date and time in the ping results. Here we show you 6 ways to timestamp pings as well as sending a continuous set of ping results to a text file, make sure to run Command Prompt or batch files as Administrator to avoid issues.
The hrPing tool itself is one of the most advanced of its type and allows you to configure just about anything you want with regards to what you ping, how often you ping it and when.
There are around 40 different command line arguments available so reading the documentation is recommended. Luckily you only need a few of the available arguments to ping with a timestamp and optionally send the results to a text file.
Use -t to loop the ping until you manually stop it, -T adds the time and date stamp while -F [filename] allows saving the output to text file include -q to output only to file. An additional argument of -gg will open a separate window with a small graph of ping response times, useful if you have particular interest in the speed of the ping responses.
Fping For a bit of fine grain control over how and what data to send in a ping, Fping is a good choice because it has quite a few options to configure the process for custom pinging. These range from pulling a list of hosts from text file, using ICMP or RAW socket ping to supplying the amount and content of the data for the ping.
Arguments for basic time stamping of the ping command are easy to understand, add a time to the command by using -T, -D will also include the date.
A tool called VPing is available on the website that has a user interface so you can ping from several hosts at once in a window, although it only works on bit Windows. PingInfoView PingInfoView by Nirsoft is a little different to the other tools because it works from a graphical user interface.
This makes it easy to spot ping errors more quickly if you are actively monitoring and watching for issues because they will show up in the user interface as red entries.
On launch PingInfoView will popup a window where you can add one or a number of addresses to monitor, the ping timeout and the repeat rate default is to ping every 5 seconds. Press OK and the main window will show. Click on a host in the top pane to show the the individual time stamped ping results at the bottom as they come in.
When you have finished monitoring press the Stop button on the toolbar.
Bping By default Bping will give an audible beep or use a custom WAV file every time it pings and receives a reply, which is useful if you are testing and not looking at the screen. If the Bping output is being redirected to a file, it can be left to beep or you can turn it off.
It can also scan for and show other computers on the network with the option to show freely available IP addresses.
To add a timestamp to the command use the -u argument, -q will disable the beep if you find it annoying. Bping will ping Google DNS 8.
Simply use pingwiz [hostname] and it will add the time and date with pinging the host four times. A manual redirection to an output file is required. Windows Ping Command Although the Windows Ping command has no built in function to date and timestamp the result of each ping, with a bit of effort you can get it to do that, handy if you specifically need to use the Windows Ping command.
The following was found on StackOverflow and looks complicated but seems to work quite well. There are of course variations of inserting the time and date into the Windows Ping, if you know of a better way to implement the command then please let us know.
You might also like:Can you help me create a continuous ping test batch file with date? Create a ashio-midori.com file with the code starting with "@ECHO OFF". You will be able to use the file by launching the Command Prompt and typing pingtest ashio-midori.com logfile Where "ashio-midori.com" can be replaced with a site or IP address of your choice; "logfile" is a name for a log.
Purpose. This simple batch script takes a text file list of hostnames and performs a ping against each system.
It enters the results to a new comma seperated file that can be opened in Excel. Sometimes it's easier to show an example DOS batch file than to explain the general case.
Quickest way to ping multiple IP addresses Angry IP Scanner. This program will ping your specified IP addresses, domain in a window, also display hostname and ports open.
Quick and easy to use rather than separate cmd windows all over the place. Batch file: Ping IP’s in a range and IF successful run following command As normal this script can have a lot of applications.
In my case I was having some issues with computers getting updated in DNS correctly during a major system upgrade. Aug 16, · Basically you use the below in a batch script with your ip addresses and modify to show the name, ip, or both of what you want in the output.