Loopback Interfaces111
Loopback Interfaces111
Loopback Interfaces111
The same loopback interface is usually used for multiple tasks (for
example management and BGP)
Multiple loopbacks can be configured. This is not common and only
usually done where another, separate loopback is required for a special
use case
Loopback Interfaces
For example, my PC is on the 10.1.2.0 subnet and I want to connect to R1
to manage it
If the top path goes down, I cannot connect to 10.0.0.1
If the bottom path goes down, I cannot connect to 10.0.3.1
10 Mbps 10 Mbps
10.1.2.10 R5
FE2/0 FE3/0
10.1.3.2/24 10.0.3.2/24
Loopback Interfaces
I add interface Loopback 0 with the IP address 192.168.1.1/32
I advertise 192.168.1.1/32 in my routing protocol
R4 learns the two paths to 192.168.1.1
I can still connect to 192.168.1.1 even if either path goes down
Loopback0
100 Mbps 100 Mbps 100 Mbps FE1/0
192.168.1.1/32 10.0.1.1/24
10.1.1.0/24 10.1.0.0/24 10.0.0.0/24
10.1.2.1/24 .1 .2 .1 .2 .2 .1
R4 R3 R2 R1
FE1/0 FE0/0 FE0/0 FE1/0 FE1/0 FE0/0 FE0/0
FE2/0
FE2/0 FE3/0 10.0.2.1/24
10.1.3.1/24 10.0.3.1/24
10 Mbps 10 Mbps
10.1.2.10 R5
FE2/0 FE3/0
10.1.3.2/24 10.0.3.2/24
Lab
Loopback0
100 Mbps 100 Mbps 100 Mbps 192.168.1.1/32 FE1/0
10.0.1.1/24
10.1.1.0/24 10.1.0.0/24 10.0.0.0/24
10.1.2.1/24 .1 .2 .1 .2 .2 .1
R4 R3 R2 R1
FE1/0 FE0/0 FE0/0 FE1/0 FE1/0 FE0/0 FE0/0
FE2/0
FE2/0 FE3/0 10.0.2.1/24
10.1.3.1/24 10.0.3.1/24
10 Mbps 10 Mbps
R5
FE2/0 FE3/0
10.1.3.2/24 10.0.3.2/24