[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Bridged networking example
On 2012-12-07 10:56, Sven wrote: Have you had a look at the wiki, e.g. http://wiki.xen.org/wiki/Network_Configuration_Examples_%28Xen_4.1%2B%29Yes, I have, but I'm not sure how to configure the bridge in my case.Currenty, eth0 is configured with the public static IP of Dom0. Do I have to move this configuration to xenbr0? Which interface will Dom0 use after thebridge is up? Assuming your dom0 is also Gentoo try the following in your /etc/conf.d/net config_eth0="null" dns_domain_eth0="example.com" dns_servers_eth0="dnsip1 dnsip2" dns_search_eth0="example.com search.com" routes_eth0="" bridge_breth0="eth0" config_breth0="dom0ip/netmask" brctl_breth0="setfd 0 sethello 10 stp off" routes_breth0="default via gatewayip" rc_net_need_breth0="net.eth0"Create suitable links in /etc/init.d from net.lo to net.eth0 and net.breth0 then rc-update to add them to the default runlevel. rc-update add net.eth0 default rc-update add net.breth0 defaultYou could probably consolidate the dns settings to the bridge configuration. In my guest configuration file I have: vif = [ 'bridge=breth0' ] _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |