[PVE-User] proxmox2 bridge ip alias
CoolCold
coolthecold at gmail.com
Sun Jul 29 14:48:28 CEST 2012
On Sun, Jul 29, 2012 at 4:26 PM, Stefan <stefan at fuhrmann.homedns.org> wrote:
> Hello Flavio,
>
> thank you! Your answer is very helpful!!
>
>> auto vmbr0
>> iface vmbr0 inet static
>> address 10.100.221.1
>> netmask 255.255.255.0
>> gateway 10.100.221.254
>> bridge_ports eth0
>> bridge_stp off
>> bridge_fd 0
>> up ip addr add 10.100.222.1/24 dev vmbr0 || true
>> up ip addr add 10.100.223.1/24 dev vmbr0 || true
>> down ip addr del 10.100.222.1/24 dev vmbr0 || true
>> down ip addr del 10.100.223.1/24 dev vmbr0 || true
>>
> Im thinking this is the easy way and did it. Doing a reboot and all is running
> fine! Cool!
I suggest to use variables instead iface names, like
up ip addr add 10.100.223.1/24 dev "$IFACE" || true
>
> Thanks alot!
> Stefan
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
--
Best regards,
[COOLCOLD-RIPN]
More information about the pve-user
mailing list