! Listing 8.21: Router External #1 using fully dynamic routing toward the Internet ! !Copyright (C) 2001 by Vincent C Jones. All Rights Reserved. version 11.0 ! hostname External_1 ! ip subnet-zero ! interface Ethernet0/0 description No Man's Land LAN #1 ip address 100.0.0.33 255.255.255.240 ip access-group 193 in no ip redirects no ip directed-broadcast ip ospf message-digest-key 100 md5 LongStrongKey ! interface Ethernet0/1 description No Man's Land LAN #2 ip address 100.0.0.49 255.255.255.240 ip access-group 193 in no ip redirects no ip directed-broadcast ip ospf message-digest-key 100 md5 LongStrongKey ! interface Serial1/0 no ip address encapsulation frame-relay ! interface Serial1/0.123 description Link to the Internet via ISP ip address 110.0.0.1 255.255.255.252 ip access-group 191 in ip access-group 192 out no ip unreachables no ip directed-broadcast bandwidth 1544 frame-relay interface-dlci 123 ! router ospf 321 redistribute connected redistribute bgp 65000 network 100.0.0.32 0.0.0.31 area 666 default-information originate area 666 authentication message-digest ! router bgp 65000 network 100.0.0.0 mask 255.255.255.0 neighbor 110.0.0.2 remote-as 54321 neighbor 110.0.0.2 distribute-list 1 in ! ip route 100.0.0.0 255.255.255.0 Null0 ip route 100.0.0.8 255.255.255.252 100.0.0.46 ip route 100.0.0.12 255.255.255.252 100.0.0.62 ip route 100.0.0.16 255.255.255.248 100.0.0.46 ip route 100.0.0.24 255.255.255.248 100.0.0.62 ip route 100.0.0.64 255.255.255.224 100.0.0.46 ip route 100.0.0.96 255.255.255.224 100.0.0.62 ! access-list 1 permit 0.0.0.0 0.0.0.0 ! end