Pinging with 2 Network Interfaces
Not what you're looking for?
Assuming that you have 2 network interfaces on you PC, one with IP 192.168.1.100 and one with IP 192.168.2.50, and that this is the routing table on your PC:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 10
169.254.0.0 255.255.255.0 192.168.2.1 192.168.2.50 5
10.10.10.0 255.255.255.0 192.168.2.1 192.168.2.50 100
a. When pinging 71.10.1.1, what interface will be used for the traffic? Why?
b. When pinging 169.254.0.10, what interface will be used for the traffic? Why?
c. When pinging 169.254.1.1, what interface will be used for the traffic? Why?
d. When pinging 10.10.10.1, what interface will be used for the traffic? Why?
Purchase this Solution
Solution Summary
The solution covers with examples, how routing decision is made for any application (e.g., ping) by the router using the routing table. Specifically, this explains why certain routes are preferred over others when more than one network interface, and gateways are available.
Solution Preview
In order to understand how ping would choose between the network interfaces we need to understand the routing table
The example routing table is
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 10
169.254.0.0 255.255.255.0 192.168.2.1 192.168.2.50 5
10.10.10.0 255.255.255.0 192.168.2.1 192.168.2.50 100
Finding the route (See Route Determination Process [1])
The most suitable interface and gateway IP are determined using the following process:
The logical bitwise AND ...
Purchase this Solution
Free BrainMass Quizzes
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Basic Networking Questions
This quiz consists of some basic networking questions.
C# variables and classes
This quiz contains questions about C# classes and variables.
Java loops
This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.