LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-10-2002, 07:17 PM   #1
dannyboy259
LQ Newbie
 
Registered: Nov 2001
Location: Seattle WA
Distribution: Redhat 7.1
Posts: 16

Rep: Reputation: 0
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline"


Greetings all,

Here's what I'm attempting to accomplish....

RedHat 7.1 dial-in server which will act as ISP through my cable modem/DSL connection.

I've got several RH7.1 boxes running on an internal LAN all branched off of a Netgear 314 router (192.168.0.1) connected to my cable-modem. The router is running DHCP server, although one of my computers (the web server) is configured to demand static port 192.168.0.10 ( that's for the port forwarding from the router).

I have another RH7.1 dial-in server set up for DHCP from router, leased address on 192.168.0.4

I've properly set up the dial-in server portion, configuring the pppd and mgetty correctly (this was tested through telephone line simulator from laptop running win98). When the dialin client is running, it's address is 192.168.0.8 (this was set from the dialin server).

I am able to do the following:

1) Ping other hosts in the LAN that the server is connected to from the dial-in client.
2) Open web page on internal LAN server from the dial-in client when using IP number.
3) Ping the dial-in client from other hosts on the LAN.

This tells me that the proxyarp is working correctly, and that general settings of Mgetty and pppd are correct (I think).

What I am not able to do:

1) Resolve any hostnames from the dial-in client, even hosts that are included within the host table on the dial-in server.


I've run ethereal on the dial-in server simultaniously on both the ppp0 and the eth0 segments and proven to myself that the issue is on the dial-in server. The name resolution requests are not even making it past the server over to the LAN. All name resolution requests returning to the dial-in client are all "destination host unreachable."


I've checked the routing tables on both the dial-in client and server....here's what they say....


Server:
points correctly at the main firewall router on my LAN for gateway(192.168.0.1),
points correctly at the AT&T nameserver for DNS resolution.

Client:
Points initially at itself (192.168.0.8) as gateway for *.*.*.*

I've read all I can find, and I think that I might be at the point where I have to run named on the dial-in server to get name resolution. Am I correct?

If I do have to run named, can I solve my problem by simply running it as a caching server with "forwarding" set to the nameservers given by my ISP?

Any help would be appreciated....

Dan Devine
 
Old 01-12-2002, 02:56 AM   #2
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
Thumbs up Yes ur right

Hi ,

let me be honest first : i didnt have the patience to go through the whole of ur email. But i highly appreciate ur mannerism in including all the details possible. Hope all people follow ur example.

When ip address is leased to ur dialin clients do they get value for their dns server as well ...... try giving them the dns server thru dhcp ( ie; all clients get the ip address as well sever which will resolve names for them ).

U just wont need named but something of the nature of dynamic DNS. Yes ur right about the forwarding part.


Regards,
Xanthium.

 
Old 01-12-2007, 12:40 AM   #3
njauhari
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Did you done the proper setup of the DNS servers in /etc/ppp/options.server file?

Entries should look like

-detach
asyncmap 0
modem
crtscts
lock
proxyarp
ms-dns 1.2.3.4 #replace 1.2.3.4 with DNS address Primary
ms-dns 3.4.5.6 #replace 3.4.5.6 with DNS address Slave
 
  


Reply


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
PPPD: Problems with setting up "Dial on demand" ThePreacherMan Linux - Networking 2 06-24-2005 02:05 AM
How to modify dial options ( From "pulse" to "tone" ) nykey Linux - Newbie 3 11-24-2003 01:39 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM
dial-in service supports PPP, and and provides routing to LAN webdata Linux - Networking 1 05-27-2002 05:57 AM
setting up a dial-in ppp server bobthebat Linux - Networking 1 04-09-2001 02:17 AM

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

All times are GMT -5. The time now is 12:15 PM.

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