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

Re: [Xen-users] interface alias xenbr0:0



Cesar A. wrote:
>> These days, for most uses, the ifx:y form is deprecated in favour of just 
>> adding IPs. So all you need to so is :
>>   ip addr add192.168.0.253/24 dev xenbr0
>> and magically you'll see that xenbr0 now has an extra address on it.

> I need to put in the boot /etc/rc.local ?
> or with /etc/network/interfaces

Please don't top post. And please do NOT reply directly to someone unless they 
ask you to - you should keep discussion on list so that a) others may benefit 
from seeing any further answers, and b) others can see what's been said and 
either add to it or correct it if there are errors.

You add it to interfaces, like this :

iface xenbr0
 bridge_ports ...
 address ...
 netmask ...
 up ip addr add <IP/mask length> dev xenbr0

The interface scripts will automatically execute and "up" statements as they 
bring up the interface, thus adding the extra IP address. There are also 
"post-up", "down" and "pre-down" statements (exectuted at the stages the names 
suggest) which can be useful at times.

_______________________________________________
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®.