CentOS Linux 5.8 can't ping outside

Issues related to configuring your network
Post Reply
timmy01
Posts: 1
Joined: 2012/07/21 17:59:03

CentOS Linux 5.8 can't ping outside

Post by timmy01 » 2012/07/21 18:03:52

Seriously weird,
but i am not able to ping nor wget to a none local domain

ping google.com returns: ping: unknown host google.com

same for wget....

anyone can help cos this is driving me NUTZZ!

cheerz
tim


Information for general problems.
[code]
== BEGIN uname -rmi ==
2.6.18-308.11.1.el5 i686 i386
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-5-8.el5.centos
centos-release-notes-5.8-0
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 5.8 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Disabled
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 1001 489 511 0 38 258
-/+ buffers/cache: 192 809
Swap: 2015 0 2015
== END free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.4.3-46.el5_8.2
rpm-build-4.4.2.3-28.el5_8
rpm-libs-4.4.2.3-28.el5_8
rpm-python-4.4.2.3-28.el5_8
yum-3.2.22-39.el5.centos
yum-fastestmirror-1.1.16-21.el5.centos
yum-metadata-parser-1.1.2-3.el5.centos
yum-updatesd-0.9-2.el5
yum-utils-1.1.16-21.el5.centos
== END rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Base.repo.rpmnew
CentOS-Debuginfo.repo
CentOS-Media.repo
CentOS-Vault.repo
webmin.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates error was
[Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
* base: centos.mirror1.spango.com
* extras: centos.mirror1.spango.com
* updates: centos.mirror1.spango.com
http://download.webmin.com/download/yum/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.centos.org/centos/5/addons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror1.spango.com/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror.transip.nl/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror.triple-it.nl/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.weepeetelecom.nl/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.tudelft.nl/centos.org/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.uni-bayreuth.de/linux/CentOS/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.denit.net/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.i3d.net/pub/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.nl.leaseweb.net/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.oxilion.nl/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.prolocation.net/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.serverbeheren.nl/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.silyus.net/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.widexs.nl/ftp/pub/os/Linux/distr/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.yourwebhoster.eu/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirrors.nl.kernel.org/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirrors.supportex.net/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://nl.mirror.eurid.eu/centos/5.8/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror1.spango.com/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.intergenia.de/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror.transip.nl/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror.triple-it.nl/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.halifax.rwth-aachen.de/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.tudelft.nl/centos.org/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.atrpms.net/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.denit.net/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.i3d.net/pub/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.netcologne.de/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.nl.leaseweb.net/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.oxilion.nl/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.prolocation.net/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.serverbeheren.nl/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.widexs.nl/ftp/pub/os/Linux/distr/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.yourwebhoster.eu/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirrors.nl.kernel.org/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://nl.mirror.eurid.eu/centos/5.8/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror1.spango.com/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
ftp://mirror.fraunhofer.de/centos.org/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror.transip.nl/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://centos.mirror.triple-it.nl/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.tudelft.nl/centos.org/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://ftp.uni-bayreuth.de/linux/CentOS/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.denit.net/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.i3d.net/pub/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.nl.leaseweb.net/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.oxilion.nl/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.prolocation.net/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.serverbeheren.nl/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.silyus.net/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.widexs.nl/ftp/pub/os/Linux/distr/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.yourwebhoster.eu/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirrors.nl.kernel.org/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://nl.mirror.eurid.eu/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux/centos/5.8/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
repo id repo name status
C5.0-base CentOS-5.0 - Base disabled
C5.0-centosplus CentOS-5.0 - Plus disabled
C5.0-extras CentOS-5.0 - Extras disabled
C5.0-updates CentOS-5.0 - Updates disabled
C5.1-base CentOS-5.1 - Base disabled
C5.1-centosplus CentOS-5.1 - Plus disabled
C5.1-extras CentOS-5.1 - Extras disabled
C5.1-updates CentOS-5.1 - Updates disabled
C5.2-base CentOS-5.2 - Base disabled
C5.2-centosplus CentOS-5.2 - Plus disabled
C5.2-extras CentOS-5.2 - Extras disabled
C5.2-updates CentOS-5.2 - Updates disabled
C5.3-base CentOS-5.3 - Base disabled
C5.3-centosplus CentOS-5.3 - Plus disabled
C5.3-extras CentOS-5.3 - Extras disabled
C5.3-updates CentOS-5.3 - Updates disabled
C5.4-base CentOS-5.4 - Base disabled
C5.4-centosplus CentOS-5.4 - Plus disabled
C5.4-extras CentOS-5.4 - Extras disabled
C5.4-updates CentOS-5.4 - Updates disabled
C5.5-base CentOS-5.5 - Base disabled
C5.5-centosplus CentOS-5.5 - Plus disabled
C5.5-extras CentOS-5.5 - Extras disabled
C5.5-updates CentOS-5.5 - Updates disabled
C5.6-base CentOS-5.6 - Base disabled
C5.6-centosplus CentOS-5.6 - Plus disabled
C5.6-extras CentOS-5.6 - Extras disabled
C5.6-updates CentOS-5.6 - Updates disabled
C5.7-base CentOS-5.7 - Base disabled
C5.7-centosplus CentOS-5.7 - Plus disabled
C5.7-extras CentOS-5.7 - Extras disabled
C5.7-updates CentOS-5.7 - Updates disabled
Webmin Webmin Distribution Neutral enabled: 118
addons CentOS-5 - Addons enabled: 0
base CentOS-5 - Base enabled: 2,725
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus disabled
contrib CentOS-5 - Contrib disabled
debug CentOS-5 - Debuginfo disabled
extras CentOS-5 - Extras enabled: 282
updates CentOS-5 - Updates enabled: 634
repolist: 3,759
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==
LABEL=/ / ext3 defaults 1 1
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/boot /boot ext2 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda5 swap swap defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 141G 7.2G 127G 6% /
/dev/sda3 2.0G 36M 1.9G 2% /tmp
/dev/sda1 99M 30M 65M 32% /boot
tmpfs 501M 0 501M 0% /dev/shm
== END df -h ==

== BEGIN fdisk -lu ==

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 63 208844 104391 83 Linux
/dev/sda2 208845 304255034 152023095 83 Linux
/dev/sda3 304255035 308447999 2096482+ 83 Linux
/dev/sda4 308448000 312576704 2064352+ 5 Extended
/dev/sda5 308448063 312576704 2064321 82 Linux swap / Solaris
== END fdisk -lu ==

== BEGIN blkid ==
/dev/sda5: LABEL="SWAP-sda5" TYPE="swap"
/dev/sda3: LABEL="/tmp" UUID="ebf207f7-daa2-4676-ae8f-f4301a17b794" TYPE="ext3"
/dev/sda2: LABEL="/" UUID="ae750845-ef0a-4d39-bea6-f91fd5e954fe" TYPE="ext3"
/dev/sda1: LABEL="/boot" UUID="607251db-cd51-4462-ad90-1337b55c034a" TYPE="ext2"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
== END pvs ==

== BEGIN vgs ==
No volume groups found
== END vgs ==

== BEGIN lvs ==
No volume groups found
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.18-308.11.1.el5
kernel-2.6.18-308.1.1.el5
kernel-2.6.18-308.4.1.el5
kernel-2.6.18-308.8.1.el5
kernel-2.6.18-308.8.2.el5
kernel-devel-2.6.18-308.11.1.el5
kernel-devel-2.6.18-308.1.1.el5
kernel-devel-2.6.18-308.4.1.el5
kernel-devel-2.6.18-308.8.1.el5
kernel-devel-2.6.18-308.8.2.el5
kernel-headers-2.6.18-308.11.1.el5
== END rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 [8086:27e0] (rev 01)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 [8086:27e2] (rev 01)
00:1d.0 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.7 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 01)
02:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit Ethernet Controller [8086:109a]
03:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit Ethernet Controller [8086:109a]
== END lspci -nn ==

