HQ RTR
HQ-RTR (EcoRouter)¶
vmbr1 (ISP)¶
vmbr3 (HQ-SRV)¶
vmbr3 (HQ-CLI)¶
vmbr3 (Management / Vlan 999)¶
Gateway¶
GRE¶
int Tunnel0
ip addr 192.168.4.1/28
ip tunnel 172.16.1.2 172.16.2.2 mode gre
ip ospf authentication
ip ospf authentication-key aboba
OSPF¶
router ospf 1
passive-interface deafult
no passive-interface Tunnel0
network 192.168.1.0/27 area 0
network 192.168.2.0/28 area 0
network 192.168.9.0/29 area 0
network 192.168.4.0/28 area 0
Никогда не добавляйте сеть 172.16.0.0 (ISP) в OSPF - это ошибка.
NAT (HQ-CLI, HQ-SRV -> ISP)¶
ip nat pool NAT_POOL 192.168.1.1-192.168.1.31,192.168.2.1-192.168.2.15,192.168.9.1-192.168.9.7
ip nat source dynamic inside-to-outside pool NAT_POOL overload interface ISP
DHCP (HQ-CLI)¶
dhcp-server 1
domain-name au-team.irpa
domain-search au-team.irpa
dns 192.168.1.2
gateway 192.168.2.1
mask 28
pool DHCP_POOL 1