[ovs-discuss] OVS host management with Vlan tagged port
Ariel Moreno
ariel.moreno at mercadolibre.com
Tue Jan 17 16:08:04 UTC 2012
Hi all!
We are trying ovs in our ubuntu server replacing our linux bridges, we would like add to this solution Openstack quantum to provision VM in different VLANs.
We are facing a problem configuring ovs to manage VLAN tagged traffic, in particular we have configured a bridge "bt-int" and added a bond0 interface joining eth0 and eth1
root at ism15vms:~# ovs-vsctl show
93741536-21a1-4216-9d84-f49dfbef0752
Bridge br-int
Port "bond0"
trunks: [446]
Interface "eth0"
Interface "eth1"
Port br-int
Interface br-int
type: internal
And following the recipes I have configured the host mgmt IP to the bond0 interface
bond0 Link encap:Ethernet HWaddr 00:25:90:1f:b5:ae
inet addr:172.16.167.24 Bcast:172.16.167.255 Mask:255.255.255.0
inet6 addr: fe80::225:90ff:fe1f:b5ae/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:23613 errors:0 dropped:0 overruns:0 frame:0
TX packets:7635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2960928 (2.9 MB) TX bytes:1061892 (1.0 MB)
My problem come up when I configured my physical switch to send tagged traffic, because I loose IP access to my server. It is mandatory to me to manage VLAN tagging through this interface to be able to deploy my VMs in different VLANs.
My /etc/network/interfaces file is the following.
auto bond0
iface bond0 inet static
pre-up ifconfig bond0 up
up ifenslave bond0 eth0 eth1
address 172.16.167.24
netmask 255.255.255.0
gateway 172.16.167.1
What am I doing wrong?
I wil appreciate any idea.
Regards
Ariel Moreno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120117/b2a11384/attachment.html>
More information about the discuss
mailing list