to gain reachability between R3’s Ethernet segment and VLAN 5
Directions
" Configure the topology per the diagram
" Configure EIGRP AS 1 between R4 and R5
" Configure EIGRP AS 2 between R1 and R3
" Configure BGP on R1, R3, R4, and R5 per the diagram
" R1 should peer with R3 and R4
" R4 should peer with R5
" Advertise R3’s Ethernet segment into BGP
" Advertise R5’s Ethernet segment into BGP
" Configure redistribution on R1 and R4 to allow IGP next-hop lookup in order to
gain reachability between R3’s Ethernet segment and VLAN 5
" Configure the topology per the diagram
" Configure EIGRP AS 1 between R4 and R5
" Configure EIGRP AS 2 between R1 and R3
" Configure BGP on R1, R3, R4, and R5 per the diagram
" R1 should peer with R3 and R4
" R4 should peer with R5
" Advertise R3’s Ethernet segment into BGP
" Advertise R5’s Ethernet segment into BGP
" Configure redistribution on R1 and R4 to allow IGP next-hop lookup in order to
gain reachability between R3’s Ethernet segment and VLAN 5
配置:
R1:
interface FastEthernet0/0
ip address 155.1.146.1 255.255.255.0
!
interface Serial0/1
ip address 155.1.13.1 255.255.255.0
!
router eigrp 2
redistribute connected metric 1 1 1 1 1
network 155.1.13.1 0.0.0.0
no auto-summary
interface FastEthernet0/0
ip address 155.1.146.1 255.255.255.0
!
interface Serial0/1
ip address 155.1.13.1 255.255.255.0
!
router eigrp 2
redistribute connected metric 1 1 1 1 1
network 155.1.13.1 0.0.0.0
no auto-summary
!
router bgp 2
neighbor 155.1.13.3 remote-as 2
neighbor 155.1.146.4 remote-as 1
R3:
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
router eigrp 2
network 155.1.13.3 0.0.0.0
no auto-summary
!
router bgp 2
network 155.1.37.0 mask 255.255.255.0
neighbor 155.1.13.1 remote-as 2
router bgp 2
neighbor 155.1.13.3 remote-as 2
neighbor 155.1.146.4 remote-as 1
R3:
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
router eigrp 2
network 155.1.13.3 0.0.0.0
no auto-summary
!
router bgp 2
network 155.1.37.0 mask 255.255.255.0
neighbor 155.1.13.1 remote-as 2
R4:
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
interface Serial0/1
ip address 155.1.45.4 255.255.255.0
!
router eigrp 1
redistribute connected metric 1 1 1 1 1
network 155.1.45.4 0.0.0.0
no auto-summary
!
router bgp 1
neighbor 155.1.45.5 remote-as 1
neighbor 155.1.146.1 remote-as 2
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
interface Serial0/1
ip address 155.1.45.4 255.255.255.0
!
router eigrp 1
redistribute connected metric 1 1 1 1 1
network 155.1.45.4 0.0.0.0
no auto-summary
!
router bgp 1
neighbor 155.1.45.5 remote-as 1
neighbor 155.1.146.1 remote-as 2
R5:
interface Ethernet0/1
ip address 155.1.5.5 255.255.255.0
!
interface Serial0/1
ip address 155.1.45.5 255.255.255.0
clockrate 64000
!
router eigrp 1
interface Ethernet0/1
ip address 155.1.5.5 255.255.255.0
!
interface Serial0/1
ip address 155.1.45.5 255.255.255.0
clockrate 64000
!
router eigrp 1
network 155.1.45.5 0.0.0.0
no auto-summary
!
router bgp 1
network 155.1.5.0 mask 255.255.255.0
neighbor 155.1.0.3 remote-as 2
neighbor 155.1.45.4 remote-as 1
no auto-summary
!
router bgp 1
network 155.1.5.0 mask 255.255.255.0
neighbor 155.1.0.3 remote-as 2
neighbor 155.1.45.4 remote-as 1
验证:
Rack1R3#ping 155.1.5.5 source
155.1.37.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 155.1.5.5, timeout is 2
seconds:
Packet sent with a source address of 155.1.37.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
56/60/72 ms
Rack1R1#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*> 155.1.5.0/24 155.1.146.4
0 1 i
*>i155.1.37.0/24 155.1.13.3 0 100
0 i
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 155.1.5.5, timeout is 2
seconds:
Packet sent with a source address of 155.1.37.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
56/60/72 ms
Rack1R1#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*> 155.1.5.0/24 155.1.146.4
0 1 i
*>i155.1.37.0/24 155.1.13.3 0 100
0 i
Rack1R1#show ip route
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
C 155.1.146.0 is directly connected, FastEthernet0/0
C 155.1.13.0 is directly connected, Serial0/1
B 155.1.5.0 [20/0] via 155.1.146.4, 01:25:02
B 155.1.37.0 [200/0] via 155.1.13.3, 04:04:26
Rack1R3#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*>i155.1.5.0/24 155.1.146.4 0 100
0 1 i
*> 155.1.37.0/24 0.0.0.0 0
32768 i
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
C 155.1.146.0 is directly connected, FastEthernet0/0
C 155.1.13.0 is directly connected, Serial0/1
B 155.1.5.0 [20/0] via 155.1.146.4, 01:25:02
B 155.1.37.0 [200/0] via 155.1.13.3, 04:04:26
Rack1R3#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*>i155.1.5.0/24 155.1.146.4 0 100
0 1 i
*> 155.1.37.0/24 0.0.0.0 0
32768 i
Rack1R3#show ip route
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
D EX 155.1.146.0 [170/2560512256] via 155.1.13.1,
00:01:55, Serial1/2
C 155.1.13.0 is directly connected, Serial1/2
B 155.1.5.0 [200/0] via 155.1.146.4, 00:01:41
C 155.1.37.0 is directly connected, Ethernet0/0
Rack1R4#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*>i155.1.5.0/24 155.1.45.5 0 100
0 i
*> 155.1.37.0/24 155.1.146.1
0 2 i
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
D EX 155.1.146.0 [170/2560512256] via 155.1.13.1,
00:01:55, Serial1/2
C 155.1.13.0 is directly connected, Serial1/2
B 155.1.5.0 [200/0] via 155.1.146.4, 00:01:41
C 155.1.37.0 is directly connected, Ethernet0/0
Rack1R4#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*>i155.1.5.0/24 155.1.45.5 0 100
0 i
*> 155.1.37.0/24 155.1.146.1
0 2 i
Rack1R4#show ip route
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
C 155.1.146.0 is directly connected, Ethernet0/1
B 155.1.5.0 [200/0] via 155.1.45.5, 04:05:03
C 155.1.45.0 is directly connected, Serial0/1
B 155.1.37.0 [20/0] via 155.1.146.1, 04:05:02
Rack1R5#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*> 155.1.5.0/24 0.0.0.0 0
32768 i
*>i155.1.37.0/24 155.1.146.1 0 100
0 2 i
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
C 155.1.146.0 is directly connected, Ethernet0/1
B 155.1.5.0 [200/0] via 155.1.45.5, 04:05:03
C 155.1.45.0 is directly connected, Serial0/1
B 155.1.37.0 [20/0] via 155.1.146.1, 04:05:02
Rack1R5#show ip bgp
<output omitted>
Network Next Hop Metric LocPrf
Weight Path
*> 155.1.5.0/24 0.0.0.0 0
32768 i
*>i155.1.37.0/24 155.1.146.1 0 100
0 2 i
Rack1R5#show ip route
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
D EX 155.1.146.0 [170/2560512256] via 155.1.45.4,
00:04:43, Serial0/1
C 155.1.5.0 is directly connected, Ethernet0/1
C 155.1.45.0 is directly connected, Serial0/1
B 155.1.37.0 [200/0] via 155.1.146.1, 00:04:37
<output omitted>
155.1.0.0/24 is subnetted, 4 subnets
D EX 155.1.146.0 [170/2560512256] via 155.1.45.4,
00:04:43, Serial0/1
C 155.1.5.0 is directly connected, Ethernet0/1
C 155.1.45.0 is directly connected, Serial0/1
B 155.1.37.0 [200/0] via 155.1.146.1, 00:04:37
插入表情