LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-24-2011, 01:12 AM   #1
lqman
LQ Newbie
 
Registered: Nov 2010
Location: Surabaya, Indonesia
Distribution: debian, ubuntu, FreeBSD, Solaris
Posts: 17

Rep: Reputation: 3
how to make ppp index static


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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3G Static IP with PPP att Linux - Newbie 1 05-01-2011 03:02 PM
LXer: ActiveState Launches Python Package Manager Index (PyPM Index) LXer Syndicated Linux News 0 11-03-2010 03:40 PM
etablish one connection ppp between a client ppp and a server ppp camilla261086 Linux - Server 2 07-20-2010 07:09 AM
non-default route to static host through gateway for ppp failover testing jrscandora Linux - Networking 3 04-21-2009 02:20 AM
How to make folder index? alexaltair Linux - General 7 11-25-2003 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration