티스토리 뷰
Scenario: R1 need to communicate to loopback (2.2.2.2) in R2. FastEthernet connection through switch is stable and fast. But we also have another connection using Serial connection through ISP. Ideally, serial connection should work only the fastethernet connection is unavailable.
When R1 set both ripv2 with FastEthernet and static with serial at the same time, router check the mask length (which is same, /24) and check Administrative distance. As default, static route has ad value of 1, but rip route has ad value of 120. Lower value is selected. So, we set routing setting to ISP to AD value of 121 which is higher than rip routing and it's ignored as rip routing is available.
#commends
ip route 2.2.2.0 255.255.255.0 21.1.1.0 121 #set ip static route AD as 121
traceroute 2.2.2.2 #check the route to destination
Defalut route with rip
router rip
default-information originate
'IT > CCNA: Udemy' 카테고리의 다른 글
Subnrting (0) | 2018.07.20 |
---|---|
Sec13: Decimal to Binary (0) | 2018.04.11 |
Sec12: Rip load balance (0) | 2018.03.21 |
Sec12: passive interfaces (0) | 2018.03.21 |
Sec12: Rip commands (0) | 2018.03.20 |