Changes

Jump to: navigation, search

Xen

27 bytes removed, 4 years ago
Basic Networking with the Dom0
<console>
###i## cd /etc/init.d/
###i## ln -s netif.tmpl netifnet.xenbr0###i## ln -s netif.tmpl netifnet.extbr0###i## ln -s netif.tmpl netifnet.eth0###i## ln -s netif.tmpl netifnet.eth1###i## rc-update add netifnet.xenbr0 sysinit###i## rc-update add netifnet.extbr0 sysinit
</console>
<console>
###i## rc-update del dhcpcd sysinit
###i## rc-update del netifnet.eth0 sysinit###i## rc-update del netifnet.eth1 sysinit
</console>
<console>
###i## cd /etc/conf.d/
###i## echo 'template="interface-noip"' > netifnet.eth0###i## echo 'template="interface-noip"' > netifnet.eth1
</console>
Now, we prepare the bridges:
###i## nano netif.xenbr0
</console>
here we set the internal Xen bridge by editing <tt>/etc/conf.d/netifnet.xenbr0</tt>:
<pre>
nameservers="10.0.1.1 10.0.1.2"
domain="funtoo.org"
slaves="netifnet.eth0"
</pre>
Then, we set up the external interface:
<console>
###i## nano netifnet.extbr0
</console>
{{Fancynote| This will look quite similar. Please watch out for the correct slave setting!}}
Now, edit <ttcode>/etc/conf.d/netifnet.extbr0</ttcode>: 
<pre>
nameservers="10.0.1.1 10.0.1.2"
domain="funtoo.org"
slaves="netifnet.eth1"
</pre>
wiki-staff
1,105
edits

Navigation menu