LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-11-2004, 08:39 AM   #1
iklinux
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: 192.168.76.0, 255.255.255.0, internal default gw: 192.168.76.1=eth0)

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 servers+def.gw), 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.
 
  


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

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

All times are GMT -5. The time now is 02:16 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