Book Image

Network Administration with FreeBSD 7

By : Babak Farrokhi
Book Image

Network Administration with FreeBSD 7

By: Babak Farrokhi

Overview of this book

<p>This book is a guide to FreeBSD for network administrators; therefore it does not cover basic installation and configuration of FreeBSD, but is about using FreeBSD to build, secure, and maintain networks.<br /><br />After introducing the basic tools for monitoring the performance and security of the system the book moves on to cover using jails&acirc;&euro;&rdquo;FreeBSD virtual environments&acirc;&euro;&rdquo;to virtually run multiple instances of FreeBSD on the same hardware. Then it shows how to overcome the different bottlenecks that you may meet depending on the services you are running by tweaking different parameters to maintain a high performance from your FreeBSD server. Next it covers using the ifconfig utility to configure interfaces with different layer protocols and about connectivity testing and debugging tools. After covering using User PPP or Kernel PPP for Point-to-Point Protocol network configuration it explains basic IP forwarding in FreeBSD and the use of the built-in routing daemons, routed and route6d, which support RIPv1, RIPv2, RIPng, and RDISC. Next it covers the OpenOSPFD and OpenBGPD daemons that you can install to run OSPF and BGP on your host. Then it covers setup and configuration of IPFW and PF, and finally looks at some important internet services and how to set them up on your FreeBSD server.</p>
Table of Contents (19 chapters)
Network Administration with FreeBSD 7
Credits
About the Author
About the Reviewer
Preface

Routing IPv6


Similar to IPv4, your host does not automatically forward IPv6 traffic between interfaces, by default. In order to enable packet forwarding between the two IPv6 enabled interfaces, you should modify the net.inet6.ip6.forwarding sysctl variable:

# sysctl net.inet6.ip6.forwarding=1

This can also be achieved by adding the following variable to the /etc/rc.conf file:

ipv6_gateway_enable="YES"

After enabling IPv6 forwarding in the /etc/rc.conf file, you should reboot your system or run relevant rc script:

# /etc/rc.d/network_ipv6 restart

The rtadvd(8) daemon is another component that you may want to enable on a IPv6 router. As mentioned earlier, the hosts automatically configure the IPv6 addresses on their interface, based on the advertisements they receive from the IPv6 enabled routers on the same subnet. These advertisements are called Router Advertisement (RA) packets. The rtadvd(8) daemon sends router advertisements on the specified network interfaces, helping hosts to automatically...