Get the ipv6 address from a interface

Дамјан Георгиевски gdamjan at
Sat Apr 11 03:50:12 CEST 2009

> In Linux, you can only have one IPv4 address per interface (and you
> have to use alias interfaces, such as eth0:0, to assign multiple
> addresses to a physical link).

that's actually not correct, use the "ip" tool (iproute2 package) to see 
how easily you can have several addresses to a single interface.
  ip addr add dev eth0
  ip addr add dev eth0

the need for alias interfaces has been removed, a long time ago (AFAIK 
even before the 2.4 kernel).

дамјан ( )

In theory, there is no difference between theory and practice.
         But, in practice, there is.

More information about the Python-list mailing list