BR RTR
vmbr2 (ISP)¶
vmbr4 (BR-SRV)¶
Gateway¶
GRE¶
int tunnel.1
ip addr 192.168.4.2/28
ip tunnel 172.16.2.2 172.16.1.2 mode gre
ip ospf authentication
ip ospf authentication-key aboba
OSPF¶
router ospf 1
passive-interface default
no passive-interface tunnel.1
network 192.168.3.0/28 area 0
network 192.168.4.0/28 area 0
Никогда не добавляйте сеть 172.16.0.0 (ISP) в OSPF — это ошибка.
NAT (BR-SRV -> ISP)¶
ip nat pool NAT_POOL 192.168.3.1-192.168.3.15
ip nat source dynamic inside-to-outside pool NAT_POOL overload interface ISP