LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2016, 02:34 AM   #1
panizir
LQ Newbie
 
Registered: Aug 2016
Posts: 2

Rep: Reputation: Disabled
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?
 
Old 08-08-2016, 05:23 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,895

Rep: Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616
Hello and welcome to LQ.

Maybe test name resolution with nslookup and dig?
 
Old 08-10-2016, 05:02 AM   #3
panizir
LQ Newbie
 
Registered: Aug 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
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
 
Old 08-10-2016, 04:05 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,895

Rep: Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616
Normally you do nslookup www.google.com instead of nslookup 10.0.0.150
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of Oracle Jdeveloper on Oracle Linux fails r4rare@gmail.com Linux - Newbie 7 08-07-2013 10:18 AM
simple networking problem can ping gateway but not out centosnewbie Linux - Networking 5 09-15-2006 09:25 AM
LAN/ADSL Router ping working but DNS ping fails R N Ghosh Linux - Networking 1 01-13-2006 08:44 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 05:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration