Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-25-2005, 06:52 AM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 13
Rep:
|
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!
|
|
|
11-26-2005, 08:16 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What ip address are the clients being given as the dns server?
|
|
|
11-26-2005, 08:06 PM
|
#3
|
LQ Newbie
Registered: Nov 2005
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
11-27-2005, 08:01 AM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
11-28-2005, 05:46 AM
|
#5
|
LQ Newbie
Registered: Nov 2005
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|