Home > other >  Leave the default routing how do you determine the IP packet using the interface IP address?
Leave the default routing how do you determine the IP packet using the interface IP address?

Time:03-05

PC configuration have more than one IP address, there is an IP 192.168.205.201, the default gateway is 192.168.205.1, when will access the net, ping baidu.com, there is no 192.168.205.1 MAC address and MAC address cache, arp request is how to determine the source IP address, the whole process of route query what kind of?

CodePudding user response:

Routing table which go where to go, this is the job of the three layers, the MAC address table without 192.168.205.1, sends an arp request once know where, this is the job of the layer 2, service for three layers,

CodePudding user response:

I mean, I configure a hardware adapter is configured with multiple IP address, an arp request message source IP use that IP? Whether to query again below the two red line in routing and finalized with 192.168.205.201 as arp request 192.168.205.1 source IP to MAC addresses?

CodePudding user response:

You know, the ARP is based on the second floor, that is to say by routing, it is simple for inference,
Given you the default gateway IP address, your network card to choose natural need not routing could be accessed directly with segment address as the source address,
  • Related