Re: cant ping external website



On Tue, Sep 23, 2008 at 5:45 PM, NoOp <glgxg@xxxxxxxxxxxxx> 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

Post the output of:

cat /etc/hosts
hostname -f


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



heloo


root@cadcli01:/# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 cadcli01

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

root@cadcli01:/# hostname -f
cadcli01

these were the results of cat /etc/hosts and hostname -f

don
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: cant ping external website
    ... netmask 255.255.255.0 ... gateway 10.4.139.254 ... root@cadcli01:/# hostname -f ... Systems Administrator ...
    (Ubuntu)
  • Re: basic routing problem
    ... configure static routing like that: ... iface eth0 inet static ... netmask 255.255.255.0 ... gateway 10.0.1.1 ...
    (comp.os.linux.networking)
  • Re: Multi NIC and Multi IP problem
    ... same gateway a.b.c.254 ... iface eth0 inet static ... netmask 255.255.255.0 ... auto eth1 ...
    (Debian-User)
  • Re: cant ping external website
    ... iface eth0 inet static ... netmask 255.255.255.0 ... broadcast 10.4.139.255 ... gateway 10.4.139.254 ...
    (Ubuntu)
  • Re: cant get network with debian
    ... Nader de Sousa Amadeu wrote: ... >iface eth0 inet static ... > netmask 255.255.255.0 ... > gateway 160.45.22.1 ...
    (Debian-User)