- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hp-ux 10.20 - ping to different gateway
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
02-18-2005 03:56 AM
02-18-2005 03:56 AM
hp-ux 10.20 - ping to different gateway
I have problem with my hp server.I used hp-ux B.10.20 A.this server only can connect from lokal server with same subnet.I can't ping this server from my local computer that have different subnet.this server can ping to default gateway but can't ping to different gateway or other ip with different subnet, JUST ONLY CAN PING TO SAME SUBNET.the card type is ethernet. when I check with lanadmin, operation status(value) is down(2).
any thoughts for me, please!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 04:15 AM
02-18-2005 04:15 AM
Re: hp-ux 10.20 - ping to different gateway
It sounds like it's working as it's supposed to: subnets are used to keep different parts of a network seperate from each other. As you have a lan card showing as down, there must be more than one on this machine, in which case the "down" card may be on the subnet you need. Assuming this card is already configured with an IP address & netmask, try:
ifconfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 04:22 AM
02-18-2005 04:22 AM
Re: hp-ux 10.20 - ping to different gateway
output of ifconfig lan1:
# ifconfig lan1
lan1: flags=863
inet 10.1.81.76 netmask ffffff00 broadcast 10.1.81.255
lan0 is not configured.
now, i work from putty and not in front of server.
this server still can't connect from outside!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 04:43 AM
02-18-2005 04:43 AM
Re: hp-ux 10.20 - ping to different gateway
Talk to your Networks team and ask for an IP address you can use on the desired subnet, then add a section to /etc/rc.config.d/netconf for lan0, using the same format as for lan1, and using a unique instance number [in square brackets]. Change the values for INTERFACE_NAME[x]=lan0
IP_ADDRESS[x]=a.b.c.d
BROADCAST_ADDRESS[x]=a.b.c.255
Keep the same value for SUBNET_MASK[x] and make sure INTERFACE_STATE[x]=up
A reboot should then get it all working (hopefully)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 05:18 AM
02-18-2005 05:18 AM
Re: hp-ux 10.20 - ping to different gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 05:30 AM
02-18-2005 05:30 AM
Re: hp-ux 10.20 - ping to different gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 05:38 AM
02-18-2005 05:38 AM
Re: hp-ux 10.20 - ping to different gateway
You say you can ping the default router but no other subnet?
That sounds to me like a router issue.
The host is *not* supposed to know how to get to other subnets - that's the router's job.
It could be a misconfigured router or the router's rules prevent traffic to those subnets deliberately. In *that* case then one would need to use another NIC & connect it to the other subnet directly.
So talk to the network folks & find out just what that router's supposed to do with traffic destined for the other subnets.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 06:01 AM
02-18-2005 06:01 AM
Re: hp-ux 10.20 - ping to different gateway
netstat -rn
and verify that you have a route labeled default & that it in fact points to that router.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 08:03 AM
02-18-2005 08:03 AM
Re: hp-ux 10.20 - ping to different gateway
Do a
netstat -r
You should have a gatewaye (letter G)
somewhere in the output.
If not then add a default gateway.
route add default 10.1.81.1
Since that is most likely your gateway host or router to the outside world.
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 11:10 AM
02-18-2005 11:10 AM
Re: hp-ux 10.20 - ping to different gateway
many thanks for helping me.but, until now, this server still can't connect from outside.the default gateway have flags "U", not "UG".something wrong??
I can ping to default router(10.1.81.x) and other ip with same subnet but I can't ping to other subnet.output like this:
# netstat -nr
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
10.1.81.76 127.0.0.1 UH 0 1834 lo0 4608
10.1.85.2 127.0.0.1 UH 0 0 lo0 4608
127.0.0.1 127.0.0.1 UH 0 294 lo0 4608
default 10.1.81.x U 0 36 lan1 1500
10 10.1.85.2 U 2 263 lan0 1500
10.1.81.0 10.1.81.76 U 2 426 lan1 1500
# ifconfig lan0
lan0: flags=863
inet 10.1.85.2 netmask ff000000 broadcast 10.255.255.255
# ifconfig lan1
lan1: flags=863
inet 10.1.81.76 netmask ffffff00 broadcast 10.1.81.255
# ping 10.1.81.x
PING 10.1.81.254: 64 byte packets
64 bytes from 10.1.81.x: icmp_seq=0. time=0. ms
64 bytes from 10.1.81.x: icmp_seq=1. time=0. ms
----10.1.81.254 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
# ping 10.1.81.19
PING 10.1.81.19: 64 byte packets
64 bytes from 10.1.81.19: icmp_seq=0. time=1. ms
64 bytes from 10.1.81.19: icmp_seq=1. time=0. ms
----10.1.81.19 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/1
# ping 10.2.133.86
PING 10.2.133.86: 64 byte packets
----10.2.133.86 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss
help me plz..!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 11:19 AM
02-18-2005 11:19 AM
Re: hp-ux 10.20 - ping to different gateway
Is Your local computer using the same router?
You should be able to work out the issue with the traceroute (windows:tracert) issued from both hosts toward the other.
check if the packets take the same way, and graph were they drop :)
FYI: the usual reboot command is shutdown -ry +60 (has to be issued from /), but You do not need it to resolve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 11:36 PM
02-18-2005 11:36 PM
Re: hp-ux 10.20 - ping to different gateway
I just find the solution. I must set the default router so have flags "UG"
I delete default router than add default router with ocmmand:
#route add default x.x.x.x 1
1 is count, i must set count above 0.
many thanks for you all.
thanks and regards,
-piyut-