network on vm weird

xxx31fr

New Member
Sep 22, 2016
12
0
1
46
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!