LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Check network connection is Ok (https://www.linuxquestions.org/questions/linux-newbie-8/check-network-connection-is-ok-928562/)

sureshpanchanathan 02-09-2012 06:51 PM

Check network connection is Ok
 
Hi All,

I was trying to install 11g on Oracle Linux 6.2, as per the document (the document just says execute the below command to check whether network is ok without a result to compare) I executed the following command and got the below result. Please advise whether is there any issue below lines, if any kindly advise how can i fix them. Thanks in advance,

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=00:11:43:72:54:8B
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03

chrism01 02-09-2012 07:14 PM

That's just the setup for your eth0 NIC. Whether its correct or not is specific to your system.
Have you only got that eth card?
Can you reach any systems on your LAN?
Can you reach google?

Try
Code:

ifconfig
as root or
Code:

/sbin/ifconfig
as non-root and post the result(s)


You'll find this handy http://www.linuxtopia.org/online_boo..._6_deployment/

sureshpanchanathan 02-09-2012 10:21 PM

Hi,

I am new to Linux and I am learning it. I just installed Oracle Linux 6.2 and wanted to install oracle 11g for learning purpose. Hence its my personal laptop (dual boot with win7). Yes that eth card that comes with inspiron 6000 laptop. I can reach google or any website from linux PC. Thanks

Output of /sbin/ifconfig

eth0 Link encap:Ethernet HWaddr 00:11:43:72:54:8B
inet addr:100.100.0.100 Bcast:100.100.0.255 Mask:255.255.255.0
inet6 addr: fe80::211:43ff:fe72:548b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3119 errors:0 dropped:0 overruns:0 frame:0
TX packets:1053 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1626797 (1.5 MiB) TX bytes:215578 (210.5 KiB)
Interrupt:18

eth1 Link encap:Ethernet HWaddr 00:12:F0:12:C6:1D
inet addr:100.100.0.100 Bcast:100.100.0.055 Mask:255.255.255.0
inet6 addr: fe80::212:f0ff:fe12:c61d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1690 errors:22 dropped:22 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:616058 (601.6 KiB) TX bytes:7346 (7.1 KiB)
Interrupt:17 Base address:0x6000 Memory:dfdfd000-dfdfdfff

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:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2580 (2.5 KiB) TX bytes:2580 (2.5 KiB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:A4:5C:4E
inet addr:100.100.000.1 Bcast:100.100.100.005 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:4999 (4.8 KiB)

catkin 02-09-2012 10:43 PM

Quote:

Originally Posted by sureshpanchanathan (Post 4598659)
Hence its my personal laptop (dual boot with win7). Yes that eth card that comes with inspiron 6000 laptop. I can reach google or any website from linux PC.

Is "Linux PC" the same computer as "inspiron 6000 laptop"?

sureshpanchanathan 02-09-2012 11:02 PM

Yes Oracle Linux OS is installed on inspiron 6000 laptop along with win7.

catkin 02-09-2012 11:30 PM

If you "can reach google or any website from linux PC" then the network connection is OK.

sureshpanchanathan 02-10-2012 12:31 AM

Thanks for the reply


All times are GMT -5. The time now is 08:18 AM.