How to Configure Network on Ubuntu Virtual Machine with Xen hypervisor
Network Configuration
================
This section describes how to set up linux bridging in Xen.
It assumes eth1 is both your primary interface to dom0 and the interface you want your VMs to use.
It also assumes you're using DHCP.
1)
Install Bridge utils
#sudo apt-get install bridge-utils
2)
Stop Network Manager
#sudo /etc/init.d/network-manager stop
3)
Edit Interface
#vim /etc/network/interfaces
auto lo
iface lo inet loopback
auto xenbr0
iface xenbr0 inet dhcp
bridge_ports eth1
auto eth1
iface eth1 inet dhcp
4)
Restart networking to enable xenbr0 bridge.
#sudo /etc/init.d/networking restart
Network Configuration
================
This section describes how to set up linux bridging in Xen.
It assumes eth1 is both your primary interface to dom0 and the interface you want your VMs to use.
It also assumes you're using DHCP.
1)
Install Bridge utils
#sudo apt-get install bridge-utils
2)
Stop Network Manager
#sudo /etc/init.d/network-manager stop
3)
Edit Interface
#vim /etc/network/interfaces
auto lo
iface lo inet loopback
auto xenbr0
iface xenbr0 inet dhcp
bridge_ports eth1
auto eth1
iface eth1 inet dhcp
4)
Restart networking to enable xenbr0 bridge.
#sudo /etc/init.d/networking restart
Run Following commands in there is any network related issue after Xen Server restart
ReplyDelete#sudo /etc/init.d/network-manager stop
#sudo /etc/init.d/networking restart
Or
Disable "network-manager" from start-up services
https://help.ubuntu.com/community/XenProposed