Directly Connected Static Routes: -
· A directly connected route that is directly attached to one of the router interfaces. When a router interface is configured with an IP address, the interface becomes a Directly Connected.
· You must specify only the interface on which all packets are sent to the destination network in a directly connected static route.
· The router assumes the destination is directly attached to the output interface and the packet destination is used as the next-hop address.
· Directly Connect static route have a default administrative distance of 0.
· The next-hop can be an interface, only for point-to-point interfaces.
· For broadcast interfaces, the next hop must be an IPv4/IPv6 address.
Take a Look of Directly Connected Static route: -
R1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
C 20.0.0.0/8 is directly connected, FastEthernet0/0
S 40.0.0.0/8 [1/0] via 20.0.0.2
C 10.0.0.0/8 is directly connected, FastEthernet0/1
S 30.0.0.0/8 [1/0] via 20.0.0.2
R2#sh ip route
C 20.0.0.0/8 is directly connected, FastEthernet0/0
S 40.0.0.0/8 [1/0] via 30.0.0.2
S 10.0.0.0/8 [1/0] via 20.0.0.1
C 30.0.0.0/8 is directly connected, FastEthernet0/1
R3#sh ip route
S 20.0.0.0/8 [1/0] via 30.0.0.1
C 40.0.0.0/8 is directly connected, FastEthernet0/0
S 10.0.0.0/8 [1/0] via 30.0.0.1
C 30.0.0.0/8 is directly connected, FastEthernet0/1
For more details, visit my You-Tube Channel: CCIE GAMER
Không có nhận xét nào:
Đăng nhận xét