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 11-25-2005, 05:52 AM   #1
Samhein
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Rep: Reputation: 0
DNS Blocked by gateway!


Greetings,

I have managed to set up a gateway, using SUSE 10. It works perfectly as far as DHCP is concerned, and ip connections work fine too. However, all computers in the network can't connect to the DNS. I can't figure out why.
We have a router (10.0.0.1) which gets the DNS information through the ISP's DHCP. The gateway (10.0.0.250/10.10.0.1) has the ISP's DNS configured directly. I have tried lots of things, but none of them seems to work. Right now this is the configuration:
External NIC: 10.0.0.250
Internal NIC: 10.10.0.1 with DHCP working
Preferred gateway: 10.0.0.1
Ip routing is enabled.
Advanced ip routing is set as follows:
Dest: 10.10.0.1 Gateway: 10.0.0.1 Subnet Mask: 255.255.255.0
Dest: 10.0.0.250 Gateway: 10.0.0.1 Subnet Mask: 255.255.255.0
Computer name: DSF-LS
Domain: lan
DNS 1: 194.65.100.117 (ISP's primary DNS)
DNS 2: 194.65.5.2 (ISP's secondary DNS)
Domain search 1: lan
Domain search 2: blank
Firewall works the same for internal and external card, and allows DHCP Server and Client, and DNS server (just in case).

The gateway can always access the net. And the network pcs can access it, as long as 1 of 2 things happen: 1- They're trying an ip connection. No DNS required there, so it goes through. 2- They were already connected to the net through the router when I place the gateway in between (I had to remove the gateway again for the network to access the net). In this case, I think they keep the DNS's in memory.

I've tried lots of things, short of setting up a DNS server of my own (which I don't really want to, unless it's mandatory, just as we don't want to set up a proxy server).

Any help would be appreciated!
 
Old 11-26-2005, 07:16 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What ip address are the clients being given as the dns server?
 
Old 11-26-2005, 07:06 PM   #3
Samhein
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I'm not at work right now, so I can't be sure. But as far as I can remember, they were being assigned with 10.10.0.1 as DNS. Maybe I need to set up a DNS server on the gateway? That doesn't seem correct. All I need is for the DHCP to assign DNS as well. Setting up a DNS server on a gateway PC seems like a whole lot of unnecessary trouble.
 
Old 11-27-2005, 07:01 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If 10.10.0.1 is being set as the dns server then you'll need a dns service running on your gatewat box, or just set your dhcp server to assign a different ip address for dns that already provides dns services.
 
Old 11-28-2005, 04:46 AM   #5
Samhein
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I think I've fixed it now. The problem was in the translation (I'm using the portuguese version). In DHCP server properties, it would ask for first server, and not primary DNS (I did find it strange at the time). Thanks for the 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
How to see DNS ,GATEWAY etc.. tkmuthuvel Linux - Networking 1 09-12-2005 02:53 PM
DNS and gateway ThorRune Linux - Hardware 3 08-26-2005 02:19 PM
eMail Blocked due to Reverse DNS Issue VorlonInfoTech Linux - Networking 4 06-23-2004 04:23 PM
Gateway and DNS jayakrishnan Linux - Networking 5 07-05-2003 02:01 AM
cannot get dns behind linux gateway bibi Linux - Networking 4 12-20-2001 07:27 PM

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

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