Changes

Jump to: navigation, search

Xen

98 bytes added, 7 years ago
Basic Networking with the Dom0
Make sure dhcpcd, eth0 and eth1 don't start at boot:
<console>
###i## rc-update del dhcpcd sysinit###i## rc-update del netif.eth0 sysinit###i## rc-update del netif.eth1 sysinit
</console>
Configure the slave interfaces:
<console>
###i## cd /etc/conf.d/###i## echo 'template="interface-noip"' > netif.eth0###i## echo 'template="interface-noip"' > netif.eth1
</console>
Then Now, we are going to prepare the bridges.:
<console>
###i## nano netif.xenbr0
</console>
here we set the internal Xen bridge:
 {{File|/etc/conf.d/netif.xenbr0|<pre>
template="bridge"
ipaddr="10.0.1.200/24"
domain="funtoo.org"
slaves="netif.eth0"
</pre>}} Then , we are setting set up the external interface:
<console>
###i## nano netif.extbr0
</console>
this is looking quiet {{Fancynote| This will look quite similar, please . Please watch out for the correct slave setting!}} {{File|/etc/conf.d/netif.extbr0|<pre>
template="bridge"
ipaddr="10.0.1.201/24"
domain="funtoo.org"
slaves="netif.eth1"
</pre>}}
This gives us the possibility to play around with various setups later, it's modular and easy to tweak and change.
Better you invoke {{Fancytip| It is probably a good idea to try starting the interfaces with "rc" on the command line the openrc script and test if the network cards get initialized correctlybefore rebooting.}}
== Basic Networking with domU ==
Anonymous user

Navigation menu