Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Ping From Specific IP Address

I have a server with multiple NIC's assigned with different IP addresses:

192.168.1.20
10.10.10.5

How do i ping a remote computer using either of the above addresses?
0
Avatar261
Asked:
Avatar261
1 Solution
 
selvolCommented:
You don't.

Selvol

hey are both private IP ranges, and are not routable across the internet.

 192.168.xxx.xxx
 10.xxx.xxx.xxx


 Above are the ranges that have been setup for private use. That means that this IP address can be used many, many times in private networks, but data from (or to) that IP address will not be routed over the Internet, so it won't work.
0
 
JustinCommented:
Hi avatar261,
I'm assuming that by remote you mean on your LAN. If you have both NICs activated, and you ping an ip address from that particular machine that hosts the NICs, you should just run the ping as normal, and windows will work it out itself and return the result. I know this works on a win7 machine, but I can't test it on server 2008 as I can't remote access it ATM.
Try it, and let me know how you go.
0
 
Damag3dCommented:
Hi avatar261,

Basically your routing table will determain which interface your traffic will traverse. If you fire up a command promt and type route print and hit enter you will see your Ipv4 routing table.

If you want to send you ICMP traffic through 10.10.10.5 add a route similar to this;

route ADD 0.0.0.0 MASK 0.0.0.0 "gateway address for that subnet" 10.10.10.5

Just remember to remove it or all traffic will go through that interface until you reboot.

Cheers,

D
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Damag3dCommented:
Hi avatar261,

Did this solve your issue?

Cheers,

D
0
 
Avatar261Author Commented:
Hi,

Yes i found the solution through ping.

Ping  –S “your source address”  “destination address”

Regards

Andy
0
 
Seth SimmonsSr. Systems AdministratorCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now