hosts on R3’s Ethernet have access to VLAN 5 and VLAN 43 but hosts on
VLANs 5 and 43 do not have access to each other
Directions
" Configure the topology per the diagram
" Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3
" Configure BGP on R1, R2, R3, R4, and R5 per the diagram
" R1 should peer with R4
" R2 should peer with R5
" R1, R2, and R3 should all peer with each other
" Advertise R3’s Ethernet into BGP on R3
" Advertise VLAN 5 into BGP on R5
" Advertise VLAN 43 into BGP on R4
" Configure an AS-Path access-list on R1 and R2 to only advertise routes
originated in AS 2 out to AS 1 and AS 3
" Configure the topology per the diagram
" Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3
" Configure BGP on R1, R2, R3, R4, and R5 per the diagram
" R1 should peer with R4
" R2 should peer with R5
" R1, R2, and R3 should all peer with each other
" Advertise R3’s Ethernet into BGP on R3
" Advertise VLAN 5 into BGP on R5
" Advertise VLAN 43 into BGP on R4
" Configure an AS-Path access-list on R1 and R2 to only advertise routes
originated in AS 2 out to AS 1 and AS 3
配置:
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
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.13.3 next-hop-self
neighbor 155.1.23.2 remote-as 2
neighbor 155.1.23.2 next-hop-self
neighbor 155.1.146.4 remote-as 3
neighbor 155.1.146.4 filter-list 1 out
!
ip as-path access-list 1 permit ^$
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
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.13.3 next-hop-self
neighbor 155.1.23.2 remote-as 2
neighbor 155.1.23.2 next-hop-self
neighbor 155.1.146.4 remote-as 3
neighbor 155.1.146.4 filter-list 1 out
!
ip as-path access-list 1 permit ^$
R2:
interface FastEthernet0/0
ip address 192.10.1.2 255.255.255.0
!
interface Serial0/0
encapsulation frame-relay
!
interface Serial0/0.1 point-to-point
interface FastEthernet0/0
ip address 192.10.1.2 255.255.255.0
!
interface Serial0/0
encapsulation frame-relay
!
interface Serial0/0.1 point-to-point
ip address 155.1.0.2 255.255.255.0
frame-relay interface-dlci 205
!
interface Serial0/1
ip address 155.1.23.2 255.255.255.0
!
router eigrp 2
network 155.1.23.2 0.0.0.0
no auto-summary
!
router bgp 2
neighbor 155.1.0.5 remote-as 1
neighbor 155.1.0.5 filter-list 1 out
neighbor 155.1.13.1 remote-as 2
neighbor 155.1.13.1 next-hop-self
neighbor 155.1.23.3 remote-as 2
neighbor 155.1.23.3 next-hop-self
!
ip as-path access-list 1 permit ^$
frame-relay interface-dlci 205
!
interface Serial0/1
ip address 155.1.23.2 255.255.255.0
!
router eigrp 2
network 155.1.23.2 0.0.0.0
no auto-summary
!
router bgp 2
neighbor 155.1.0.5 remote-as 1
neighbor 155.1.0.5 filter-list 1 out
neighbor 155.1.13.1 remote-as 2
neighbor 155.1.13.1 next-hop-self
neighbor 155.1.23.3 remote-as 2
neighbor 155.1.23.3 next-hop-self
!
ip as-path access-list 1 permit ^$
R3:
interface Ethernet0/0
ip address 155.1.37.3 255.255.255.0
!
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
interface Serial1/3
ip address 155.1.23.3 255.255.255.0
clockrate 64000
!
router eigrp 2
network 155.1.13.3 0.0.0.0
network 155.1.23.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
neighbor 155.1.23.2 remote-as 2
interface Ethernet0/0
ip address 155.1.37.3 255.255.255.0
!
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
interface Serial1/3
ip address 155.1.23.3 255.255.255.0
clockrate 64000
!
router eigrp 2
network 155.1.13.3 0.0.0.0
network 155.1.23.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
neighbor 155.1.23.2 remote-as 2
R4:
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 3
network 204.12.1.0
neighbor 155.1.146.1 remote-as 2
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 3
network 204.12.1.0
neighbor 155.1.146.1 remote-as 2
R4:
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 3
network 204.12.1.0
neighbor 155.1.146.1 remote-as 2
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 3
network 204.12.1.0
neighbor 155.1.146.1 remote-as 2
检验:
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 =
84/86/88 ms
Rack1R3#ping 204.12.1.4 source 155.1.37.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 204.12.1.4, timeout is 2
seconds:
Packet sent with a source address of 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 =
84/86/88 ms
Rack1R3#ping 204.12.1.4 source 155.1.37.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 204.12.1.4, 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 =
28/30/32 ms
Rack1R4#ping 155.1.5.5 source 204.12.1.4
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 204.12.1.4
.....
Success rate is 0 percent (0/5)
28/30/32 ms
Rack1R4#ping 155.1.5.5 source 204.12.1.4
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 204.12.1.4
.....
Success rate is 0 percent (0/5)
插入表情