 |
| View previous topic :: View next topic |
| Author |
Message |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 8:23 pm Post subject: OSPF and EIGRP redistributed on Lab #4 |
|
|
Layer 2
10.x.x.x
loopbacks 10.x.x.x 255.255.0.0
Frame2 10.10.14.x 255.255.0.0
R3toR7 10.10.37.x 255.255.255.240
R1,R2,R3 - 192.168.x.x
Frame1 192.168.1.x 255.255.255.0
R1toR2 192.168.12.x 255.255.255.240
VLAN10 192.168.10.x 255.255.255.0
VLAN20 192.168.20.x 255.255.255.0
R4,R5,R7 - 172.16.x.x
ISDN 172.16.57.x 255.255.255.240
VLAN40 172.16.40.x 255.255.255.0
R5toR4 172.16.54.x 255.255.255.240
Switch1
en
vlan database
vlan 10 name VLAN10
vlan 20 name VLAN20
vlan 40 name VLAN40
apply
exit
config t
int fa 0/1
speed 10
duplex half
switchport mode access
switchport access vlan 10
exit
int fa 0/2
speed 10
duplex half
switchport mode access
switchport access vlan 20
exit
int fa 0/3
speed 10
duplex half
switchport mode access
switchport access vlan 20
exit
int fa 0/4
speed 10
duplex half
switchport mode access
switchport access vlan 40
exit
int fa 0/7
speed 10
duplex half
switchport mode access
switchport access vlan 40
end
wr mem
R6
en
config t
int s 0
clockrate 125000
exit
int s 1
clockrate 125000
end
wr mem
R1
en
config t
no ip domain lookup
int loopback 0
ip address 10.1.1.1 255.255.0.0
exit
int e 0
ip address 192.168.10.1 255.255.255.0
no shut
exit
int s 0
no ip address
encapsulation frame-relay
no shut
exit
int s 0.1 multipoint
ip address 192.168.1.1 255.255.255.0
no arp frame-relay
no frame-relay inverse-arp
frame-relay map ip 192.168.1.2 102 broadcast
frame-relay map ip 192.168.1.3 103 broadcast
exit
int s 0.2 point-to-point
ip address 10.10.14.1 255.255.0.0
frame-relay interface-dlci 104
exit
int s 1
ip address 192.168.12.1 255.255.255.240
no shut
end
wr mem
R2
en
config t
no ip domain lookup
int loopback 0
ip address 10.2.2.2 255.255.0.0
exit
int e 0
ip address 192.168.20.2 255.255.255.0
no shut
exit
int s 0
encapsulation frame-relay
ip address 192.168.1.2 255.255.255.0
no arp frame-relay
no frame-relay inverse-arp
frame-relay map ip 192.168.1.1 201 broadcast
frame-relay map ip 192.168.1.3 201
no shut
exit
int s 1
clockrate 125000
ip address 192.168.12.2 255.255.255.240
no shut
end
wr mem
R3
en
config t
no ip domain lookup
int loopback 0
ip address 10.3.3.3 255.255.0.0
exit
int e 0
ip address 192.168.20.3 255.255.255.0
no shut
exit
int s 0
encapsulation frame-relay
ip address 192.168.1.3 255.255.255.0
no arp frame-relay
no frame-relay inverse-arp
frame-relay map ip 192.168.1.1 301 broadcast
frame-relay map ip 192.168.1.2 301
no shut
exit
int s 1
ip address 10.10.37.3 255.255.255.240
no shut
end
wr mem
R4
en
config t
no ip domain lookup
int loopback 0
ip address 10.4.4.4 255.255.0.0
exit
int e 0
ip address 172.16.40.4 255.255.255.0
no shut
exit
int s 0
no ip address
encapsulation frame-relay
no shut
int s 0.1 point-to-point
ip address 10.10.14.4 255.255.0.0
frame-relay interface-dlci 401
exit
int s 1
ip address 172.16.54.4 255.255.255.240
no shut
end
wr mem
R5
en
config t
no ip domain lookup
int loopback 0
ip address 10.5.5.5 255.255.0.0
exit
int bri 0
ip address 172.16.57.5 255.255.255.240
encapsulation ppp
isdn switch-type basic-ni
isdn spid1 555111111100 5551111111
isdn spid2 555222222200 5552222222
no shut
dialer map ip 172.16.57.7 name r7 broadcast 7771111111
int s 1
clockrate 125000
ip address 172.16.54.5 255.255.255.240
no shut
end
wr mem
R7
en
config t
no ip domain lookup
int loopback 0
ip address 10.7.7.7 255.255.0.0
exit
int e 0/0
ip address 172.16.40.7 255.255.255.0
no shut
exit
int bri 0/0
ip address 172.16.57.7 255.255.255.240
encapsulation ppp
isdn switch-type basic-ni
isdn spid1 777111111100 7771111111
isdn spid2 777222222200 7772222222
no shut
dialer map ip 172.16.57.5 name r5 broadcast 5551111111
int s 0/0
clockrate 125000
ip address 10.10.37.7 255.255.255.240
no shut
end
wr mem
Test the config:
R1 tests:
en
ping 192.168.1.2
ping 192.168.1.3
ping 192.168.12.2
ping 10.10.14.4
R2 tests:
en
ping 192.168.1.1
ping 192.168.1.3
ping 192.168.12.1
ping 192.168.20.3
R3 tests:
en
ping 192.168.1.1
ping 192.168.1.2
ping 10.10.37.7
ping 192.168.20.2
R4 tests:
en
ping 172.16.40.7
ping 172.16.54.5
ping 10.10.14.1
R5 tests:
en
ping 192.168.54.4
R7 tests:
en
ping 10.10.37.3
ping 172.16.40.4 |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 8:34 pm Post subject: Basic EIGRP configuration |
|
|
R4
en
config t
router eigrp 1
no auto-summary
network 10.4.0.0
network 10.10.0.0
network 172.16.40.0
network 172.16.54.0
R5
en
config t
router eigrp 1
network 10.5.0.0
network 172.16.57.0
network 172.16.54.0
R7
en
config t
router eigrp 1
network 10.7.0.0
network 172.16.57.0
network 172.16.40.0
network 10.10.37.0
passive-interface serial 0/0
Verification:
R4#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 not set
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
D 172.16.57.0/28 [90/40537600] via 172.16.40.7, 00:00:51, Ethernet0
C 172.16.54.0/28 is directly connected, Serial1
C 172.16.40.0/24 is directly connected, Ethernet0
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.10.0.0/16 is directly connected, Serial0.1
D 10.0.0.0/8 [90/409600] via 172.16.40.7, 00:00:51, Ethernet0
C 10.4.0.0/16 is directly connected, Loopback0
R5#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 not set
172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
C 172.16.57.0/28 is directly connected, BRI0
C 172.16.54.0/28 is directly connected, Serial1
D 172.16.40.0/24 [90/2195456] via 172.16.54.4, 00:01:37, Serial1
D 172.16.0.0/16 is a summary, 00:01:43, Null0
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
D 10.10.0.0/16 [90/2681856] via 172.16.54.4, 00:01:38, Serial1
D 10.0.0.0/8 is a summary, 00:01:14, Null0
D 10.4.0.0/16 [90/2297856] via 172.16.54.4, 00:01:39, Serial1
C 10.5.0.0/16 is directly connected, Loopback0
R7#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
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
C 172.16.57.0/28 is directly connected, BRI0/0
D 172.16.54.0/28 [90/2195456] via 172.16.40.4, 00:00:19, Ethernet0/0
C 172.16.40.0/24 is directly connected, Ethernet0/0
D 172.16.0.0/16 is a summary, 00:00:21, Null0
10.0.0.0/8 is variably subnetted, 5 subnets, 3 masks
D 10.10.0.0/16 [90/2195456] via 172.16.40.4, 00:00:19, Ethernet0/0
D 10.0.0.0/8 is a summary, 00:00:21, Null0
C 10.7.0.0/16 is directly connected, Loopback0
D 10.4.0.0/16 [90/409600] via 172.16.40.4, 00:00:20, Ethernet0/0
C 10.10.37.0/28 is directly connected, Serial0/0 |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 9:17 pm Post subject: Basic OSPF Configuration |
|
|
Frame1 192.168.1.x 255.255.255.0
R1toR2 192.168.12.x 255.255.255.240
VLAN10 192.168.10.x 255.255.255.0
VLAN20 192.168.20.x 255.255.255.0
R1
en
config t
router ospf 1
network 192.168.1.0 0.0.0.255 area 1
network 192.168.10.0 0.0.0.255 area 0
network 192.168.12.0 0.0.0.15 area 1
area 1 virtual-link 10.3.3.3
end
wr mem
R2
en
config t
router ospf 1
network 192.168.1.0 0.0.0.255 area 1
network 192.168.12.0 0.0.0.15 area 1
network 192.168.20.0 0.0.0.255 area 2
end
wr mem
R3
en
config t
router ospf 1
network 192.168.1.0 0.0.0.255 area 1
network 192.168.20.0 0.0.0.255 area 2
area 1 virtual-link 10.1.1.1
end
wr mem
I forgot to set the ip ospf priority to 10 on R1 and 0 on R2 and R3.
A couple things I noticed this time around....
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 not set
192.168.12.0/28 is subnetted, 1 subnets
C 192.168.12.0 is directly connected, Serial1
O IA 192.168.10.0/24 [110/74] via 192.168.12.1, 00:06:11, Serial1
C 192.168.20.0/24 is directly connected, Ethernet0
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.2.0.0/16 is directly connected, Loopback0
O 10.1.1.1/32 [110/65] via 192.168.12.1, 00:06:11, Serial1
C 192.168.1.0/24 is directly connected, Serial0
O stands for in the area and O IA is from a different area.
R2#sh ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
10.1.1.1 1 FULL/ - 00:00:31 192.168.12.1 Serial1
10.3.3.3 1 FULL/DR 00:00:37 192.168.20.3 Ethernet0
R3 is the Dr, because 10.3.3.3 is greater than 10.2.2.2.
R2#debug ip ospf hello
00:44:20: OSPF: Rcv hello from 10.1.1.1 area 1 from Serial1 192.168.12.1
00:44:20: OSPF: End of hello processing
00:44:26: OSPF: Rcv hello from 10.3.3.3 area 2 from Ethernet0 192.168.20.3
00:44:26: OSPF: End of hello processing
00:44:30: OSPF: Rcv hello from 10.1.1.1 area 1 from Serial1 192.168.12.1
00:44:30: OSPF: End of hello processing
00:44:36: OSPF: Rcv hello from 10.3.3.3 area 2 from Ethernet0 192.168.20.3
00:44:36: OSPF: End of hello processing
I was very confused as to why I wasn't forming an adjacency on frame-relay. I need to add neighbor commands to R2 and R3. I also had to use the frame-relay interface (s0).
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 not set
192.168.12.0/28 is subnetted, 1 subnets
C 192.168.12.0 is directly connected, Serial1
C 192.168.10.0/24 is directly connected, Ethernet0
O IA 192.168.20.0/24 [110/74] via 192.168.1.3, 00:01:49, Serial0.1
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C 10.10.0.0/16 is directly connected, Serial0.2
O 10.2.2.2/32 [110/65] via 192.168.12.2, 00:01:59, Serial1
[110/65] via 192.168.1.2, 00:01:59, Serial0.1
O 10.3.3.3/32 [110/65] via 192.168.1.3, 00:02:00, Serial0.1
C 10.1.0.0/16 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Serial0.1 |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 9:33 pm Post subject: EIGRP and OSPF authentication |
|
|
OSPF
R1
en
config t
router ospf 1
area 0 authentication message-digest
area 1 authentication message-digest
exit
int e 0
ip ospf message-digest-key 1 md5 cisco
exit
int s 0.1
ip ospf message-digest-key 1 md5 cisco
exit
int s 1
ip ospf message-digest-key 1 md5 cisco
end
wr mem
R2
en
config t
router ospf 1
area 1 authentication message-digest
area 2 authentication message-digest
exit
int e 0
ip ospf message-digest-key 1 md5 cisco
exit
int s 0
ip ospf message-digest-key 1 md5 cisco
exit
int s 1
ip ospf message-digest-key 1 md5 cisco
end
wr mem
R3
en
config t
router ospf 1
area 1 authentication message-digest
area 2 authentication message-digest
int e 0
ip ospf message-digest-key 1 md5 cisco
exit
int s 0
ip ospf message-digest-key 1 md5 cisco
end
wr mem
EIGRP
R4
en
config t
key chain eigrpkey
key 1
key-string cisco
exit
int e 0
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
exit
int s 0
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
exit
int s 1
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
exit
R5
en
config t
key chain eigrpkey
key 1
key-string cisco
exit
int bri 0
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
exit
int s 1
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
end
wr mem
R7
en
config t
key chain eigrpkey
key 1
key-string cisco
exit
int e 0/0
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
exit
int s 0/0
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
exit
int bri 0/0
ip authentication key-chain eigrp 1 eigrpkey
ip authentication mode eigrp 1 md5
end
wr mem |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 9:40 pm Post subject: Redistribution between OSPF and EIGRP |
|
|
The config on R1 after I redistribute networks....
router eigrp 1
redistribute ospf 1 metric 10000 1 255 1 150
network 10.0.0.0
no auto-summary
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
area 1 authentication message-digest
area 1 virtual-link 10.3.3.3
redistribute eigrp 1 metric 5 subnets
network 10.1.0.0 0.0.255.255 area 1
network 192.168.1.0 0.0.0.255 area 1
network 192.168.10.0 0.0.0.255 area 0
network 192.168.12.0 0.0.0.15 area 1
neighbor 192.168.1.3
neighbor 192.168.1.2
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 not set
192.168.12.0/28 is subnetted, 1 subnets
C 192.168.12.0 is directly connected, Serial1
C 192.168.10.0/24 is directly connected, Ethernet0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
D 172.16.57.0/28 [90/41049600] via 10.10.14.4, 00:04:09, Serial0.2
D 172.16.54.0/28 [90/2681856] via 10.10.14.4, 00:04:09, Serial0.2
D 172.16.40.0/24 [90/2195456] via 10.10.14.4, 00:04:09, Serial0.2
O IA 192.168.20.0/24 [110/74] via 192.168.1.3, 00:02:20, Serial0.1
10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
C 10.10.0.0/16 is directly connected, Serial0.2
O 10.2.2.2/32 [110/65] via 192.168.12.2, 00:02:21, Serial1
[110/65] via 192.168.1.2, 00:02:21, Serial0.1
O 10.3.3.3/32 [110/65] via 192.168.1.3, 00:02:21, Serial0.1
D 10.0.0.0/8 [90/2323456] via 10.10.14.4, 00:04:11, Serial0.2
C 10.1.0.0/16 is directly connected, Loopback0
D 10.4.0.0/16 [90/2297856] via 10.10.14.4, 00:04:11, Serial0.2
C 192.168.1.0/24 is directly connected, Serial0.1
R4#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 not set
192.168.12.0/28 is subnetted, 1 subnets
D EX 192.168.12.0 [170/2170112] via 10.10.14.1, 00:02:01, Serial0.1
D EX 192.168.10.0/24 [170/2170112] via 10.10.14.1, 00:02:01, Serial0.1
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
D 172.16.57.0/28 [90/40537600] via 172.16.40.7, 00:13:18, Ethernet0
C 172.16.54.0/28 is directly connected, Serial1
C 172.16.40.0/24 is directly connected, Ethernet0
D EX 192.168.20.0/24 [170/2170112] via 10.10.14.1, 00:02:01, Serial0.1
10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
C 10.10.0.0/16 is directly connected, Serial0.1
D EX 10.2.2.2/32 [170/2170112] via 10.10.14.1, 00:02:02, Serial0.1
D EX 10.3.3.3/32 [170/2170112] via 10.10.14.1, 00:02:02, Serial0.1
D 10.0.0.0/8 [90/409600] via 172.16.40.7, 00:13:19, Ethernet0
D 10.1.0.0/16 [90/2297856] via 10.10.14.1, 00:04:36, Serial0.1
C 10.4.0.0/16 is directly connected, Loopback0
D EX 192.168.1.0/24 [170/2170112] via 10.10.14.1, 00:02:04, Serial0.1
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 not set
C 192.168.12.0 is directly connected, Serial1
O IA 192.168.10.0/24 [110/74] via 192.168.12.1, 00:03:10, Serial1
[110/74] via 192.168.1.1, 00:03:10, Serial0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
O E2 172.16.57.0/28 [110/5] via 192.168.12.1, 00:03:00, Serial1
[110/5] via 192.168.1.1, 00:03:00, Serial0
O E2 172.16.54.0/28 [110/5] via 192.168.12.1, 00:03:00, Serial1
[110/5] via 192.168.1.1, 00:03:01, Serial0
O E2 172.16.40.0/24 [110/5] via 192.168.12.1, 00:03:01, Serial1
[110/5] via 192.168.1.1, 00:03:01, Serial0
C 192.168.20.0/24 is directly connected, Ethernet0
10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
O E2 10.10.0.0/16 [110/5] via 192.168.12.1, 00:03:02, Serial1
[110/5] via 192.168.1.1, 00:03:02, Serial0
C 10.2.0.0/16 is directly connected, Loopback0
O 10.3.3.3/32 [110/65] via 192.168.1.3, 00:03:12, Serial0
O E2 10.0.0.0/8 [110/5] via 192.168.12.1, 00:03:02, Serial1
[110/5] via 192.168.1.1, 00:03:02, Serial0
O 10.1.1.1/32 [110/65] via 192.168.12.1, 00:03:12, Serial1
[110/65] via 192.168.1.1, 00:03:12, Serial0
O E2 10.4.0.0/16 [110/5] via 192.168.12.1, 00:03:02, Serial1
[110/5] via 192.168.1.1, 00:03:02, Serial0
C 192.168.1.0/24 is directly connected, Serial0 |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 10:00 pm Post subject: EIGRP stub on R7 |
|
|
R7
en
config t
ip route 192.168.10.0 255.255.255.0 10.10.37.3
ip route 192.168.20.0 255.255.255.0 10.10.37.3
ip route 0.0.0.0 0.0.0.0 10.10.37.3 distance 180
router eigrp 1
eigrp stub connected static
R7#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
Gateway of last resort is 10.10.37.3 to network 0.0.0.0
192.168.12.0/28 is subnetted, 1 subnets
D EX 192.168.12.0 [170/2195712] via 172.16.40.4, 00:01:07, Ethernet0/0
S 192.168.10.0/24 [1/0] via 10.10.37.3
172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
C 172.16.57.0/28 is directly connected, BRI0/0
D 172.16.54.0/28 [90/2195456] via 172.16.40.4, 00:01:07, Ethernet0/0
C 172.16.40.0/24 is directly connected, Ethernet0/0
D 172.16.0.0/16 is a summary, 01:20:04, Null0
S 192.168.20.0/24 [1/0] via 10.10.37.3
10.0.0.0/8 is variably subnetted, 8 subnets, 4 masks
D 10.10.0.0/16 [90/2195456] via 172.16.40.4, 00:01:08, Ethernet0/0
D EX 10.2.2.2/32 [170/2195712] via 172.16.40.4, 00:01:08, Ethernet0/0
D EX 10.3.3.3/32 [170/2195712] via 172.16.40.4, 00:01:08, Ethernet0/0
D 10.0.0.0/8 is a summary, 00:01:34, Null0
D 10.1.0.0/16 [90/2323456] via 172.16.40.4, 00:01:34, Ethernet0/0
C 10.7.0.0/16 is directly connected, Loopback0
D 10.4.0.0/16 [90/409600] via 172.16.40.4, 00:01:34, Ethernet0/0
C 10.10.37.0/28 is directly connected, Serial0/0
D EX 192.168.1.0/24 [170/2195712] via 172.16.40.4, 00:01:34, Ethernet0/0
S* 0.0.0.0/0 [180/0] via 10.10.37.3
en
config t
router eigrp 1
no eigrp stub connected static
eigrp stub connected
R7#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
Gateway of last resort is 10.10.37.3 to network 0.0.0.0
192.168.12.0/28 is subnetted, 1 subnets
D EX 192.168.12.0 [170/2195712] via 172.16.40.4, 00:00:18, Ethernet0/0
S 192.168.10.0/24 [1/0] via 10.10.37.3
172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
C 172.16.57.0/28 is directly connected, BRI0/0
D 172.16.54.0/28 [90/2195456] via 172.16.40.4, 00:00:18, Ethernet0/0
C 172.16.40.0/24 is directly connected, Ethernet0/0
D 172.16.0.0/16 is a summary, 01:22:03, Null0
S 192.168.20.0/24 [1/0] via 10.10.37.3
10.0.0.0/8 is variably subnetted, 8 subnets, 4 masks
D 10.10.0.0/16 [90/2195456] via 172.16.40.4, 00:00:19, Ethernet0/0
D EX 10.2.2.2/32 [170/2195712] via 172.16.40.4, 00:00:19, Ethernet0/0
D EX 10.3.3.3/32 [170/2195712] via 172.16.40.4, 00:00:19, Ethernet0/0
D 10.0.0.0/8 is a summary, 00:00:20, Null0
D 10.1.0.0/16 [90/2323456] via 172.16.40.4, 00:00:20, Ethernet0/0
C 10.7.0.0/16 is directly connected, Loopback0
D 10.4.0.0/16 [90/409600] via 172.16.40.4, 00:00:20, Ethernet0/0
C 10.10.37.0/28 is directly connected, Serial0/0
D EX 192.168.1.0/24 [170/2195712] via 172.16.40.4, 00:00:20, Ethernet0/0
S* 0.0.0.0/0 [180/0] via 10.10.37.3
en
config t
router eigrp 1
no eigrp stub connected
eigrp stub
R7#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
Gateway of last resort is 10.10.37.3 to network 0.0.0.0
192.168.12.0/28 is subnetted, 1 subnets
D EX 192.168.12.0 [170/2195712] via 172.16.40.4, 00:00:11, Ethernet0/0
S 192.168.10.0/24 [1/0] via 10.10.37.3
172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
C 172.16.57.0/28 is directly connected, BRI0/0
D 172.16.54.0/28 [90/2195456] via 172.16.40.4, 00:00:11, Ethernet0/0
C 172.16.40.0/24 is directly connected, Ethernet0/0
D 172.16.0.0/16 is a summary, 01:22:57, Null0
S 192.168.20.0/24 [1/0] via 10.10.37.3
10.0.0.0/8 is variably subnetted, 8 subnets, 4 masks
D 10.10.0.0/16 [90/2195456] via 172.16.40.4, 00:00:12, Ethernet0/0
D EX 10.2.2.2/32 [170/2195712] via 172.16.40.4, 00:00:12, Ethernet0/0
D EX 10.3.3.3/32 [170/2195712] via 172.16.40.4, 00:00:12, Ethernet0/0
D 10.0.0.0/8 is a summary, 00:00:12, Null0
D 10.1.0.0/16 [90/2323456] via 172.16.40.4, 00:00:13, Ethernet0/0
C 10.7.0.0/16 is directly connected, Loopback0
D 10.4.0.0/16 [90/409600] via 172.16.40.4, 00:00:13, Ethernet0/0
C 10.10.37.0/28 is directly connected, Serial0/0
D EX 192.168.1.0/24 [170/2195712] via 172.16.40.4, 00:00:13, Ethernet0/0
S* 0.0.0.0/0 [180/0] via 10.10.37.3
The stub command doesn't affect the local routing table. It affects what is sent.
en
config t
router eigrp 1
no eigrp stub connected
eigrp stub static
redistribute static metric 125000 100 255 1 1500
R4#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
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 172.16.40.7 to network 0.0.0.0
192.168.12.0/28 is subnetted, 1 subnets
D EX 192.168.12.0 [170/2170112] via 10.10.14.1, 00:22:02, Serial0.1
D EX 192.168.10.0/24 [170/307200] via 172.16.40.7, 00:00:32, Ethernet0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks <---
D 172.16.57.0/28 [90/41024000] via 172.16.54.5, 00:01:51, Serial1
C 172.16.54.0/28 is directly connected, Serial1
C 172.16.40.0/24 is directly connected, Ethernet0
D EX 192.168.20.0/24 [170/307200] via 172.16.40.7, 00:00:33, Ethernet0
10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks <---
C 10.10.0.0/16 is directly connected, Serial0.1
D EX 10.2.2.2/32 [170/2170112] via 10.10.14.1, 00:22:03, Serial0.1
D EX 10.3.3.3/32 [170/2170112] via 10.10.14.1, 00:22:03, Serial0.1
D 10.0.0.0/8 [90/2297856] via 172.16.54.5, 00:01:52, Serial1
D 10.1.0.0/16 [90/2297856] via 10.10.14.1, 00:24:38, Serial0.1
C 10.4.0.0/16 is directly connected, Loopback0
D EX 192.168.1.0/24 [170/2170112] via 10.10.14.1, 00:22:06, Serial0.1
D*EX 0.0.0.0/0 [170/307200] via 172.16.40.7, 00:00:37, Ethernet0 <---
This added a default route to R4 and two redistributed routes to Vlan10 and VLan 20. |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 10:17 pm Post subject: HSRP |
|
|
R4
en
config t
int e 0
standby ip 172.16.40.1
standby priority 255
standby preempt
standby timers 2 6
R7
en
config t
int e 0/0
standby ip 172.16.40.1
standby priority 254
standby preempt
standby timers 2 6
end
wr mem
R7#show standby
Ethernet0/0 - Group 0
State is Standby
1 state change, last state change 00:00:42
Virtual IP address is 172.16.40.1
Active virtual MAC address is 0000.0c07.ac00
Local virtual MAC address is 0000.0c07.ac00 (default)
Hello time 2 sec, hold time 6 sec
Next hello sent in 1.703 secs
Preemption enabled
Active router is 172.16.40.4, priority 255 (expires in 4.457 sec)
Standby router is local
Priority 254 (configured 254)
IP redundancy name is "hsrp-Et0/0-0" (default) |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 10:23 pm Post subject: NTP |
|
|
R1
en
config t
clock summer-time EDT recurring
clock timezone EST -5
ntp server 10.3.3.3
ntp authentication-key 1 md5 cisco
end
wr mem
R2
en
config t
clock summer-time EDT recurring
clock timezone EST -5
ntp server 10.3.3.3
ntp authentication-key 1 md5 cisco
end
wr mem
R3
en
config t
clock summer-time EDT recurring
clock timezone EST -5
ntp master 8
ntp authentication-key 1 md5 cisco
end
wr mem
R4
en
config t
clock summer-time EDT recurring
clock timezone EST -5
ntp server 10.3.3.3
ntp authentication-key 1 md5 cisco
end
wr mem
R5
en
config t
clock summer-time EDT recurring
clock timezone EST -5
ntp server 10.3.3.3
ntp authentication-key 1 md5 cisco
end
wr mem
R7
en
config t
clock summer-time EDT recurring
clock timezone EST -5
ntp server 10.3.3.3
ntp authentication-key 1 md5 cisco
end
wr mem
R1#sh ntp ass
address ref clock st when poll reach delay offset disp
~10.3.3.3 127.127.7.1 8 11 64 0 32.2 5964.0 16000.
* master (synced), # master (unsynced), + selected, - candidate, ~ configured
I will check for sync later. |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 10:39 pm Post subject: Basic BGP configuration with passwords |
|
|
R1
en
config t
router bgp 65001
neighbor 10.2.2.2 remote-as 65001
neighbor 10.2.2.2 update-source loopback 0
neighbor 10.2.2.2 password cisco
neighbor 10.3.3.3 remote-as 65001
neighbor 10.3.3.3 update-source loopback 0
neighbor 10.3.3.3 password cisco
neighbor 10.4.4.4 remote-as 65004
neighbor 10.4.4.4 update-source loopback 0
neighbor 10.4.4.4 password cisco
network 192.168.1.0 mask 255.255.255.0
network 192.168.1.0 mask 255.255.255.0
network 192.168.12.0 mask 255.255.255.240
network 192.168.10.0 mask 255.255.255.0
network 192.168.20.0 mask 255.255.255.0
network 10.1.0.0 mask 255.255.0.0
network 10.10.0.0 mask 255.255.0.0
end
wr mem
R2
en
config t
router bgp 65001
neighbor 10.1.1.1 remote-as 65001
neighbor 10.1.1.1 update-source loopback 0
neighbor 10.1.1.1 password cisco
neighbor 10.3.3.3 remote-as 65001
neighbor 10.3.3.3 update-source loopback 0
neighbor 10.3.3.3 password cisco
network 192.168.1.0 mask 255.255.255.0
network 192.168.12.0 mask 255.255.255.240
network 192.168.20.0 mask 255.255.255.0
network 10.2.0.0 mask 255.255.0.0
end
wr mem
R3
en
config t
router bgp 65001
neighbor 10.2.2.2 remote-as 65001
neighbor 10.2.2.2 update-source loopback 0
neighbor 10.2.2.2 password cisco
neighbor 10.1.1.1 remote-as 65001
neighbor 10.1.1.1 update-source loopback 0
neighbor 10.1.1.1 password cisco
network 192.168.1.0 mask 255.255.255.0
network 192.168.20.0 mask 255.255.255.0
network 10.3.0.0 mask 255.255.0.0
network 10.10.37.0 mask 255.255.255.240
end
wr mem
R4
en
config t
router bgp 65004
neighbor 10.1.1.1 remote-as 65001
neighbor 10.1.1.1 update-source loopback 0
neighbor 10.1.1.1 password cisco
neighbor 10.5.5.5 remote-as 65004
neighbor 10.5.5.5 update-source loopback 0
neighbor 10.5.5.5 route-reflector-client
neighbor 10.5.5.5 password cisco
neighbor 10.7.7.7 remote-as 65004
neighbor 10.7.7.7 update-source loopback 0
neighbor 10.7.7.7 route-reflector-client
neighbor 10.7.7.7 password cisco
network 10.4.0.0 mask 255.255.0.0
network 172.16.54.0 mask 255.255.255.240
network 172.16.57.0 mask 255.255.255.240
network 172.16.40.0 mask 255.255.255.0
end
wr mem
R5
en
config t
router bgp 65004
neighbor 10.4.4.4 remote-as 65004
neighbor 10.4.4.4 update-source loopback 0
neighbor 10.4.4.4 password cisco
network 10.5.0.0 mask 255.255.0.0
network 172.16.54.0 mask 255.255.255.240
network 172.16.57.0 mask 255.255.255.240
end
wr mem
R7
en
config t
router bgp 65004
neighbor 10.4.4.4 remote-as 65004
neighbor 10.4.4.4 update-source loopback 0
neighbor 10.4.4.4 password cisco
network 10.7.0.0 mask 255.255.0.0
network 10.10.37.0 mask 255.255.255.240
network 172.16.57.0 mask 255.255.255.240
network 172.16.40.0 mask 255.255.255.0
end
wr mem |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 11:08 pm Post subject: BGP Verification |
|
|
I could see everything except R7 from R4. I wasn't able to see it, because it is an eigrp stub. I added a static route and it became visible.
R4(config)#ip route 10.7.0.0 255.255.0.0 172.16.40.7
R4(config)#^Z
R4#wr mem
00:19:03: %SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]
R4#
00:19:37: %BGP-5-ADJCHANGE: neighbor 10.7.7.7 Up |
|
| Back to top |
|
 |
Tom4498
Joined: 05 Oct 2004 Posts: 276 Location: America/New_York
|
Posted: Tue Dec 21, 2004 11:18 pm Post subject: DHCP on R4 |
|
|
en
config t
service dhcp
ip dhcp pool 172.16.40.0/24
network 172.16.40.0 255.255.255.0
default-router 172.16.40.1
dns-server 172.16.40.100
exit
NAT
en
config t
int e 0
ip address 172.16.100.4 mask 255.255.255.0 secondary
ip nat inside
exit
int s 0.1
ip nat outside
exit
ip nat inside source static 172.16.100.4 192.168.100.4
exit |
|
| Back to top |
|
 |
|
 |
All times are GMT - 5 Hours
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|