Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Router:Linux - Debian: Difference between revisions

Content deleted Content added
TomJepp (talk | contribs)
m Fix some formatting on the /etc/network/interfaces examples
TomJepp (talk | contribs)
m More formatting fixes.
Line 154: Line 154:
# This file describes the network interfaces available on your system
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
# The loopback network interface
auto lo
auto lo
iface lo inet loopback
iface lo inet loopback

# The primary network interface - the network interface carrying PPP
# The primary network interface - the network interface carrying PPP
auto eth0
auto eth0
Line 164: Line 164:
mtu 1508
mtu 1508
up /sbin/ip link set mtu 1508 dev eth0
up /sbin/ip link set mtu 1508 dev eth0
auto aaisp
auto aaisp
iface aaisp inet ppp
iface aaisp inet ppp
provider aaisp
provider aaisp

auto eth1
auto eth1
iface eth1 inet static
iface eth1 inet static
address 192.168.1.1
address 192.168.1.1
netmask 255.255.255.0
netmask 255.255.255.0
iface eth1 inet6 static
iface eth1 inet6 static
address <your IPv6 address here>
address <your IPv6 address here>
Line 274: Line 274:
auto lo
auto lo
iface lo inet loopback
iface lo inet loopback

# The primary network interface - the network interface carrying PPP
# The primary network interface - the network interface carrying PPP
auto eth0
auto eth0
Line 280: Line 280:
mtu 1508
mtu 1508
up /sbin/ip link set mtu 1508 dev eth0
up /sbin/ip link set mtu 1508 dev eth0
auto aaisp
auto aaisp
iface aaisp inet ppp
iface aaisp inet ppp
provider aaisp
provider aaisp

auto eth1
auto eth1
iface eth1 inet static
iface eth1 inet static
address <your IPv4 address here>
address <your IPv4 address here>
netmask <the correct subnet mask for your IPv4 block here>
netmask <the correct subnet mask for your IPv4 block here>
iface eth1 inet6 static
iface eth1 inet6 static
address <your IPv6 address here>
address <your IPv6 address here>