ERROR: trying to add VLAN #25 to IF -:bond0:- error: File exists

c4rdinal

New Member
Nov 13, 2012
20
0
1
Hi,

I followed the wiki in creating VLAN and Bonded Interface by Michael Rodriguez in http://pve.proxmox.com/mediawiki/index.php?title=Vlans&oldid=4655

And I came up with the following /etc/network/interfaces:

# network interface settings
auto lo
iface lo inet loopback
iface eth1 inet manual
iface eth0 inet manual


auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode 1


auto bond0.25
iface bond0.25 inet manual
vlan-raw-device bond0


auto bond0.10
iface bond0.10 inet manual
vlan-raw-device bond0




auto vmbr0
iface vmbr0 inet static
address 192.168.25.13
netmask 255.255.255.0
gateway 192.168.25.1
bridge_ports bond0.25
bridge_stp off
bridge_fd 0


auto vmbr1
iface vmbr1 inet static
address 192.168.3.13
netmask 255.255.255.0
bridge_ports bond0.10
bridge_stp off
bridge_fd 0

After I restart the network I got this error:

ERROR: trying to add VLAN #25 to IF -:bond0:- error: File exists
ERROR: trying to add VLAN #10 to IF -:bond0:- error: File exists

At first, It seems that all interfaces: eth0, eth1, bond0, bond0.25, bond10, vmbr0, vmbr1 are all up but whenever I ping 192.168.25.2 (cisco switch), I have a Destination Host Unreachable error.

I made a lot of googling to find the answer but I still haven't find it to make it work.

Could you please help me solve the problem? And maybe spot my mistake?

tail -f /var/log/dmesg --says bond0,vmbr0, vmbr1,eth1,eth0 Link is Up and are full duplex.

But still I cannot get a network connected to the machine.

Hoping for your assistance on the matter.

I'm using Proxmox 2.2 on HP Proliant DL160 G6.

Thanks and more power!
 
I still haven't resolved the issue as indicated above. Can the Moderators confirm if the configurations were defective/incorrect?

Please point me to the right track. tks
 

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!