Re: Specifying a static I.P. address for a Fedora 8 box - having issues



Kevin Kempter wrote:
Hi List;
<snip>
At this point I can ssh/scp to/from the server via 192.168.1.71 however I cannot get anywhere on the web. If I try and ping google I get this:

# ping www.google.com
ping: unknown host www.google.com

Now if I change the settings back to automatically get an IP via dhcp, and restart the network then I can ping www.google.com and get a reply.


What am I doing wrong here?
Nothing is wrong. But the DHCP automatically setup the DNS entry automatically. If you setup a static IP, you will have to add the DNS entry as well.

ping 64.233.169.99

will work without the DNS entry.

-James

--
Scanned by ClamAV - http://www.clamav.net

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: DNS with d-link DI-524
    ... boxes unless you have a DNS entry or a etc/hosts entry. ... that's the clue: I need to ping them as I need to test some own written ... so I at least need to ping them. ... is not necessary as the number of boxes is managable. ...
    (alt.internet.wireless)
  • Re: Watch Guard Firebox 1000 and VPN
    ... >> Router but not any of the computers on the network. ... One more thing - if you didn't assign a DNS entry of an internal DNS ... PPTP connection, then you can only ping by IP, not by name. ...
    (comp.security.firewalls)
  • nslookup works, but no connectivity with names
    ... I have a computer that will get an IP, gateway and DNS entry via DHCP. ... If I ping with a name, like yahoo.com, I get an error message when I try ... resolving, from the nslookup, but the stack doesn't use the information. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Odd problem with DNS and IP change.
    ... At 09:40 AM 2/28/2009, Andrei Brezan wrote: ... I have a strange problem and I don't know what to relate it to. ... When i try to ping ...
    (freebsd-questions)
  • Re: werid dns problem
    ... Is "a" the host and the domain is b.c.com? ... you have a DNS entry for "a" so when you ping ... When you ping just "a" the server adds the domain that it is in, ... the server adds b.c.com again so you are really trying ...
    (microsoft.public.windows.server.dns)