network on vm weird

xxx31fr

New Member
Sep 22, 2016
12
0
1
47
hi,

I've some weird things with my LCX container on my Kimsufi.

I detail:

On the host, there is 3 NICs:
1/ eth0
2/ vmbr0 | linux bridge | port slave : eth0 | ip publique de mon srv...
3/ vmbr 1 | linux bridge [ port slave : dummy0 | ip: 10.10.12.254/24

on my LCX Container
1 NIC net0, called eth0, bridge mode on VMBR1 and ip address 10.10.12.1/24

On host (proxmox), I runned the following commands:
echo 1 > /proc/sys/net/ipv4/ip_forward
and
iptables -t nat -A POSTROUTING -s 10.10.12.0/24 -o vmbr1 -j MASQUERADE

From my container, I can ping 8.8.8.8 or any domain name, example google.com

But an apt-get update failed:
ex:
Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.149 80]

I don't understand where is the problem

Thanks
 
no, no, you're wrong,
It's seem like all http request could not be reach, because, when I open lynx, I can't access any http/https links

but, a ping with any domain name works