Hi All.
I have question about pppoe.
Imagine that I have 4 DSL connection, and I want to manage the connection in my debian squeeze box.
I already use pppoeconf to configure the DSL connection.
and this is my /etc/network/interfaces :
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# LAN
auto eth0
iface eth0 inet static
address 10.10.10.254
netmask 255.255.255.0
# ISP-1
# connection to modem1
auto eth1
iface eth1 inet static
address 10.1.1.1
netmask 255.255.255.0
up /usr/bin/pon isp1
post-down /usr/bin/poff isp1
# connection to isp1
auto isp1
iface isp1 inet ppp
provider isp1
# ISP-2
# connection to modem2
auto eth2
iface eth2 inet static
address 10.1.2.1
netmask 255.255.255.252
up /usr/bin/pon isp2
post-down /usr/bin/poff isp2
# connection to isp2
auto isp2
iface isp2 inet ppp
provider isp2
# ISP-3
# connection to modem3
auto eth3
iface eth3 inet static
address 10.1.3.1
netmask 255.255.255.252
up /usr/bin/pon isp3
post-down /usr/bin/poff isp3
# connection to isp3
auto isp3
iface isp3 inet ppp
provider isp3
# ISP-4
# connection to modem4
auto eth4
iface eth4 inet static
address 10.1.4.1
netmask 255.255.255.252
up /usr/bin/pon isp4
post-down /usr/bin/poff isp4
# connection to isp4
auto isp4
iface isp4 inet ppp
provider isp4
And I already create file isp1, isp2, isp3, isp4 in directory /etc/ppp/peers/
I want to map statically / manually:
ppp0 -> eth1
ppp1 -> eth2
ppp2 -> eth3
ppp3 -> eth4
Does anybody know how to do that?