[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



nomid wrote:
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?

No - that's not right.

Apologies, but I missed that you had 193.34.X.88 and 93.209.x.104 - two entirely different subnets. 193.34.X.1 is not a valid gateway for 93.209.x.104, so that machine would have no connectivity.

BTW - this isn't specific to XEN, it's a general networking/IP addressing issue.

I'm still trying to figure out exactly what you are being provided with in terms of IP addresses. Is 193.34.X.88 the only address you have in the 193.34.X.0/25 subnet ? Did your ISP give you a gateway address to use in the 93.209.x.104/25 subnet ?


My **guess** is that 193.34.X.88 is your "outside" address, and that your ISP routes the 93.209.x.0/25 addresses to it. If that is case, you need a router between 193.34.X.88 and 93.209.x.0/25. My preference is to use a separate DomU for a two port firewall (see the thread titled "Question about using Xen in a periphery firewall/router" from last week). Alternatively you'll want to run your Som0 in routed mode with 193.34.X.88 as your outside address, and something in 93.209.x.0/25 for your inside address.

--
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.