reason 11 to get yourself the ccnp net acad lab manuals...
in the past i used loopbacks to simulate an isp link... big deal right... if i could ping it i was connecting to the internet... because we are insane we often make quantum leaps in imagination... here's another quick variation...
make that loopback a default route, it makes it almost more realer...
ip route 0.0.0.0 0.0.0.0 Loopback1
and of course give the loopback an outside address...
the big silly difference is that it shows up as a candidate static and gives you a gateway of last resort...
it feels better... lmao...
R2# sh ip route
Gateway of last resort is not set
209.165.200.0/30 is subnetted, 1 subnets
C 209.165.200.224 is directly connected, Loopback1
10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks
D 10.1.10.0/24 [90/2172672] via 10.1.1.1, 00:39:45, Serial0/0
D 10.1.2.0/30 [90/2172416] via 10.1.1.1, 00:39:46, Serial0/0
C 10.1.1.0/30 is directly connected, Serial0/0
C 10.1.1.1/32 is directly connected, Serial0/0
C 10.1.1.4/30 is directly connected, Serial0/1
C 10.1.1.5/32 is directly connected, Serial0/1
D 10.1.30.0/24 [90/2172672] via 10.1.1.1, 00:39:47, Serial0/0
D 10.1.20.0/24 [90/2172672] via 10.1.1.1, 00:39:47, Serial0/0
D 10.1.100.0/24 [90/2172672] via 10.1.1.1, 00:39:47, Serial0/0
C 10.1.202.1/32 is directly connected, Loopback0
D 10.1.201.1/32 [90/2297856] via 10.1.1.1, 00:39:48, Serial0/0
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 0.0.0.0 0.0.0.0 lo1
R2(config)#do sh ip route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
209.165.200.0/30 is subnetted, 1 subnets
C 209.165.200.224 is directly connected, Loopback1
10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks
D 10.1.10.0/24 [90/2172672] via 10.1.1.1, 00:41:07, Serial0/0
D 10.1.2.0/30 [90/2172416] via 10.1.1.1, 00:41:08, Serial0/0
C 10.1.1.0/30 is directly connected, Serial0/0
C 10.1.1.1/32 is directly connected, Serial0/0
C 10.1.1.4/30 is directly connected, Serial0/1
C 10.1.1.5/32 is directly connected, Serial0/1
D 10.1.30.0/24 [90/2172672] via 10.1.1.1, 00:41:09, Serial0/0
D 10.1.20.0/24 [90/2172672] via 10.1.1.1, 00:41:09, Serial0/0
D 10.1.100.0/24 [90/2172672] via 10.1.1.1, 00:41:09, Serial0/0
C 10.1.202.1/32 is directly connected, Loopback0
D 10.1.201.1/32 [90/2297856] via 10.1.1.1, 00:41:12, Serial0/0
S* 0.0.0.0/0 is directly connected, Loopback1
No comments:
Post a Comment