Proxmox VE + Shorewall + Ubuntu 8.04 container => network problems

guidtz

New Member
Dec 6, 2010
3
0
1
Hello,

i'm a little newby with Proxmox but a good (I Think) Linux System Administror. So I've got a problem when I install shorewall on my proxmox plateform.

When I boot without shorewall, my ubuntu OpenVZ virtual machines works perfectly but when I start shorewall, network is unreachable on ubuntu 8.04 vm, so in Debian and ubuntu 10.04 network working well.

When I try to boot ubuntu 8.04 vm, I've got this errors :
# vzctl --verbose start 101
Starting container ...
Container is mounted
Adding IP address(es): 192.168.1.51
RTNETLINK answers: File exists
vps-net_add ERROR: Unable to add route /sbin/ip route add 192.168.1.51 dev venet0
Container start failed
Stopping container ...

So if I done this :
# ip route del 192.168.1.51

I can boot the vm :
# vzctl --verbose start 101
Starting container ...
Container is mounted
Adding IP address(es): 192.168.1.51
Running container script: /etc/vz/dists/scripts/debian-add_ip.sh
Setting CPU units: 1000
Setting CPUs: 1
Configuring meminfo: 262144
....

So why my ubuntu 8.04 vm doesn't works and all others work :confused::confused::confused:

Guidtz desperate french administrator

Thanks for your help
 
Yes, when shorewall is off so when I haven't go iptable rules. My ubuntu vm works very well.
 

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!