How to configure Default Routing

826 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
826
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
37
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How to configure Default Routing

  1. 1. Default RoutingWWW.TCPIPGURU.COM
  2. 2. Default routing: On Router1R1#config tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#ip route 0.0.0.0 0.0.0.0 172.16.1.2R1(config)#exitR1#*Mar 1 08:08:44.487: %SYS-5-CONFIG_I: Configured from console byconsole
  3. 3. R1#show ip routeCodes: 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 routeGateway of last resort is 172.16.1.2 to network 0.0.0.0C 172.16.0.0/16 is directly connected, Serial0/0C 192.168.1.0/24 is directly connected, FastEthernet0/0S* 0.0.0.0/0 [1/0] via 172.16.1.2
  4. 4. Default routing: On Router2R2#config tEnter configuration commands, one per line. Endwith CNTL/Z.R2(config)#ip route 0.0.0.0 0.0.0.0172.16.1.1R2(config)#exit
  5. 5. R2#show ip route*Mar 1 10:02:54.679: %SYS-5-CONFIG_I: Configured from console by consolCodes: 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 routeGateway of last resort is 172.16.1.1 to network 0.0.0.0C 172.16.0.0/16 is directly connected, Serial0/0C 192.168.2.0/24 is directly connected, FastEthernet0/0S* 0.0.0.0/0 [1/0] via 172.16.1.1

×