>Install the Bird Internet Routing Daemon:
<
>`sudo apt-get install bird`
<
>
<
>Enable IPv4 and IPv6 Forwarding:
<
>`echo "net.ipv4.conf.all.forwarding=1" | sudo tee -a /etc/sysctl.conf`
<
>`echo "net.ipv4.conf.default.forwarding=1" | sudo tee -a /etc/sysctl.conf`
<
>`sed 's/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g' /etc/sysctl.conf | sudo tee /etc/sysctl.conf`
<
>`echo "net.ipv6.conf.default.forwarding=1" | sudo tee -a /etc/sysctl.conf`
<
>`sudo sysctl -p`
<
>
<
>Backup the configuration files:
<
>`sudo mv /etc/bird/bird.conf /etc/bird/bird.conf.original`
<
>`sudo mv /etc/bird/bird6.conf /etc/bird/bird6.conf.original`
<
>
<
>Create the configuration files:
<
>`sudo nano `[[attachment:bird.conf|/etc/bird/bird.conf]]
<
>`sudo nano `[[attachment:bird6.conf|/etc/bird/bird6.conf]]
<
>
<
>Use this one-liner to give bird6 a random four byte number to use for its Router Identifier:
<
>`sudo sed -i "s/0.0.0.1;\t#\tRouter ID must be configured manually on IPv6 routers/`{{{`od -A n -N 1 -t u1 < /dev/urandom | sed 's/ //g'`}}}`.`{{{`od -A n -N 1 -t u1 < /dev/urandom | sed 's/ //g'`}}}`.`{{{`od -A n -N 1 -t u1 < /dev/urandom | sed 's/ //g'`}}}`.`{{{`od -A n -N 1 -t u1 < /dev/urandom | sed 's/ //g'`}}}`;/g" /etc/bird/bird6.conf`
<
>
<
>Restart the daemons:
<
>`sudo /etc/init.d/bird restart || sudo service bird restart`
<
>`sudo /etc/init.d/bird6 restart || sudo service bird6 restart`
<
>
<
>
----
''[[http://Jonathan-Ferguson.tk/|Jonathan Ferguson]], [[https://wiki.edubuntu.org/JonathanFerguson|Ubuntu Wiki]], [[https://wiki.edubuntu.org/JonathanFerguson/Bird|Bird Internet Routing Daemon]], [[https://wiki.edubuntu.org/JonathanFerguson/Bird]]''
----