ISP

en
conf t
hostname ISP

int g0/2
	ip add dhcp
	ip nat outside
	no shu

int g0/0
	ip add 178.207.179.1 255.255.255.248
	ip nat inside
	no shu
int g0/1
	ip add 178.207.179.25 255.255.255.248
	ip nat inside
	no shu
	exit

router bgp 31133
	network 0.0.0.0
	network 178.207.179.0 mask 255.255.255.248 
	network 178.207.179.24 mask 255.255.255.248
	neigh 178.207.179.4 remote-as 64500
	exit 

ip access-list standard NAT
	permit 178.207.179.0 0.0.0.7
	permit 178.207.179.24 0.0.0.7
	exit
ip nat inside source list NAT int g0/2 over

 

rtr-cod

en
conf t
hostname rtr-cod.cod.ssa2026.region


int g0/0
	ip add 178.207.179.4 255.255.255.248
	ip nat outside
	no shu
int g0/1
	ip add 10.1.0.1 255.255.255.252
	ip nat inside
	no shu
	exit

router bgp 64500
	neigh 178.207.179.1 remote-as 31133
	exit 

int tun 100
	ip add 10.0.0.1 255.255.255.252
	tun dest 178.207.179.28
	tun sou g0/0
	exit


ip access-list standard NAT
	permit 10.1.0.0 0.0.255.255
	exit
ip nat inside source list NAT int g0/0 over

router ospf 100
	pass def
	no pass tun 100
	no pass g0/1
	router-id 10.0.0.1
	network 10.1.0.0 0.0.0.3 area 0
	network 10.0.0.0 0.0.0.3 area 0
	exit

int tun 100
	ip ospf authentication message-digest
	ip ospf message-digest-key 1 md5 P@ssw0rd
int g0/1
	ip ospf authentication message-digest
	ip ospf message-digest-key 1 md5 P@ssw0rd


 
ip domain-name cod.ssa2026.region
ip name-server 10.1.10.10
ntp server 10.1.10.10

line vty 0 4 
 login local
 transport input ssh
line con 0
 login local
 exit

aaa new-model
aaa authentication login default group radius
aaa authorization exec default group radius
aaa authorization console
radius server SRV1-COD
 address ipv4 10.1.10.10 auth-port 1812 acct-port 1813
 key cisco

rtr-a

en
conf t
hostname rtr-a.office.ssa2026.region


int g0/0
	ip add 178.207.179.28 255.255.255.248
	ip nat outside
	no shu
int g0/1
	no shu
int g0/1.100
	en dot 100
	ip add 10.2.10.254 255.255.255.0
	ip nat inside
	no shu
int g0/1.200
	en dot 200
	ip add 10.2.20.254 255.255.255.0
	ip nat inside
	no shu
int g0/1.300
	en dot 300
	ip add 10.2.30.254 255.255.255.0
	ip nat inside
	no shu
	exit

ip route 0.0.0.0 0.0.0.0 178.207.179.25

int tun 100
	ip add 10.0.0.2 255.255.255.252
	tun dest 178.207.179.4
	tun sou g0/0


ip access-list standard NAT
	permit 10.2.0.0 0.0.255.255
	exit
ip nat inside source list NAT int g0/0 over


router ospf 100
	pass def
	no pass tun 100
	router-id 10.0.0.2
	network 10.2.10.0 0.0.0.255 area 0
	network 10.2.20.0 0.0.0.255 area 0
	network 10.2.30.0 0.0.0.255 area 0
	network 10.0.0.0 0.0.0.3 area 0
	exit

int tun 100
	ip ospf authentication message-digest
	ip ospf message-digest-key 1 md5 P@ssw0rd


ip domain-name cod.ssa2026.region
ip name-server 10.1.10.10
ntp server 10.1.10.10