07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

zebra daemon collects information from other daemons and handles static routing tables accordingly.<br />

The other daemons are known as bgpd, ospfd, ospf6d, ripd, and ripngd.<br />

Daemons are enabled by editing the /etc/quagga/daemons file and creating the appropriate<br />

configuration file in /etc/quagga/; this configuration file must be named after the daemon,<br />

with a .conf extension, and belong to the quagga user and the quaggavty group, in order for<br />

the /etc/init.d/quagga script to invoke the daemon.<br />

The configuration of each of these daemons requires knowledge of the routing protocol in question.<br />

These protocols cannot be described in detail here, but the quagga-doc provides ample explanation<br />

in the form of an info file. The same contents may be more easily browsed as HTML<br />

on the Quagga website:<br />

➨ http://www.quagga.net/docs/docs-info.php<br />

In addition, the syntax is very close to a standard router's configuration interface, and network<br />

administrators will adapt quickly to quagga.<br />

IN PRACTICE<br />

OPSF, BGP or RIP?<br />

OSPF is generally the best protocol to use for dynamic routing on private networks,<br />

but BGP is more common for Internet-wide routing. RIP is rather ancient,<br />

and hardly used anymore.<br />

10.5. IPv6<br />

IPv6, successor to IPv4, is a new version of the IP protocol designed to fix its flaws, most notably<br />

the scarcity of available IP addresses. This protocol handles the network layer; its purpose is to<br />

provide a way to address machines, to convey data to their intended destination, and to handle<br />

data fragmentation if needed (in other words, to split packets into chunks with a size that depends<br />

on the network links to be used on the path and to reassemble the chunks in their proper<br />

order on arrival).<br />

Debian kernels include IPv6 handling in the core kernel (which was not always the case; the ipv6<br />

module used to be optional). Basic tools such as ping and traceroute have their IPv6 equivalents<br />

in ping6 and traceroute6, available respectively in the iputils-ping and iputils-tracepath<br />

packages.<br />

The IPv6 network is configured similarly to IPv4, in /etc/network/interfaces. But if you want<br />

that network to be globally available, you must ensure that you have an IPv6-capable router<br />

relaying traffic to the global IPv6 network.<br />

iface eth0 inet6 static<br />

address 2001:db8:1234:5::1:1<br />

netmask 64<br />

# Disabling auto-configuration<br />

# up echo 0 >/proc/sys/net/ipv6/conf/all/autoconf<br />

# The router is auto-configured and has no fixed address<br />

238 The Debian Administrator's Handbook

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

Saved successfully!

Ooh no, something went wrong!