== BEGIN lsusb ==
Protocol spec without prior Class and Subclass spec at line 4297
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
== END lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr 00:1D:92:27:40:DE
inet addr:dns.ip.add.1 Bcast:ip.gate.way.255 Mask:255.255.255.128
inet6 addr: 2001:1af8:4100:a031:21d:92ff:fe27:40de/64 Scope:Global
inet6 addr: fe80::21d:92ff:fe27:40de/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59837 errors:0 dropped:0 overruns:0 frame:0
TX packets:69266 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9058352 (8.6 MiB) TX bytes:56862912 (54.2 MiB)
Interrupt:169 Memory:fdee0000-fdf00000

eth0:1 Link encap:Ethernet HWaddr 00:1D:92:27:40:DE
inet addr:ip.gate.way.213 Bcast:ip.gate.way.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:fdee0000-fdf00000

eth0:2 Link encap:Ethernet HWaddr 00:1D:92:27:40:DE
inet addr:ip.gate.way.214 Bcast:ip.gate.way.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:fdee0000-fdf00000

eth0:3 Link encap:Ethernet HWaddr 00:1D:92:27:40:DE
inet addr:ip.gate.way.215 Bcast:ip.gate.way.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:fdee0000-fdf00000

eth1 Link encap:Ethernet HWaddr 00:1D:92:27:40:DF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:50 Memory:fdce0000-fdd00000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5285 errors:0 dropped:0 overruns:0 frame:0
TX packets:5285 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700768 (684.3 KiB) TX bytes:700768 (684.3 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

== END ifconfig -a ==

== Warning: brctl is not installed ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ip.gate.way.128 0.0.0.0 255.255.255.128 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 ip.gate.way.254 0.0.0.0 UG 0 0 0 eth0
== END route -n ==

== BEGIN sysctl -a | grep .rp_filter ==
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.rp_filter = 0
== END sysctl -a | grep .rp_filter ==

== BEGIN ip rule show ==
0: from all lookup 255
32766: from all lookup main
32767: from all lookup default
== END ip rule show ==

== BEGIN ip route show ==
ip.gate.way.128/25 dev eth0 proto kernel scope link src dns.ip.add.1
169.254.0.0/16 dev eth0 scope link
default via ip.gate.way.254 dev eth0
== END ip route show ==

== BEGIN cat /etc/resolv.conf ==
search ns1.mydomain.net
#nameserver dns.ip.add.1
#nameserver dns.ip.add.2
nameserver dns.ip.add.1
nameserver dns.ip.add.2
== END cat /etc/resolv.conf ==

== BEGIN egrep 'net|hosts' /etc/nsswitch.conf ==
#hosts: db files nisplus nis dns
hosts: files dns
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END egrep 'net|hosts' /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

CentOS Linux 5.8 can't ping outside

Post by pschaff » 2012/07/22 01:42:47

Welcome to the CentOS fora, and congratulations on being one of the select few to do the recommended reading [i]before[/i] posting.

What's with all those eth0:* aliases? Can you ping the gateway and DNS servers by IP address?

Post Reply