DEFAULT GATEWAY CONFIGURATION  

Friday, November 14, 2008


here is the configuration of the default gateway

CODE
sanjose#config t
Enter configuration commands, one per line. End with CNTL/Z.
sanjose(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.1 ?
<1-255> Distance metric for this route
name Specify name of the next hop
permanent permanent route
tag Set tag for this route
track Install route depending on tracked item


sanjose(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.1 210
sanjose(config)#ip route 0.0.0.0 0.0.0.0 172.16.0.1 220 ------------> metric is more so will not be preffered
sanjose(config)#end
sanjose#clar
*Mar 1 02:42:02.515: %SYS-5-CONFIG_I: Configured from console by console
sanjose#clear ip bgp * soft
sanjose#sir
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

Gateway of last resort is 10.0.0.1 to network 0.0.0.0

172.16.0.0/24 is subnetted, 2 subnets
C 172.16.0.0 is directly connected, Serial2/1
B 172.16.1.0 [20/0] via 172.16.0.1, 00:25:45
10.0.0.0/30 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial2/0
C 192.168.0.0/24 is directly connected, Loopback0
12.0.0.0/24 is subnetted, 1 subnets
B 12.0.1.0 [20/0] via 10.0.0.1, 00:28:34
C 192.168.1.0/24 is directly connected, Loopback1
S* 0.0.0.0/0 [210/0] via 10.0.0.1
sanjose#

Design by Blogger Buster | Distributed by Blogging Tips