티스토리 뷰

IT/CCNA: Udemy

Sec12: floting static route

Last72 2018. 4. 7. 18:36

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
댓글
Announcement
Recent Posts
Recent Comments
Total
Today
Yesterday
Link
TAG
more
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Search by month