1833780 Members
2545 Online
110063 Solutions
New Discussion

Internet problems

 
Ewan McDonald
Advisor

Internet problems

Ok, I have a connection which I have tested works using my laptop. I have tried pinging the gateway plus pinging an outside IP(such as one of Google's).
When connecting my visualize workstation (C3600) to the same connection, I can ping the gateway but not the outside world such as google. I'm trying to set up netscape for the first time, I can't connect to any websites using netscape either. I have two main questions... 1. Is there anything else you think I can try?
2. does netscape have any special settings? The reason I'm asking this is because I actually managed not get my workstation to ping google earlier on but netscape still failed to work? One thing I have noticed, i snomatter which way I set the TCP/IP settings, when I run the "ifconfig lan0" command the gateway adress is never correct - it always has a 255 at the end instead of a 1. Any help would be much appreciated!

Thanks,

Ewan
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Internet problems

Ewan,

Do you have a default route set up on the C3600? What does "netstat -rn" look like?


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: Internet problems

I think your testing approach is good.

Check the default gateway setting in /etc/rc.config.d/netconf

Don't make a copy of that file if you make changes, it will cause networking problems.

I would make sure the default gateway in that config file is set and pingable.

check that netmask is correct on all entries as well.

Then perhaps try a traceroute

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ewan McDonald
Advisor

Re: Internet problems

Hi guys, thanks for the help... ok in reply to your questions...

"netstat -rn" This shows three entries for lan0, not sure if this is ok or not? Only one of them is "default" the other two have IP addresses in the first field. The line which begins with default shows the correct gateway address for our network.

"/etc/rc.config.d/netstat" This shows everything ok, the IP is correct and the gateway is correct. The only thing I have noticed are there are some fields which are blank:
BROADCAST_ADDRESS
INTERFACE_STATE
ROUTE_MASK
ROUTE_ARGS
Should they have anything in them?
Also I'm not sure about the ROUTE_COUNT field - at the moment it is set to 1. is this the hop count? If so then it's a lot more than one, I'd be safer using 30?
Suraj Singh_1
Trusted Contributor

Re: Internet problems

HI Ewan,

You should have a look at the /etc/resolv.conf file.
Steps you should check:
1. # traceroute google.com
Check the first hop, is it the same IP address as your gateway? If not, you might need to change the default gateway in /etc/rc.config.d/netconf.
2. # nslookup www.google.com
Are you getting an IP address as an o/p of this command. If not you need to check the entry in /etc/resolv.conf file.

Rgds,
What we cannot speak about we must pass over in silence.