Share your knowledge at the LQ Wiki.
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 07-02-2005, 03:39 AM   #1
LQ Newbie
Registered: Jul 2005
Location: Ratchaburi, Thailand
Posts: 2

Rep: Reputation: 0
Netgear ADSL DG632 Modem-Router and Linux Configuration Issues

Hi guys,
Here's my problem. First a little information about my home network structure:

1. File server + experimental webserver (P4 3Ghz running on FC3)
2. Intended Mail + FTP server (Celeron 500Mhz running on RHEL AS 3)
3. 4 Windows workstations (all P4 2.4Ghz)
4. A 3Com 26 Port Managed switch
5. A NetGear DG632 ADSL Modem-router

Now all my computers are connected to a 3Com 26 Port Managed Switch - the switch itself it connected to a NetGear DG632 ADSL Modem-router.

I don't use the router's (very little configurable) DHCP - instead my system number 1 - the linux server runs the DHCP server, which hands out IP's to all the Windows workstations based on their MAC addresses. Server 1 & 2 have their own static IPs. The router obviously has it's own pre-assigned static IP.

Problem: The windows workstations can access the internet without any problem, but none of the linux systems can (if a site is called by its domain name).

The /etc/sysconfig/network file on both linux servers have the router IP specified in them (GATEWAY=router IP)
The /etc/hosts on both are made to recognize all systems on my internal LAN at least.

So what's going wrong ? Which other file I need to configure to make linux get to the net through the router ? The linux systems can be reached from any computer on the internal LAN and vice-versa.. but they simply wouldn't resolve any domain on the net.

I know for sure, it's a DNS resolution problem because both linux servers can access any given numerical IP - i.e. they can reach them - but just not by the domain names.. where do I specify the primary/secondary DNS servernames ?

Any help would be immensely appreciated

Old 07-02-2005, 04:04 AM   #2
Registered: Jun 2005
Posts: 75

Rep: Reputation: 15
The usual place to specify DNS servers is in /etc/resolv.conf. The basic format is:

nameserver <IP>

man 5 resolv.conf might give you some more details.

Old 07-02-2005, 05:12 AM   #3
LQ Newbie
Registered: Jul 2005
Location: Ratchaburi, Thailand
Posts: 2

Original Poster
Rep: Reputation: 0
Tried that already

Thanks But I forgot to mention, that I'd already done that. Still after you mentioned I went back again and tried tweaking around - re-entered my ISP's DNS IP's .. but no effect. Even now when I try accessing any site by the domain name it says "no route to host" or "cannot resolve".

Any ideas ?


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
Netgear DG632 Router works with WinXP but not linux Dein Vampir Linux - Newbie 2 10-28-2005 06:19 PM
Netgear DG632 problem drevil666 Linux - Newbie 3 07-22-2005 01:17 AM
D-Link ADSL router/modem and SuSE Linux configuration sch Linux - Networking 2 06-11-2005 04:36 PM
Using router as modem adsl under linux ralmenar Linux - Networking 0 11-14-2004 05:50 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:28 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
Open Source Consulting | Domain Registration