[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: AW: AW: [Xen-users] xen + vlan: works but...
Angel Lopez wrote: Is there any howto or reference doc. about this? I need to setup something like that. Hi,I've found suggestion and comments useful on that list. A well done document is that of Felipe Alfaro: http://felipe-alfaro.org/blog/2006/07/21/xen-network-configuration-and-multiple-vlans/ Essentially it's a matter of: 1- creating a vlan (e.g. with id N) for -- say -- physical eth0 * modprobe 8021q * vconfig add eth0 N Now you have an eth0.N * ifconfig eth0.N 0.0.0.0 up 2- creating a bridge for that vlan * brctl addbr vbridgeN * ifconfig vbridgeN 0.0.0.0 up 3- adding the vlan iface to the bridge * brctl addif vbridgeN eth0.N 4- create a VM config and inserting it's eth0 on the new vbridgeN That could be done as follows in the vm config file: * vif = [ 'mac=....., bridge=vbridgeN' ] 5- Now on the VM you con configure it's eth0 with an IP on the vlanN And if your vlan setup is right, all should be working...Please let me know if you can experiment with UDP traffic and you see my same problem... Bye, -- -- Marco Mililotti "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." Benjamin Franklin _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |