cant ping external website
Gilles Gravier
gilles at gravier.org
Tue Sep 23 15:58:42 UTC 2008
Hi!
NoOp wrote:
> On 09/23/2008 02:21 AM, Donny George wrote:
>
>
>> iface eth0 inet static
>>
>> address 10.4.139.3
>>
>> netmask 255.255.255.0
>>
>> network 10.4.139.0
>>
>> broadcast 10.4.139.255
>>
>> gateway 10.4.139.254
>>
>
> You only need these lines in that part of your /etc/resolv.conf:
>
> iface eth0 inet static
> address 10.4.139.3
> netmask 255.255.255.0
> gateway 10.4.139.254
>
*NO!* These lines aren't for */etc/resolv.conf* ! Don't put them in there.
resolv.conf is ONLY for hostname resolving. As such, it only contains
lines like :
*nameserver *aaa.bbb.ccc.ddd
*domain *yourdomain.tld
*search *somedomains
*sortlist *ip/netmask-pairs
What NoOp is describing would be the file */etc/network/interfaces* ...
Gilles.
--
/*Gilles Gravier*/ *=* *Gilles at Gravier.org* <mailto:Gilles at Gravier.org>
ICQ : *77488526*
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN
Messenger : Gilles at Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026*
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus
aberrante." [Anatole France]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080923/23cc68b3/attachment.html>
More information about the ubuntu-users
mailing list