Xen networking

From JJBwiki

Jump to: navigation, search


Xen handles networking in a fairly straight forward way. Here are some links for you to read about in depth: [Xen wiki networking]


[edit] Using tagged VLAN's inside a VM

No additional network configuration is needed on the actual host. The configuration on the VM itself is plain jane redhat VLAN configuration.

  1. Edit /etc/sysconfig/network
    1. Add the line VLAN=yes
  2. Create an interface alias using the scheme ifcfg-X.Y
    1. Where X = interface and Y = vlan id
ie ifcfg-eth1.120
  1. Edit the original network interface and ensure that it only has 2 lines in it
ie ifcfg-eth1
    1. ONBOOT=yes
    2. DEVICE=eth1
Personal tools