LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Oracle OS networking problem: ping neither success nor fails (https://www.linuxquestions.org/questions/linux-networking-3/oracle-os-networking-problem-ping-neither-success-nor-fails-4175586476/)

panizir 08-07-2016 01:34 AM

Oracle OS networking problem: ping neither success nor fails
 
I have an Oracle OS which is trying to connect to internet. But the problem is that all network configs are set correctly bu I can not ping any thing at all.
this is the config:
Code:

dmesg |grep eth
pcnet32: eth0: registered as PCnet/PCI II 79C970A
pcnet32 0000:02:00.0 eth0: link up
pcnet32 0000:02:00.0 eth0: link up
pcnet32 0000:02:00.0 eth0: link up
pcnet32 0000:02:00.0 eth0: link up

Code:

eth0      Link encap:Ethernet  HWaddr 00:0C:29:EE:02:B2
          inet addr:10.0.0.150  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:feee:2b2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:673065 errors:0 dropped:210 overruns:0 frame:0
          TX packets:4864 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:49858456 (47.5 MiB)  TX bytes:556786 (543.7 KiB)
          Interrupt:18 Base address:0x2000

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:65536  Metric:1
          RX packets:2456 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2456 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:288600 (281.8 KiB)  TX bytes:288600 (281.8 KiB)


Code:

cat /etc/resolv.conf
nameserver 10.0.0.10
nameserver 77.104.106.2

I can ping another computer in the network and DNS server and default gw works fine for my own pc Win7. But I can not connect to the internet. Anybody can help me plz?

jefro 08-08-2016 04:23 PM

Hello and welcome to LQ.

Maybe test name resolution with nslookup and dig?

panizir 08-10-2016 04:02 AM

Quote:

Originally Posted by jefro (Post 5588099)
Hello and welcome to LQ.

Maybe test name resolution with nslookup and dig?

this is the nslookup result:

Code:

nslookup 10.0.0.150
Server:        10.0.0.10
Address:        10.0.0.10#53

** server can't find 150.0.0.10.in-addr.arpa.: NXDOMAIN

the other:

Code:

nslookup localhost
Server:        10.0.0.10
Address:        10.0.0.10#53

Non-authoritative answer:
Name:  localhost
Address: 127.0.0.1


and the dig command:

Code:

dig

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.0.2.el6_4.6 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5026
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                      1091    IN      NS      k.root-servers.net.
.                      1091    IN      NS      f.root-servers.net.
.                      1091    IN      NS      b.root-servers.net.
.                      1091    IN      NS      e.root-servers.net.
.                      1091    IN      NS      j.root-servers.net.
.                      1091    IN      NS      g.root-servers.net.
.                      1091    IN      NS      h.root-servers.net.
.                      1091    IN      NS      m.root-servers.net.
.                      1091    IN      NS      d.root-servers.net.
.                      1091    IN      NS      l.root-servers.net.
.                      1091    IN      NS      c.root-servers.net.
.                      1091    IN      NS      a.root-servers.net.
.                      1091    IN      NS      i.root-servers.net.

;; ADDITIONAL SECTION:
k.root-servers.net.    5841    IN      A      193.0.14.129
k.root-servers.net.    81397  IN      AAAA    2001:7fd::1
f.root-servers.net.    7419    IN      A      192.5.5.241
f.root-servers.net.    81397  IN      AAAA    2001:500:2f::f
b.root-servers.net.    81397  IN      A      192.228.79.201
b.root-servers.net.    81397  IN      AAAA    2001:500:84::b
e.root-servers.net.    81397  IN      A      192.203.230.10
j.root-servers.net.    5728    IN      A      192.58.128.30
j.root-servers.net.    81397  IN      AAAA    2001:503:c27::2:30
g.root-servers.net.    8799    IN      A      192.112.36.4
h.root-servers.net.    1901    IN      A      198.97.190.53
h.root-servers.net.    81397  IN      AAAA    2001:500:1::53
m.root-servers.net.    81397  IN      A      202.12.27.33

;; Query time: 134 msec
;; SERVER: 10.0.0.10#53(10.0.0.10)
;; WHEN: Wed Aug 10 13:24:53 2016
;; MSG SIZE  rcvd: 509


jefro 08-10-2016 03:05 PM

Normally you do nslookup www.google.com instead of nslookup 10.0.0.150


All times are GMT -5. The time now is 03:38 AM.