Dual Nic - ping???
Hi All!!!
Quick question - i am confused...
If i have 2 nics built into my motherboard, and i have 2 seperate networks, if i issue a ping command to a network device somewhere on either network, how does the ping know where to go? same applies to drive mappings etc - how does windows know which network the request is aimed at?
Quick question - i am confused...
If i have 2 nics built into my motherboard, and i have 2 seperate networks, if i issue a ping command to a network device somewhere on either network, how does the ping know where to go? same applies to drive mappings etc - how does windows know which network the request is aimed at?
Comments
-
meadIT Member Posts: 581 ■■■■□□□□□□When you assign IP addresses to your NIC's, the OS builds a routing table that tells it where the traffic should go. Click Run --> Start --> cmd and hit enter. Then type "route print" without the quotes to see your routing table. Traffic on the same network as NIC1 would be sent out NIC1. The same goes for NIC2. Traffic on neither would go out your spedified default gateway.
Drive mappings are ususally done by DNS name: [URL="file://\\servername\sharename"]\\servername\sharename[/URL]. Your OS does a DNS query to find the IP address of this share, then uses the above routing table to connect to it.CERTS: VCDX #110 / VCAP-DCA #500 (v5 & 4) / VCAP-DCD #10(v5 & 4) / VCP 5 & 4 / EMCISA / MCSE 2003 / MCTS: Vista / CCNA / CCENT / Security+ / Network+ / Project+ / CIW Database Design Specialist, Professional, Associate -
mrmcmint Member Posts: 492 ■■■□□□□□□□excellent - thanks for the quick reply!
for some reason, i thought it would have been more complicated than that, but now i think about it, it makes sense.
route print........ will remember that one! -
meadIT Member Posts: 581 ■■■■□□□□□□route print........ will remember that one!
LOL, I finally had to actually google it. I've been working with Cisco too much recently and the only thing that my brain would spit out was the Cisco IOS commands.CERTS: VCDX #110 / VCAP-DCA #500 (v5 & 4) / VCAP-DCD #10(v5 & 4) / VCP 5 & 4 / EMCISA / MCSE 2003 / MCTS: Vista / CCNA / CCENT / Security+ / Network+ / Project+ / CIW Database Design Specialist, Professional, Associate