Solved

online

Posted on 2013-01-31
11
214 Views
Last Modified: 2013-02-28
I cannot go online...

in my linux machine in my other machine with same configuration it is working fine..
I did everything same configuration..I checked everything
but I cannot go online...
screen shot attached...
net.png
0
Comment
Question by:walkerdba
  • 5
  • 4
  • 2
11 Comments
 
LVL 23

Expert Comment

by:savone
ID: 38841429
We will need more information to help.

Are you using DHCP or Static IP address?
Are you using a proxy server?

Cat you post the output of the following commands:

cat /etc/sysconfig/network-scripts/ifcfg-eth0
cat /etc/sysconfig/network
cat /etc/resolv.conf

That is a good start.
0
 

Author Comment

by:walkerdba
ID: 38841737
[root@term ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.2.255
HWADDR=00:0C:29:FE:8B:5F
IPADDR=192.168.2.45
IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
TYPE=Ethernet
[root@term ~]#

[root@term ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=term.localdomain
[root@term ~]#


[root@term ~]# cat /etc/resolv.conf
nameserver 192.168.0.1
search hsd1.ca.comcast.net.
[root@term ~]#
0
 
LVL 23

Expert Comment

by:savone
ID: 38841951
Your DNS is set to 192.168.0.1 which is a different subnet that your IP address.  

try this:

ping 192.168.0.1

and post the results.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:walkerdba
ID: 38842438
[root@term ~]# ping 192.168.0.1
connect: Network is unreachable
[root@term ~]#
0
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 38842743
Can you also post the config of the working box.

As the expert says, this box needs to be on the same network as the DNS + Gateway.

See an example of my box

[root@ewok ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BROADCAST=172.16.255.255
IPADDR=172.16.1.46
NETMASK=255.255.0.0
NETWORK=172.16.0.0
GATEWAY=172.16.1.39
ONBOOT=yes
TYPE=Ethernet

Your current setup will work if you have a router in between your two networks, even then, you still need to change a few things.
0
 

Author Comment

by:walkerdba
ID: 38843021
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.2.255
HWADDR=00:0C:29:FE:8B:5F
IPADDR=192.168.2.45
IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
TYPE=Ethernet
~                                                                              
~                                                                              
~                                                                              
~                                                                              
~
0
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 38843051
Can you successfully ping another machine on your network?
Is there a firewall ?
0
 
LVL 23

Expert Comment

by:savone
ID: 38843754
One the working machine, post the output of the following three commands:

ping 192.168.0.1

dig google.com

route -n
0
 

Author Comment

by:walkerdba
ID: 38860636
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.2.255
HWADDR=00:0C:29:FE:8B:5F
IPADDR=192.168.2.45
IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
TYPE=Ethernet
~                                                                              
~                                                                              
~                                                                              
~                                                                              
~                                                                              
~                                                                    



Machine is pinging with public address  no issues

but with DNS

[root@term network-scripts]# ping 192.168.0.1
connect: Network is unreachable
[root@term network-scripts]#
0
 
LVL 23

Accepted Solution

by:
savone earned 500 total points
ID: 38860907
I dont understand you last comment, can you please post the output of the following commands run from the working machine:

ping 192.168.0.1

dig google.com

route -n
0
 

Author Closing Comment

by:walkerdba
ID: 38938641
yes
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question