- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to get to the internet from my HP-UX bo...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 01:29 AM
01-26-2004 01:29 AM
Can anyone please help
Thank you
Alfred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 01:41 AM
01-26-2004 01:41 AM
Re: Unable to get to the internet from my HP-UX box
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 01:56 AM
01-26-2004 01:56 AM
Re: Unable to get to the internet from my HP-UX box
If you like this to be the default gateway during startup edit /etc/rc.config.d/netconf
Edit next part:
ROUTE_GATEWAY[0]=
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
Do also edit the /etc/resolv.conf and add your ISP's DNS-servers.
nameserver
nameserver
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:01 AM
01-26-2004 02:01 AM
Re: Unable to get to the internet from my HP-UX box
Thanks for replying but I tried that.
I have a linksys router; the ip address is 192.168.1.1
So I did
route add default 192.168.1.1
This gives the error message:
Unable to locate the router ( something like that ) even though the cable are connected right and the light is green on the router.
Alfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:08 AM
01-26-2004 02:08 AM
Re: Unable to get to the internet from my HP-UX box
route add default 192.168.1.1 1
---------------------------------------------
From man route:
count An integer that indicates whether the gateway is a
remote host or the local host. If the route leads
to a destination through a remote gateway, count
should be a number greater than 0. If the route
leads to destination and the gateway is the local
host, count should be 0. The default for count is
Hewlett-Packard Company - 2 - HP-UX Release 11.00: October 1997
route(1M) route(1M)
zero. The result is not defined if count is
negative.
---------------------------------------------
If you don't specify count it takes a local route.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:12 AM
01-26-2004 02:12 AM
Re: Unable to get to the internet from my HP-UX box
just a thought: if 192.168.1.1 is reachable then
# route add default 192.168.1.1 1
with 1 at the end of command.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:13 AM
01-26-2004 02:13 AM
Re: Unable to get to the internet from my HP-UX box
Is it on the same subnet and can you ping the linksys router?
(check netconf file for IP config)
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:17 AM
01-26-2004 02:17 AM
Re: Unable to get to the internet from my HP-UX box
I will try this as soon as I get home
Alfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:21 AM
01-26-2004 02:21 AM
SolutionIf you have a link it means you have a phisical connection with the router. Now you need to setup an ipadress on the interface in the same network. The linksys has: 192.168.1.1 so if you provide the HPUX server with 192.168.1.2 and condifure the same subnetmask it hould work. Howto configure the ipadress.
Once:
ifconfig lan
route add default 192.168.1.1
Allways:
edit /etc/rc.config.d/netconf file:
INTERFACE_NAME[0]="lan
IP_ADDRESS[0]="192.168.1.2"
SUBNET_MASK[0]="0xffffff00"
BROADCAST_ADDRESS[0]="192.168.1.255"
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]="default"
ROUTE_GATEWAY[0]="192.168.1.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:27 AM
01-26-2004 02:27 AM
Re: Unable to get to the internet from my HP-UX box
The IP address of the HP box is 10.1.96.66 and the netmask is 255.255.255.0
If I do: route add default 192.168.1.1
I get an error message and I can't ping the router ( 192.168.1.1 )
But if I do: router add default 10.1.96.66,
it takes it and then I can ping the router but I can't ping any site on the internet
Alfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:33 AM
01-26-2004 02:33 AM
Re: Unable to get to the internet from my HP-UX box
Wy did you conigure the HP box with a different IP or was it already configured(do you need 2 subnets at home?)
The route command that worked fine was because you added the default route to its own IP address.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:34 AM
01-26-2004 02:34 AM
Re: Unable to get to the internet from my HP-UX box
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:43 AM
01-26-2004 02:43 AM
Re: Unable to get to the internet from my HP-UX box
you should use similar IP's or you have to change your subnet-mask or route-mask in your netconf (to 0.0.0.0 ?).
Regards
Volkmar
(Better input here, haven't I told you?) ;-)
P.S.
Don't forget assigning points to the guys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:44 AM
01-26-2004 02:44 AM
Re: Unable to get to the internet from my HP-UX box
I will try what you suggested. I think it should fix it.
Thank you so much
Peter,
I shouldn't have used the 10.1.96.66 IP address. I will try what you suggested.
No, I don't need 2 subnet mask at home.
Thanks
Alfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:51 AM
01-26-2004 02:51 AM
Re: Unable to get to the internet from my HP-UX box
Thanks for your help.
I am assigning points to the each respose.
The input is great
Alfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 11:57 AM
01-26-2004 11:57 AM
Re: Unable to get to the internet from my HP-UX box
I am almost pinging internet sites but not quite. When I pinged www.yahoo.com, I get
www.yahoo.akadns.net then it hangs
any clue?
Alfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:38 PM
01-26-2004 02:38 PM
Re: Unable to get to the internet from my HP-UX box
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
and finally, you'll need to create /etc/resolv.conf with the DNS servers you want to use. Your ISP can supply you with a list of DNS addresses. Once you have the addresses, use nslookup to see if they work, soemthing like this:
nslookup hp.com 12.34.56.78
where 12.34.56.78 is the address of your DNS server. Your resolv.conf will then look something like this:
nameserver 12.34.56.78
nameserver 207.69.188.185
nameserver 207.69.188.187
n
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 05:32 PM
01-26-2004 05:32 PM
Re: Unable to get to the internet from my HP-UX box
Just back at work and saw it did still not work correct.
Did it work with Bill's advice?
Configure DNS in resolv.conf and configure nsswitch.conf?
Can you now ping a FQDN like www.yahoo.com?
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 12:22 AM
01-27-2004 12:22 AM
Re: Unable to get to the internet from my HP-UX box
I did what you suggested but I can't still ping any site.
Also, in my linksys router, there only 1 DNS IP. That's the one I used.
Another question, in the host line of nsswitch.conf, do I use the word dns or the actual dns IP
Thank you guys
Alfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 12:25 AM
01-27-2004 12:25 AM
Re: Unable to get to the internet from my HP-UX box
Can you ping the DNS server (i hope you use the DNS server from your ISP?)
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 12:26 AM
01-27-2004 12:26 AM
Re: Unable to get to the internet from my HP-UX box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 12:28 AM
01-27-2004 12:28 AM
Re: Unable to get to the internet from my HP-UX box
If that's a windows box (like win2000) do an ipconfig /all to see the specific settings like DNS-ip's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 12:29 AM
01-27-2004 12:29 AM
Re: Unable to get to the internet from my HP-UX box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 12:31 AM
01-27-2004 12:31 AM
Re: Unable to get to the internet from my HP-UX box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 12:38 AM
01-27-2004 12:38 AM
Re: Unable to get to the internet from my HP-UX box
ping 62.69.162.7
PING 62.69.162.7: 56 data bytes
64 bytes from www.startpagina.nl (62.69.162.7): icmp_seq=0. time=7. ms
64 bytes from www.startpagina.nl (62.69.162.7): icmp_seq=1. time=6. ms
Then if that works you have to figure out what DNS servers you can use(DNS from your ISP will do)
If the ping did not work, try from another system beheind your linksysrouter and check it's IP configuration.
Ps. Did you reboot after you made changes in the /etc/rc.config.d/netconf ?
Regards,
Peter