IPv6 Router Advertisement Daemon installation on Debian GNU/Linux with a sixx's subnet
Par Ludovic Francois, mardi 18 juillet 2006 à 22:44 :: ipv6 :: #21 :: rss
IPv6 Router Advertisement Daemon installation on Debian GNU/Linux with a sixx's subnet
ip forwarding activation
root@obelix:~ # echo 1 > /proc/sys/net/ipv6/conf/all/forwarding root@obelix:~ # cat /proc/sys/net/ipv6/conf/all/forwarding 1 root@obelix:~ #
radvd package installation
root@obelix:~ # aptitude install radvd
deletion of old IPs on my router eth1 interface (Hexago configuration)
root@obelix:/var/log # ip addr del 2001:5c0:912a::1/64 dev eth1 root@obelix:/var/log # ip addr add 2001:6f8:379::1/64 dev eth1
radvd.conf
root@obelix:/var/run/radvd # cat /etc/radvd.conf
interface eth1 {
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
prefix 2001:6f8:379::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};
root@obelix:/var/run/radvd # radvd -d 2
Start of radvd daemon
root@obelix:~ # /etc/init.d/radvd stop Stopping radvd: No /usr/sbin/radvd found running; none killed. radvd. root@obelix:~ # /etc/init.d/radvd start Starting radvd: radvd. root@obelix:~ #
Linux client side view
ludo@idefix:~ % ip addr show eth1
8: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:13:ce:0d:35:5b brd ff:ff:ff:ff:ff:ff
inet 192.168.1.44/24 brd 192.168.1.255 scope global eth1
inet6 2001:6f8:379:0:213:ceff:fe0d:355b/64 scope global dynamic
valid_lft 2592000sec preferred_lft 604800sec
inet6 fe80::213:ceff:fe0d:355b/64 scope link
valid_lft forever preferred_lft forever
ludo@idefix:~ %
Commentaires
Aucun commentaire pour le moment.
Ajouter un commentaire