Hi, i am currently revising for an exam on networks, this scenerio is one which keeps arising and im unsure as to what the layout would be and what exactly happens in part 2....
Q) The computer "eric.imaginary.com" runs the IP suite, it has one loopback interface with address "127.0.0.1". It also has 2 ethernet interfaces, one called (eth0) with address 129.43.4.18 and netmask 255.255.255.0 and one called (eth1) with address 129.43.6.54 and netmask 255.255.255.0. Erics default route is 129.43.6.1 and its pre-configured DNS server is 129.43.4.9 Eric has no other naming information available to it...
A second machine freddy.imaginary.com also runs the IP suite. It has one ethernet interface (eth0) with address 129.43.21.18 and netmask 255.255.255.0
Assume that each of the three has its own ethernet switch and are also connected to a single common router and that all ARP caches are initially empty.
My solution to this was :
the router in the middle with 4 connections (one to the interenet not labelled) each other one was to an ethernet switch labelled 129.43.6 / 24 for instance, ovbiously the other 2 will have the third decimal figure different. Then the "6" suffix part of the network was connected to eric (eth0) and and "4" to the DNS server and Eric (eth1) and finally "21" to freddy...
Is this correct>?
Part B was what would happen if eric was to call the command "ping freddy.imaginary.com"?
I think that an ICMP packet would be created and then queued whilst an ARP request was sent out over the network, but where would the arp request go? does it go through both interfaces or just to the default route? once at the router will that broadcast to everyone, and then freddy reply with its machine code and then the packet can be sent?
Thanks for any help with this, i realise its a long post, but it was kinda hard to explain without drawing diagrams..