PVE interfaces net config help pls
i have public ip say 220.127.116.11/24 (for PVE vps) and 18.104.22.168/24 (for VM)
and also assigned by provider ip for internal (private) networking in DC: 10.1.1.200/24 for this VPS, 10.1.1.201 for another VPS and so on...
i have on PVE node this in config:
auto lo iface lo inet loopback iface ens3 inet manual # bridge for public IPs: auto vmbr0 iface vmbr0 inet static address 22.214.171.124/24 gateway 126.96.36.199 bridge_ports ens3 bridge_stp off bridge_fd 0 # bridge for internal/private IPs: auto internal iface internal inet static address 10.1.1.200/24 gateway 10.1.1.1 bridge_ports ens3 bridge_stp off bridge_fd 0
unfortunately internal networking doesnot work with above config (this PVE vps is not able connect through internal net to other VPSes in DC)
probably proper routing is missing, route -n does not appears/not contains:
10.1.1.0/24 dev internal proto kernel scope link src 10.1.1.200
when i replace line address
10.1.1.200/24 w address
and comment line with gateway:
# gateway 10.1.1.1
then it works and i can connect other vpses in DC through internal network and ips...
to destination internal IP seems to be still routed through public IP and useless through Its gateway (188.8.131.52) instead direct routing through (nearest) 10.1.1.1 gw and network, bcs ping note
New nexthop what means when i good understand that router redirect packets to more direct route:
From 184.108.40.206: icmp_seq=2 Redirect Host(New nexthop: 10.1.1.201)
What should be proper config pls instead:
# bridge for internal/private IPs: auto internal iface internal inet static address 10.1.1.200/24 gateway 10.1.1.1 bridge_ports ens3 bridge_stp off bridge_fd 0
for internal networking to make it working properly, have direct routing between private Ips through 10.1.1.0/24 instead 220.127.116.11/24 and avoid mentioned redirection by router?
Many thanks for solution and help with this!