probably a noob question: how do I ping two ports on a switch from two separate NICs

RU482

Lifer
Apr 9, 2000
12,689
3
81
let me elaborate a little.

I've got a server with a two port 1-gig NIC, and a two port 10-gig nic. I've got Cat 6 cables running from one of each port to a switch that has 24 1-gig ports and 8 10-gig ports, plugged into the corresponding ports.

I'm running Windows 8.1 Enterprise on the server box.

How do I go about running a ping test from both the 1-gig port to the switch, and the 10-gig port and the switch from one server?

Can it be done with 8.1 Ent? Or do I need to load a different OS.

Just trying to match a test parameter set by a customer...I know enough to know it is ridiculous
 

VirtualLarry

No Lifer
Aug 25, 2001
56,571
10,207
126
Switches are layer2 devices, IP/ping is a layer3 protocol. What you're asking doesn't make sense. I'm not a corp. networking pro, so I could be wrong. Some managed switches support layer3. Maybe you can assign that switchport an IP, such that it becomes pingable.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Put an IP on each interface and ping them. If the switch has a management interface you could ping that from each.

ping -S <srcipaddress> <destipaddress>
 

riahc3

Senior member
Apr 4, 2014
640
0
0
Switches are layer2 devices, IP/ping is a layer3 protocol. What you're asking doesn't make sense. I'm not a corp. networking pro, so I could be wrong. Some managed switches support layer3. Maybe you can assign that switchport an IP, such that it becomes pingable.
I understand the confusion on your part.

You cant ping a port (80, 443, etc). He simply has 2 cables from 2 ports on his server's dual port NIC connected to a common switch.


OP: Your switch really problably doesnt care. Each port on your NIC has its own unique IP address. It would simply send out a broadcast packet from one of the ports (with its source mac address), the switch would send that broadcast packet to the destination mac address (after finding it of course), and it would arrive to the other port on the other port of the same NIC.

Like imagoon mentioned, you must specify the source IP address because if not, Windows will automatically choose one.

Another thing, it is problably that the NIC knows each of its IPs so it wont actually go out to the switch, producing lag and unneccesary network traffic.