LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2002, 12:45 PM   #1
king_trance
LQ Newbie
 
Registered: Apr 2002
Posts: 6

Rep: Reputation: 0
I think it's DNS


Okay I have a linux box acting as a router. I can ping my gateway and My DNS servers but i can't brows the web or ping Netbios names.


in netconf i have all the ip addresses for both ethernet cards. I also specified a host name. i can ping both the cards from other pc on the network. But unlike the linux box i can't ping dns or gateway from other client pc's.

Anyone know what other config files are responsible for DNS setup? or what else i can try.
 
Old 04-03-2002, 06:11 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You say the linux box won't browse??

this is because you do not have the dns servers in /etc/resolv.conf, or there is a firewall blocking port 53


You are saying the internal machines are not able to get past the internal interface of the linux box?

This is because you need to turn on ip forwarding

check it with this

cat /proc/sys/net/ipv4/ip_forward


it should be 1

set it like this

echo 1 > /proc/sys/net/ipv4/ip_forward


this will need to be in your startup scripts or your iptables / ipchains script.

also you will need a valid internet ip address to route to the internet.

if you only have one ip like most people you will need to setup linux to masq your internal ip's so it looks like only one machine to the internet. then the clients gateway will be the linux routers ip.

the rules are different depends on what you have, iptables or ipchains

Last edited by DavidPhillips; 04-03-2002 at 06:18 PM.
 
  


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
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 12:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM


All times are GMT -5. The time now is 01:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration