! Listing 8.28: Router External #1 speaking EBGP to one ISP and IBGP to router External #2 ! !Copyright (C) 2001 by Vincent C Jones. All Rights Reserved. ! !Revision History: ! 1 Jul 2001: Unneeded "default-information originate" deleted. version 11.0 ! hostname External_1 ! ip subnet-zero ! interface Loopback0 description Target address for IBGP neighboring ip address 192.168.0.1 255.255.255.255 ! interface FastEthernet0/0 description No Man's Land LAN #1 ip address 100.0.0.33 255.255.255.224 ip ospf message-digest-key 100 md5 LongStrongKey ! interface FastEthernet1/0 description No Man's Land LAN #2 ip address 101.0.0.34 255.255.255.224 ip ospf message-digest-key 100 md5 LongStrongKey ! interface Serial2/0 description Link to the Internet via ISP providing 100.0.0.0/24 ip address 110.0.0.1 255.255.255.252 ! router ospf 1 network 100.0.0.32 0.0.0.31 area 666 network 101.0.0.32 0.0.0.31 area 666 network 110.0.0.0 0.0.0.3 area 666 network 192.168.0.1 0.0.0.0 area 666 area 666 authentication message-digest ! router bgp 60000 no synchronization network 100.0.0.0 mask 255.255.255.0 network 101.0.0.0 mask 255.255.255.0 aggregate-address 110.0.0.0 255.255.255.252 summary-only redistribute connected neighbor 110.0.0.2 remote-as 54321 neighbor 110.0.0.2 version 4 neighbor 110.0.0.2 filter-list 10 out neighbor 192.168.0.2 remote-as 60000 neighbor 192.168.0.2 update-source Loopback0 neighbor 192.168.0.2 version 4 neighbor 192.168.0.2 password SamePasswordAsOnPeer no auto-summary ! ip classless ip default-network 192.41.177.0 !MAE-East ip default-network 198.32.200.0 !MAE-West ! ip route 100.0.0.0 255.255.255.0 Null0 ip route 100.0.0.8 255.255.255.248 100.0.0.46 ip route 100.0.0.16 255.255.255.240 100.0.0.46 ip route 100.0.0.64 255.255.255.192 100.0.0.46 ip route 101.0.0.0 255.255.255.0 Null0 ip route 101.0.0.8 255.255.255.248 101.0.0.46 ip route 101.0.0.16 255.255.255.240 101.0.0.46 ip route 101.0.0.64 255.255.255.192 101.0.0.46 ! ip as-path access-list 10 permit ^(_60000)*$ ! end