Router:Linux - Debian: Difference between revisions

(Added firewalling sections & /etc/network/interfaces)
m (Fix some formatting on the /etc/network/interfaces examples)
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
iface eth1 inet6 static
address <your IPv6 address here>
netmask 64
 
Replace "<your IPv6 address here>" with the first address from the prefix you've been allocated. You can see this prefix on clueless.
iface eth1 inet static
address <your IPv4 address here>
netmask <the correct subnet mask for your IPv4 block here>
iface eth1 inet6 static
address <your IPv6 address here>
netmask 64
 
Replace "<your IPv6 address here>" with the first address from the prefix you've been allocated. You can see this prefix on clueless. By default, A&A will allocate a /48 prefix, but will only route it to your line in /56 or /64 chunks. For example, your prefix might be: 2001:db8:b9::/48. You might have 2001:db8:b9:2041::/64 routed to your line. In this example, you'd use "2001:db8:b9:2041::1" as your IPv6 address.