This code was originally embedded in Kame stack developed by the Wide consortium. Through the M6Bone projects, some new features have been added and latest pim6sd code with the main set of features is available at http://clarinet.u-strasbg.fr/ hoerdt/pim6sd_linux/
Basic features implemented:
Main features:
PIM SM/SSM
BSR (PIM-SM draft) or static RP configuration (depending Kame snapshot)
RP functionnality
IPv6 in IPv6 tunneling
Home made add-ons:
Luc Beurton implemented:
Stig Venaas implemented:
Configuration examples:
Activation IPv6 stack
#in file /etc/rc.conf"
ipv6_enable="YES"
Enabling IPv6 routing
#in file /etc/rc.conf
ipv6_gateway_enable="YES"
Disabling "Router Advertisement"
#in file /etc/rc.conf
rtadvd_enable="NO"
Manual configuration of the IPv6 address on an interface
#in file /etc/rc.local
ifconfig interface_name inet6 @ipv6 prefixlen 64
Declaration of a default route
#in file /etc/rc.local
route add -inet6 default @ipv6_default_router%xl0
Declaration of route for an address (/128)
#in file /etc/rc.local
route add -inet6 -host @ipv6_host @ipv6_next_hop%xl0
Create an IPv6/IPv6 tunnel
#in file /etc/rc.local
ifconfig gif0 create
ifconfig gif0 inet6 @ipv6_local_tunnel @ipv6_distant_tunnel prefixlen 128
gifconfig gif0 inet6 @ipv6_local_physical @IPv6_distant_physical
ifconfig gif0 up
Create an IPv6/IPv4 tunnel
#in file /etc/rc.local
ifconfig gif0 create
ifconfig gif0 inet6 @ipv6_local_tunnel @ipv6_distant_tunnel prefixlen 128
gifconfig gif0 inet @ipv4_local_physical @ipv4_distant_physical
ifconfig gif0 up
Run PIM Sparse-Mode (pim6sd)
#in file /etc/rc.local
pim6sd -c /etc/pim6sd.conf
Configuration of PIM SM
#all information clearly available with
#man pim6sd.conf