?
Solved

online

Posted on 2013-01-31
11
Medium Priority
?
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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 2000 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

Basic Security of Your VPC

So, you’ve got this shiny new VPC and a fancy new application configured on your EC2 servers ready to go. This application is only accessible from your computer, which is great for security, but you need your users to be able to access it! So, what’s the easiest way to do this?

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

777 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