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

Re: [Xen-users] Need support for xen network configuration



lee <lee@xxxxxxxxxxxxxxx> wrote:

>> Rather than add aliases, AIUI it's now preferred to just add addresses 
>> (whether in the same subnet or a different one).
>> So something like :
>> iface eth0 inet static
>>  address 192.168.1.1
>>  ...
>>  post up ip addr add address 192.168.1.7/24
>>  post up ip addr add address 10.0.0.1/24
> 
> /24?

As already mention, that's the easy way of writing the subnet mask.

> The bridge needs to have the IP addresses, *not* the physical interface.

Yes, I thought about that after posting. I was illustrating (in general) how to 
add additional IP addresses to an interface, it can be any interface you are 
configuring.

> The physical interface needs to be added to the bridge.  It does not
> need to (should not) have an IP address itself.

Correct

> Please be aware that a bridge is a bridge.  When you do this, you
> connect all these different networks with each other.  That is probably
> *not* what you want.

In the OPs case I think it is. He appears to have all traffic on one physical 
link - so the easiest way to handle it is to keep it as one network all the way 
through. So one bridge, and just configure the appropriate IP(s) on each DomU.

I agree, far from ideal, and I'd prefer to keep external and internal traffic 
segregated. But we don't know the setup the OP is working in - whether that 
arrangement is externally imposed or self imposed, or whether it's up for 
change.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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