Hostname Site-1
No ip domain-lookup
Enable secret cisco
Line con 0
Logging synchronous
Password cisco
Login
exit
Line vty 0 4
Password cisco
Login
exit
Service password-encryption
Banner motd #hahaha#
Int s0/0/0
Ip add 192.168.10.105 255.255.255.252
No sh
Description To_HQ_Router
Clock rate 128000
Exit
Int g0/0.45
Encapsulation dot1q 45
Ip add 192.168.45.1 255.255.255.0
Int g0/0.47
Encapsulation dot1q 47
Ip add 192.168.47.1 255.255.255.0
Int g0/0.101
Encapsulation dot1q 101
Ip add 192.168.101.1 255.255.255.0
Int g0/0
No shut
Exit
Hostname Main
Int s0/0/0
Ip add 192.168.10.106 255.255.255.252
Bandwidth 128
Ip ospf cost 7500
No shut
Int s0/0/1
Ip add 192.168.10.113 255.255.255.252
No shut
Clock rate 128000
Bandwidth 128
Int s0/1/0
Ip add 198.51.100.1 255.255.255.240
Bandwidth 128
No shut
Int g0/0
Ip add 192.168.18.41 255.255.255.248
No shut
exit
Int g0/0
Ip nat inside
Int s0/1/0
Ip nat outside
exit
Ip nat pool INTERNET 198.51.100.3 198.51.100.13 netmask 255.255.255.240
Ip nat inside source static 192.168.18.46 198.51.100.14
Access-list standard 1
Site-2
Hostname Site-2
Int s0/0/0
Bandwidth 128
Ip add 192.168.10.126 255.255.255.252
No shut
Int s0/0/1
Ip add 192.168.10.114 255.255.255.252
Bandwidth 128
No shut
exit
Hostname Site1-SW1
Vlan 45
Name finance
Vlan 47
Name sales
Vlan 101
Name netadmin
Int range g0/1-2
No shut
Switchport mode trunk
Int f0/10
Switchport mode access
Switchport access vlan 45
No shut
Int f0/15
Switchport mode access
Switchport access vlan 47
No shut
Int vlan 101
Ip add 192.168.101.2 255.255.255.0
Exit
Ip default-gateway 192.168.101.1
Int range f0/1-9, f0/11-14, f0/16-24
Switchport mode access
Shutdown
Site1-SW2
Hostname Site1-SW2
Vlan 45
Name finance
Vlan 47
Name sales
Vlan 101
Name netadmin
Int g0/1
No shut
Switchport mode trunk
Int f0/3
Switchport mode access
Switchport access vlan 45
No shut
Int f0/21
Switchport mode access
Switchport access vlan 47
No shut
Int vlan 101
Ip add 192.168.101.3 255.255.255.0
Exit
do