Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-11-2004, 09:39 AM   #1
LQ Newbie
Registered: May 2004
Location: Germany, European Union
Distribution: SuSE 9.3 (heavily modified)
Posts: 5

Rep: Reputation: 0
Unhappy Cannot connect to ISP (cable modem+dhcp+pppd+pptp)

I recently tried to configure my Linux box to be the router (with NAT) for my internal network to the ISP and failed, situation:

1.) dual homed Linux box (eth0, eth1)
2.) eth1 connected to TV cable modem (ISP connection via PPTP)
3.) eth0 connected to internal network (and properly configured, i.e. my internal network is:,, internal default gw:

I'm using:
a) pppd 2.4.1
b) pptp 1.4.0
c) dhcpcd 1.3.22

My ISP requests me to use DHCP to get a local IP (+name, which is my biggest problem using pppd.

Question #1: How do I configure pppd to perform the following steps:

step 1) issue a DHCP request to configure eth1 with a local IP, get name servers, establish default routing
step 2) force pppd to get p-t-p IP and to establish link eth1 <-> ppp0 using the 'pty' option to execute pptp for authentication
step 3) [already solved]: netfilter configuration (done in /etc/ppp/ip-up)

Question #2: What happens to ppp0 when DHCP lease (1 day) expires?
Question #3: Is is possible for pppd to issue a new DHCP request when DHCP lease expires?

Thanks in advance for your help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Query: connect with ex. ser. modem pppd died unexpectedly Hal Linux - Networking 2 07-03-2004 10:00 AM
DHCP problems and cable modem wmeler Linux - Software 6 01-29-2004 05:49 PM
cable modem and dhcp dead_p00l Linux - Networking 3 11-30-2003 03:29 AM
DHCP & Cable Modem raypen Linux - Networking 4 08-06-2003 10:16 PM
Cable Modem - How-to DHCP ? iraysyvalo Linux - Networking 17 07-16-2003 10:28 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:29 PM.

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