Get the ipv6 address from a interface
gdamjan at gmail.com
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 184.108.40.206/24 dev eth0
ip addr add 220.127.116.11/24 dev eth0
the need for alias interfaces has been removed, a long time ago (AFAIK
even before the 2.4 kernel).
дамјан ( http://softver.org.mk/damjan/ )
In theory, there is no difference between theory and practice.
But, in practice, there is.
More information about the Python-list