en
conf t
hostname ISP
interface e0/0
ip address 178.207.179.1 255.255.255.248
no shu
interface e0/1
ip address 178.207.179.25 255.255.255.248
no shu
router bgp 31130
bgp log-neighbor-changes
network 178.207.179.0 mask 255.255.255.248
network 0.0.0.0
network 178.207.179.24 mask 255.255.255.248
neighbor 178.207.179.4 remote-as 31133
neighbor 178.207.179.28 remote-as 31133
exit
int e0/2
ip address 10.101.6.100 255.255.255.0
no shu
exit
ip route 0.0.0.0 0.0.0.0 10.101.6.254
ip access-list standard NAT
permit 178.207.179.24 0.0.0.7
permit 178.207.179.0 0.0.0.7
exit
ip nat ins sou list NAT int e0/2 over
int e0/0
ip nat inside
int e0/1
ip nat inside
int e0/2
ip nat outside
exit
rtr-cod
en
conf t
hostname rtr-cod.cod.ssa2026
ntp server 192.168.10.10
interface e0/0
ip address 178.207.179.4 255.255.255.248
no shu
router bgp 31133
network 0.0.0.0
neighbor 178.207.179.1 remote-as 31130
neighbor 192.168.1.2 remote-as 64500
exit
int tun 0
tun mode gre ip
tun key 999
ip add 10.10.10.1 255.255.255.252
tun sou e0/0
tunnel destination 178.207.179.28
ip ospf message-digest-key 1 md5 P@ssw0rd
router ospf 100
network 10.10.10.0 0.0.0.3 area 0
network 192.168.1.0 0.0.0.255 area 0
passive-interface default
no pass tun 0
no pass e0/1
area 0 authentication message-digest
exit
int tun 0
ip ospf message-digest-key 1 md5 P@ssw0rd
interface e0/1
no shu
int e0/1.100
en dot 100
ip add 192.168.10.254 255.255.255.0
no shu
int e0/1.200
en dot 200
ip add 192.168.20.254 255.255.255.0
no shu
int e0/1.300
en dot 300
ip add 192.168.30.254 255.255.255.0
no shu
int e0/1.400
en dot 400
ip add 192.168.40.254 255.255.255.0
no shu
int e0/1.500
en dot 500
ip add 192.168.50.254 255.255.255.0
no shu
exit
ip access-list standard NAT
permit 192.168.1.0 0.0.0.255
permit 192.168.10.0 0.0.0.255
permit 192.168.20.0 0.0.0.255
permit 192.168.40.0 0.0.0.255
permit 192.168.30.0 0.0.0.255
permit 192.168.50.0 0.0.0.255
exit
ip nat ins sou list NAT int e0/0 over
int e0/0
ip nat outside
int e0/1
ip nat inside
int e0/1.100
ip nat inside
int e0/1.200
ip nat inside
int e0/1.300
ip nat inside
int e0/1.400
ip nat inside
int e0/1.500
ip nat inside
exit
aaa new-model
aaa authorization exec default group radius
aaa authentication login default group radius
aaa authorization console
radius server SRV
address ipv4 192.168.10.10 auth-port 1812 acct-port 1813
key cisco
exit
rtr-a
en
conf t
hostname rtr-a.office.ssa2026
ntp server 192.168.10.10
interface e0/0
ip address 178.207.179.28 255.255.255.248
no shu
interface e0/1
no shu
int e0/1.100
en dot 100
ip add 192.168.110.254 255.255.255.0
no shu
int e0/1.200
en dot 200
ip add 192.168.120.254 255.255.255.0
no shu
int e0/1.300
en dot 300
ip add 192.168.130.254 255.255.255.0
no shu
exit
router bgp 31133
neighbor 178.207.179.25 remote-as 31130
exit
int tun 0
tun mode gre ip
tun key 999
ip add 10.10.10.2 255.255.255.252
tun sou e0/0
tunnel destination 178.207.179.4
router ospf 100
network 10.10.10.0 0.0.0.3 area 0
network 192.168.110.0 0.0.0.255 area 0
network 192.168.120.0 0.0.0.255 area 0
network 192.168.130.0 0.0.0.255 area 0
passive-interface default
no pass tun 0
area 0 authentication message-digest
exit
int tun 0
ip ospf message-digest-key 1 md5 P@ssw0rd
exit
ip access-list standard NAT
permit 192.168.1.0 0.0.0.255
permit 192.168.110.0 0.0.0.255
permit 192.168.120.0 0.0.0.255
exit
ip nat ins sou list NAT int e0/0 over
int e0/0
ip nat outside
int e0/1.100
ip nat inside
int e0/1.200
ip nat inside
exit