[SOLVED] vmbr Network Question - Proxmox 1.8 & IPCop 2.0.2
Hi there, I have a server that we have colocated at another data center. Its a single server with PM VE 1.8 on it. It has two physical NICs on it, but only one is connected at this time to the data center's WAN connection.
I installed IPCop 2.0.2 on there as a KVM so that I could use it as the front-end firewall for all the OpenVZ containers I will be installing on the box. I have it set in a typical RED/GREEN configuration.
On Proxmox I have setup vmbr0 which is tied to eth0, and has IP allocation set from the data center's WAN IP allocation. I then setup vmbr1 which will be the virtual network switch that IPCop will use as its green network. This is not tied to a physical NIC but has a local IP address allocation (private LAN).
I have created a test OpenVZ server (CentOS5).
In IPCop I can see both networks. IPCop can ping the WAN through vmbr0 and can ping the LAN (Green) CentOS server just fine.
When I VNC into the CentOS server, and attempt to edit /etc/sysconfig/network-scripts I see ifcg-venet0:0 as the virtual network device. The default values are showing as:
DEVICE=venet0:0
ONBOOT=yes
IPADDR=192.168.110.10
NETMASK=255.255.255.255
I change them to what I want:
DEVICE=venet0:0
ONBOOT=yes
IPADDR=192.168.110.10
NETMASK=255.255.255.0
GATEWAY=192.168.110.1
The Gateway is the IPCop KVM.
I save those settings, and then reboot the CentOS server.
Each time I return to the server, its been reset back to its default settings. I lose the netmask & gateway settings I put in there.
Why is this happening? What am I doing wrong here?
Myles
Hi there, I have a server that we have colocated at another data center. Its a single server with PM VE 1.8 on it. It has two physical NICs on it, but only one is connected at this time to the data center's WAN connection.
I installed IPCop 2.0.2 on there as a KVM so that I could use it as the front-end firewall for all the OpenVZ containers I will be installing on the box. I have it set in a typical RED/GREEN configuration.
On Proxmox I have setup vmbr0 which is tied to eth0, and has IP allocation set from the data center's WAN IP allocation. I then setup vmbr1 which will be the virtual network switch that IPCop will use as its green network. This is not tied to a physical NIC but has a local IP address allocation (private LAN).
I have created a test OpenVZ server (CentOS5).
In IPCop I can see both networks. IPCop can ping the WAN through vmbr0 and can ping the LAN (Green) CentOS server just fine.
When I VNC into the CentOS server, and attempt to edit /etc/sysconfig/network-scripts I see ifcg-venet0:0 as the virtual network device. The default values are showing as:
DEVICE=venet0:0
ONBOOT=yes
IPADDR=192.168.110.10
NETMASK=255.255.255.255
I change them to what I want:
DEVICE=venet0:0
ONBOOT=yes
IPADDR=192.168.110.10
NETMASK=255.255.255.0
GATEWAY=192.168.110.1
The Gateway is the IPCop KVM.
I save those settings, and then reboot the CentOS server.
Each time I return to the server, its been reset back to its default settings. I lose the netmask & gateway settings I put in there.
Why is this happening? What am I doing wrong here?
Myles
Last edited: