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

Re: How to have two static addresses on one interface?



Stephane Bortzmeyer wrote:
> iface eth0 inet6 static
>         address FEC0:1:0:FF00::1
>         netmask 64
>         up ifconfig eth0 add 2001:0910::1/32
>
> which does not seem very elegant: it hides the fact that none of
> the two addresses is "primary".

up ip addr add 2001:0910::1/32 dev eth0

-- 
Hasso Tepper



Reply to: