Online
 
Wednesday, 07 January 2009
 
 
More article:
Related Content:

Your Ad Here

IPv6 Network - Faith on FreeBSD
 

IPv6 Network - Faith on FreeBSD

Probably the first implementation of TRT is faith in the KAME IPv6 stack, which is the basis of the IPv6 implementation in FreeBSD and other members of the BSD family. The faith TRT consists of two parts: a faith network interface, and the faithd daemon. FreeBSD normally has a faith0 interface, and new faith interfaces can be created with ifconfig faith create. For the interface to do any useful work, it’s necessary to enable it by using a sysctl setting, and the TRT prefix must be routed to the interface. This is accomplished in Listing 7-7.
Listing 7-7. Enabling the faith Interface
# sysctl -w net.inet6.ip6.keepfaith=1
# ifconfig faith0 inet6 2001:db8:31:6464::127.0.0.1/96
Because FreeBSD lacks a more direct way to route a prefix toward an interface, it’s easiest to configure an address in the TRT prefix on the faith interface. The localhost address is a good choice, as it’s unlikely that this will get in the way of anything. The next step is running the faithd daemon. Before starting the daemon, it’s important to set up access restrictions to keep the rest of the IPv6 Internet from using your relay. This is done in the /etc/faithd.conf file, as shown in Listing 7-8.
Listing 7-8. Restricting Access to faithd
2001:db8:31::/48 permit 0.0.0.0/0


This line instructs faithd to allow relaying from any address in 2001:db8:31::/48 toward any IPv4 address. See the faithd man page for more details. The easiest way to run faithd is to start it with the port number that will be relayed as an argument. (The daemon can also be run from inetd, but this is more complex.) Each TCP port that must be relayed requires a separate instance of faithd, and it’s not possible to relay a port with TRT if there is service running locally on that port. As a result, faithd has only limited usability as a general-purpose transition mechanism.

 

 

Tags: Network, Networking, Add more tags...,
This entry was posted on . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a comment. Tags: IPv6, Networking, IPv6 Networking, Computer, Network, Wi-Fi, Drivers, WindowsXP, Linux, Windows, Server, Website, Hosting, Domain, DNS, IP.
Users' Comments (0)

Comment an article
  Name
  E-mail
   Title
Available characters: 4000
 Notify me of follow-up comments
This image contains a scrambled text, it is using a combination of colors, font size, background, angle in order to disallow computer to automate reading. You will have to reproduce it to post on my homepage
Enter what you see:

No comment posted

Wallpaper 33
Statistic


Last Post

 
Top! Top!