12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Network Configuration—IPv6To enable rtadvd(8), add the following lines to /etc/rc.conf (ensuring that yourhost is also configured to forward IPv6 traffic):rtadvd_enable="YES"rtadvd_interfaces="bge0"Make sure that you only enable transmission of RA packets on interfacesthat you need to do. This can be done using the rtadvd_interfacesvariable.Now you should create a configuration file for the rtadvd(8) daemon. This filecontrols the behavior of the rtadvd(8) daemon. The rtadvd daemon reads/etc/rtadvd.conf upon start up, to find out how it should send RA packets. Asample rtadvd.conf file looks like the following:bge0:\:addr="3ca1:511:ffff:4000::":prefixlen#64:This tells rtadvd daemon to advertise itself as a router for subnet 3ca1:511:ffff:4000::/64.Please see the rtadvd.conf(5) manual pages for more information about variousoptions that you can use in this configuration file.It would be a good idea to use the tcpdump(1) utility to see how the RApackets are being sent.Please note that in this case your machine is configured as a router and not a host,which has a special meaning in IPv6. In IPv6 terminology, a host is a machine thatsends Router Solicitation messages or listens for RA packets to figure out its IPv6address configuration as well as its gateway. On the other hand, a router is a machinethat sends RA packets and is able to forward packets to the correct destination.RIP6FreeBSD 7 has built-in routing daemons that support RIPv1 and RIPv2 for IPv4and RIPng or RIP6 (RFC 2080) for IPv6. The routing daemon that supports RIP6 isrouted6d(8).The route6d(8) daemon is almost equivalent to its IPv4 counterpart and can beenabled by setting the following variable in the /etc/rc.conf file:ipv6_router_enable="YES"[ 180 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!