Hello,
I have an issue after migration of an openvz container to a newserver. The outbound ip of the container is the server ip and not the public ip assign in proxmox.
No issue in inbound traffic.
The hosting datacenter use failover ip but i don't think that's cause the issue.
Certainely need change some sysctl but all testing failed
Any idea ?
Thanks
--
from container :
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:<public ip>
from proxmox :
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
<public ip> 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
0.0.0.0 <datacenter gw> 0.0.0.0 UG 0 0 0 vmbr0
sysctl :
net.ipv4.ip_forward = 1
I have an issue after migration of an openvz container to a newserver. The outbound ip of the container is the server ip and not the public ip assign in proxmox.
No issue in inbound traffic.
The hosting datacenter use failover ip but i don't think that's cause the issue.
Certainely need change some sysctl but all testing failed
Any idea ?
Thanks
--
from container :
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:<public ip>
from proxmox :
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
<public ip> 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
0.0.0.0 <datacenter gw> 0.0.0.0 UG 0 0 0 vmbr0
sysctl :
net.ipv4.ip_forward = 1
Last edited: