next up previous contents
Next: Freenet6 Project Up: net-tools and iproute Previous: net-tools   Índice General

iproute

The iproute package of Alexey N. Kuznetsov allow the networks configuration through the netlink device. With this tool we have more functionality than net-tools provide. First we have to see if the version installed support IPv6:
/sbin/ip 2>&1 |grep -qw 'inet6' && echo "utility 'ip' is IPv6-ready"

If the package doesn't support, update to a more recent version.

If we want to show the address of the network interfaces, we have to execute the following command:

ip -6 addr show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
inet6 ::1/128 scope host
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
inet6 fe80::205:1cff:fe06:1d6a/10 scope link

We can see the loopback interface an our network interface card. We can see, as with the ifconfig command, that our inteface has the link local address associated. And finally we can see the ipv6 route table:

ip -6 route
fe80::/10 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440
ff00::/8 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440
default dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440



ismak 2003-06-18