[LUNI] Network help please
Joe Frost
captinsano443 at yahoo.com
Mon Nov 18 14:56:06 CST 2002
all the way down...
--- Martin Maney <maney at pobox.com> wrote:
> On Sat, Nov 16, 2002 at 12:34:17PM -0600, Javier Salazar wrote:
> > 192.168.1.xxx. I am able to ping my linksys router, my windows box.
>
> > As a mater of fact, if I know the ip address of a web site, I can
> > ping it. However, I can not use the web browser to hit any web
>
> You got trouble. It starts with tee, that rhymes with dee, that
> stands
> for DNS.
>
> > sites. The router has the DNS addresses given to me by my ISP. If
> I
> > get this right, I would think that I would just need to have my
> > linksys router ip address as my only gateway on my linux box so
> that
> > I can access the router. The router would then take care of
> > resolving the web ip addresses for me. Right?
>
> Nope. The router will take care of *routing* the packets to the IP
> address the browser sent them to. You *do* need to setup the inside
> machines to query a working DNS serber in nearly all cases.
>
> Now, if you were using a firewall/router/gateway that had a web proxy
> running on it, you could configure the browser to use that paroxy and
> then the browser wouldn't need to resolve the host names into IP
> addresses (well, aside from the proxy's address, if that's given as a
> name rather than as a dotted quad). But the browser *always* needs
> to
> have to be able to lookup the IP address of the host to which it is
> sending its query... as does any TCP/IP-using application.
>
> > Once again, the linksys router is acting as a dhcp server. When
> the
> > linux box boots up, it should assign an ip address to the linux box
> > automatically.
>
> That may have been working, but if it wasn't also setting the DNS
> resolver through the DHCP reply (and I know only that a DHCP server
> can
> send that; I have no idea if the Linksys does) you wouldn't be able
> to
> resolve any hostnames into IP addreses, so nothing would work (except
> where you used the IP address rather than a host name).
>
Martin, is as always, right. But I think he
neglected to tell you how to fix it. If indeed
the problem is your linux box not being able
to resolve hostnames to IP addresses at DNS info
to your /etc/resolv.conf file
For example
nameserver 207.54.9.162
nameserver 207.56.1.38
would be the contents of /etc/resolv.conf and the
IP addresses would be what your ISP's nameservers
IPs are for real.
After you do that try an
$ dig www.cnn.com
to see if you are resolving IP addresses.
Joe
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
More information about the luni
mailing list