[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] dom0 eth0:0, eth0:1, eth0:2 network setup alias ips
On Wed, Mar 24, 2010 at 1:41 AM, Dan Waterloo <dan@xxxxxxx> wrote: > I was wondering if there was a way to setup the physical eth0 with only a > mac address, then put a bridge in > dom0 with the eth0 mac address, and some virtual eth ports, each with a > public IP/netmask/gateway? > > I'm thinking that I'd need to do this manually...? You need to provide some examples, as your earlier explanation is somewhat confusing. Here's an example though. Let's say you have three different IP address available, 192.168.1.101,102,and 103, netmask 255.255.255.0. All these IPs use gateway 192.168.1.1 as gateway (as they're on the same network) and 8.8.8.8 as DNS. Setting this is easy. First pick one IP you want to use in dom0. Say 192.168.1.101. Put it on eth0, and use xen's default network bridge script. You should end up with a bridge called eth0 or xenbr0 (depends on your xen version). Next create two domUs using the xenbr0 bridge, assign them each one of the remaining IPs (192.168.1.102 and 192.168.1.103). Use the same DNS and gateway as you do on dom0. That should be it. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |