Centos problem with vmbr for WAN

maykel535

Active Member
Mar 26, 2012
52
0
26
Hi, I have proxmox 2.3 installed. I configure like this:

vmbr0 -> LAN --> eth0
vmbr1 -> WAN ISP --> eth1

I configured the file in /etc/sysconfig/network-scripts/ifcfg-ethX:

ETH0:

DEVICE=eth0
HWADDR=2E:21:C3:BC:09:A3
TYPE=Ethernet
UUID=daf17b64-4246-4423-b4dc-734120590b04
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=10.10.10.206
NETMASK=255.255.0.0
GATEWAY=10.10.10.3



ETH1:

DEVICE=eth1
HWADDR=3A:B5:28:9E:36:58
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=91.126.136.188
NETMASK=255.255.255.0
GATEWAY=91.126.136.161

The ip WAN static 91.126.136.188 is free and not used for any host, but I received this error:

[root@localhost ~]# /etc/init.d/network restart
Interrupción de la interfaz eth0: [ OK ]
Interrupción de la interfaz eth1: [ OK ]
Interrupción de la interfaz de loopback: [ OK ]
Activación de la interfaz de loopback: [ OK ]
Activando interfaz eth0: [ OK ]
Activando interfaz eth1: Error, some other host already uses address 91.126.136.188

And eth1 not up with address:

[root@localhost ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 3A:B5:28:9E:36:58
inet6 addr: fe80::38b5:28ff:fe9e:3658/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4532 (4.4 KiB) TX bytes:950 (950.0 b)


I probed this in debian, and no problems anything...Sorry for my english...Do you think the problem is proxmox or centos...?

I assure you, that this IP is not being used because debian catches it perfectly. Now debian, is off.

Thanks in advanced.
 
imho: use web UI to setup vmbr and after you *must* reboot. Do not expect proxmox to work like commonm server do (eg: /etc/init.d/network restart)

Marco
 
What changes via web interface. The network restart centos or you mean Proxmox. Proxmxo Should be / etc / init.d / networking restart.


I've tried a thousand service network restart and sometimes in centos ip gets well and sometimes not. Again, make sure that this IP is not used by any server.

Thanks in advanced.