Proxmox VE4 CT No internet

AmokPaule

Member
May 10, 2010
44
0
6
Hello,

im trying to get internet access to a CT on Proxmox ve 4.

Host: So you Start (OVH)

IP: Static Fallover.

Settings CT

/etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address Failoverip
netmask 255.255.255.248
gateway Host.254

Settings Host
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# for Routing
auto vmbr1
iface vmbr1 inet manual
post-up /etc/pve/kvm-networking.sh
bridge_ports dummy0
bridge_stp off
bridge_fd 0

/etc/network/interfaces
# vmbr0: Bridging. Make sure to use only MAC adresses that were assigned to you.
auto vmbr0
iface vmbr0 inet static
address HostIP
netmask 255.255.255.0
network 188.165.219.0
broadcast 188.165.219.255
gateway Host.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
post-up /sbin/ip addr add Failover/29 dev eth0 brd + label eth0:0
pre-down /sbin/ip addr Failover/29 dev eth0 brd + label eth0:0

Any help is much appreciated:p
 
Last edited:
Proxmox for instance Hum it seems OVH added their own stuff to PVE: /etc/pve/kvm-networking.sh is not coming from proxmox.

Questions:
* do you have two different public IP adresses and two mac adresses that you can use ?
* can you post the content of pct config <myVMID> ?
 
Hello,

The answers to you questions:

do you have two different public IP adresses and two mac adresses that you can use?
I have about 8 additional ip adresses i could use.
It is possible to configure mac adresses what i have not done yet because i think i read somewhere to not do it when use with lxc.

can you post the content of pct config <myVMID> ?
cpulimit: 1
cpuunits: 1024
disk: 8
hostname: test
memory: 512
net0: name=eth0,hwaddr=2E:36:46:09:41:6B,bridge=vmbr0,ip=5.135.206.128/29,gw=188.165.219.254,ip6=dhcp
storage: local
swap: 512
 
lxc containers only work at the moment in bridge mode to the best of my knowledge
however it could be that your hoster is restricting bridge mode:

especially when I see this in your config file:
Bridging. Make sure to use only MAC adresses that were assigned to you.

can you check with your provider if you are allowed to use extra mac adresses ?
if yes then you must assign these mac adresses to your lxc interface config
 
I requestet a vmac adress for the ip and added it. No change.

Also i have this docukemt and i think they allow bridge modes. http://help.ovh.co.uk/BridgeClient

In their example they use 255.255.255.255 as Netmask for a ve and i have seen this aswell in other ovh realted guies.

But i can not set 255.255.255.255 to the Netmask, as soon i change it it gets reverted back to 255.255.255.248

Aswell the there no settings stored for eth0 and eth1. They are not active and the settings tab is empty in proxmox.
 
Hi Paule
Can you maybe try to create a KVM machine with the same settings (mac adress, IP adress, bridge setup) ?
If it works with KVM then we can be sure the problem comes from the container.
 

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!