Let us say, I have configured the managed router with a loopback addresses -

Interface                            IP-Address        OK?    Method     Status              Protocol

GigabitEthernet0/0    YES    NVRAM       up                    up    

GigabitEthernet0/1    YES    NVRAM       up                    up    

GigabitEthernet0/2          unassigned       YES    NVRAM       down                down  

Loopback0              YES    NVRAM       up                    up     

Loopback1             YES    NVRAM       up                    up  

Loopback2             YES    NVRAM       up                    up

I want to understand what happens -

  1. When I send a packet FROM another router (router2) targeted to the IP address (Loopback1)? Which physical interface of this device will be used to receive the packets intended for loopback1 interface?
  2. When I want to send a packet TO another router (router2) with source IP address as (Loopback1)? Which physical interface of this device will be used to send out the packets?

1 Answer 1

  1. It depends on routing table of router2 and other devices in your network (if you have any between router1 and router2). Router1 does not influence on it, it can be do something only when packet arrives to the its interfaces.
  2. It depends on routing table of router1, if you don't use any policy-based routing. So if router2 has address, for example, a packet to this address will be sent from gig 0/0 (assuming, that gig0/0 has

Each router decides which interface will be used to send packets basing on it own routing table. Input packet is send to loopback, when it arrived to router by physical interfaces.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.