Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Re. Re: Re: DNS lookup failure on Linksys router

Re. Re: Re: DNS lookup failure on Linksys router

2004-12-25       - By Gregory L. Hering

 Back
Reply:     1     2     3  


>> This is a problem. I don't know of any Linksys router that acts as a DNS
server. > It does act as DNS for my Windows machines. They have the router set
as the only DNS.

A cable-modem router does not work as a DNS server, but if you have it setup as
a DHCP server then it will provide name server IPs to DHPC clients.  What model
of router is this?

> For some reason (I know not what) Windows networking (including accessing the
Internet) will not work if I disable DHCP in the router and go completely
manual with the IP assignments.

Internet access is dependent on IP and DNS.  Windows networking (and I'm
assuming you mean the Network Neighborhood') is dependent on NetBEUI broadcasts
, or WINS.  

       http://micro.uoregon.edu/microsoft_networking.html
       http://www.its.caltech.edu/win/neighbor.html

Your Internet problem is probably that set the IP addresses to something
acceptable but didn't set the DNS settings right (192.168.1.1 is NOT right).
Try this; with the router and a Windows client set to DHCP, bring up a DOS
command prompt on the Windows box and issue the command 'ipconfig /all' and see
what the DNS servers are.  You should find that it is NOT 192.168 anything, but
rather it is some IP out on the internet.  If you manually set the IPs and DNS
servers to the addresses you find with the 'ipconfig' command then the system
should still work as before.  Fixed IP addresses should not affect NetBEUI
broadcasts at all, i.e. your Network Neighborhood should still function as
before.

> If the router serves as DNS to Windows, why not Linux?

The router does not serve DNS, it serves the IP address of your ISP's DNS
nameservers to DHCP clients.  In one of these messages you showed us your /etc
/resolv.conf file.  Having one of those means that you are not using any
nameserver information from your DHCP server.  Your resolv.conf should contain
the IP address of your ISP's nameserver, not the IP of the router.

DHCP is a convenience for lo-tech networks.  With only six machines on your
network you really can't build a case for needing DHCP if it's messing you up
so get rid of it and fix your IP addresses.  Just make sure you have the
correct network settings before you get started.  Your netmask, the gateway IP
(the router) and your nameservers IPs (at the ISP) will be the same for all your
machines.  Since you're running Samba on the Linux box, you could share your
hosts file to the Windows machines.  Just modify your hosts file there and just
cut-n-paste everything but the localhost entry into all your Window's boxes
host files.  You only have to do this again if you add or remove a machine.

If you want to run an Oracle server in a Windows network, why not run it on a
Windows machine.  Then you won't have 'mixed-environment' problems.  If your
goal is just to have a database server this may all be unnecessary.  I don't
think the Oracle server needs to be able ping your Windows boxes by name to
work, so really all you need to do is add the Linux box to the Windows host
files and be done with it.

Greg
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><!--StartFragment -->&nbsp;<FONT color=#000000><PRE wrap="">&gt;&gt; This
is a problem. I don't know of any Linksys router that acts as a DNS server. <
/PRE></FONT><!--StartFragment --></DIV>
<DIV>&gt;&nbsp;<FONT color=#000000>It does act as DNS for my Windows machines.
They have the router set as the only DNS.</FONT> </DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>A cable-modem router does not work as a DNS server
,
but if you have it setup as a DHCP server then it will provide name server IPs
to DHPC clients.&nbsp; What model of router is this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><!--StartFragment -->&gt;&nbsp;<FONT color=#000000>For some reason (I know
not what) Windows networking (including accessing the Internet) will not work
if
I disable DHCP in the router and go completely manual with the IP
assignments.<BR></FONT></DIV>
<DIV><FONT color=#000000><FONT face=Arial size=2>Internet access is dependent
on
IP and DNS.&nbsp; Windows networking (and I'm assuming you mean the Network
Neighborhood') is dependent on NetBEUI broadcasts, or WINS.&nbsp;
</FONT></FONT></DIV>
<DIV><FONT color=#000000><FONT face=Arial size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT color=#000000><FONT face=Arial size=2><A
href="http://micro.uoregon.edu/microsoft_networking.html">http://micro.uoregon
.edu/microsoft_networking.html</A></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT color=#000000><FONT color=#000000><FONT face=Arial size=2><A
href="http://www.its.caltech.edu/win/neighbor.html">http://www.its.caltech.edu
/win/neighbor.html</A></FONT></FONT></DIV></FONT>
<DIV><FONT color=#000000><FONT face=Arial size=2></FONT>&nbsp;</DIV></FONT>
<DIV><FONT color=#000000><FONT face=Arial size=2>Your Internet&nbsp;problem is
probably that&nbsp;set the IP addresses to something acceptable but didn't set
the DNS settings right (192.168.1.1 is NOT right).&nbsp; Try this; with the
router and a Windows client set to DHCP, bring up a DOS command prompt on the
Windows box and issue the command 'ipconfig /all' and see what the DNS servers
are.&nbsp; You should find that it is NOT 192.168 anything, but rather it is
some IP out on the internet.&nbsp; If you manually set the IPs and DNS servers
to the addresses you find with the 'ipconfig' command then the system should
still work as before.&nbsp; Fixed IP addresses should not affect NetBEUI
broadcasts at all, i.e. your Network Neighborhood should still function as
before.</FONT><BR><BR>&gt; If the router serves as DNS to Windows, why not
Linux?</FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2>The router does not
serve DNS, it serves the IP address of your ISP's DNS nameservers to DHCP
clients.&nbsp; In one of these messages you showed us your /etc/resolv.conf
file.&nbsp; Having one of those means that you are not using any nameserver
information from your DHCP server.&nbsp; Your resolv.conf should contain the IP
address of your ISP's nameserver, not the IP of the router.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>DHCP is a convenience for lo-tech networks.&nbsp;
With only six machines on your network you really can't build a case for
needing
DHCP if it's messing you up so get rid of it and fix your IP addresses.&nbsp;
Just make sure you have the correct network settings before you get
started.&nbsp; Your netmask, the gateway IP (the router) and your nameservers
IPs (at the ISP) will be the same for all your machines.&nbsp; Since you're
running Samba on the Linux box, you could share your hosts file to the Windows
machines.&nbsp; Just modify your hosts file&nbsp;there and just cut-n-paste
everything but the localhost entry into all your Window's boxes host
files.&nbsp; You only have to do this again if you add or remove a
machine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>If you want to run an Oracle server in a Windows
network, why not run it on a Windows machine.&nbsp; Then you won't have
'mixed-environment' problems.&nbsp; </FONT>If your goal is just to have a
database server this may all be unnecessary.&nbsp; </FONT><FONT face=Arial
size=2>I don't think the Oracle server needs to be able ping your Windows boxes
by name to work, so really all you need to do is add the Linux box to the
Windows host files and be done with it.</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Greg</FONT></DIV></BODY></HTML>

--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list