Router:Linux - Debian: Difference between revisions

m (Fix some formatting on the /etc/network/interfaces examples)
m (More formatting fixes.)
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
 
# The loopback network interface
auto lo
iface lo inet loopback
 
# The primary network interface - the network interface carrying PPP
auto eth0
mtu 1508
up /sbin/ip link set mtu 1508 dev eth0
auto aaisp
iface aaisp inet ppp
provider aaisp
 
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
iface eth1 inet6 static
address <your IPv6 address here>
auto lo
iface lo inet loopback
 
# The primary network interface - the network interface carrying PPP
auto eth0
mtu 1508
up /sbin/ip link set mtu 1508 dev eth0
auto aaisp
iface aaisp inet ppp
provider aaisp
 
auto eth1
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>