WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] One nic multiple ip's

xend is bridge enabled
dom0 /etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 193.34.X.88
netmask 255.255.255.128
gateway 193.34.X.1
-----------------------------------------
domU /etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 93.209.x.104
netmask 255.255.255.128
gateway 193.34.X.1

I try these, its right, or missing something?


Simon Hobson-2 wrote:
> 
> nomid wrote:
> 
>>Current /etc/network/interfaces settings:
>>
>>auto lo
>>iface lo inet loopback
>>
>>auto eth0
>>iface eth0 inet static
>>address 193.34.X.88
>>netmask 255.255.255.128
>>gateway 193.34.X.1
>>
>>auto eth0:0
>>iface eth0:0 inet static
>>         address 93.104.X.230
>>         netmask 255.255.255.128
>>         gateway 193.34.X.1
>>
>>auto eth0:1
>>iface eth0:1 inet static
>>         address 93.104.X.231
>>         netmask 255.255.255.128
>>         gateway 193.34.x.1
>>..
>>.
>>.
>>ip's are 193.34.X.88 and 93.104.x.230 - .233
>>
>>Now all ip's working. If i try 93.104 adress on domU.
>>Dom0 can acces net, but DomU not.
> 
> You DO NOT add the IPs to Dom0, if Dom0 is in bridging mode then you 
> simply add the IP you want to DomU. This is just as you would do if 
> you had a 'real' network of 'real' machines - each machine MUST have 
> a unique address not used by any other machine in the world.
> 
> 
> -- 
> Simon Hobson
> 
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/One-nic-multiple-ip%27s-tp25141074p25148288.html
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users