- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding Default 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
01-25-2010 12:31 PM
01-25-2010 12:31 PM
Adding Default gateway
Hopefully you can help me out here..I am trying to add gateway IP in this file
/etc/rc.config.d/netconf
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="192.168.1.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
# /sbin/init.d/net stop
# /sbin/init.d/net start
but when i try to ping gateway then it hang...
I can ping my IP, loopback...
Anyone, can help me to see what else i need to do or missing something here?
Thanks ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2010 01:01 PM
01-25-2010 01:01 PM
Re: Adding Default gateway
> hang...
What is/are the IP address/es on this system?
If you can't ping the gateway before you tell
the system that it is a gateway, then it
can't be much of a gateway, can it?
Potentially interesting:
netstat -rn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2010 01:02 PM
01-25-2010 01:02 PM
Re: Adding Default gateway
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.1.60 192.168.1.60 UH 0 lan0 4136
192.168.1.0 192.168.1.60 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 192.168.1.1 UG 0 lan0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 01:37 AM
01-26-2010 01:37 AM
Re: Adding Default gateway
#route add default 192.168.1.1 1
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 01:47 AM
01-26-2010 01:47 AM
Re: Adding Default gateway
apart the ping behaviour to gateway which hangs, does the gateway do its work? I mean can you reach systems over the gateway from this machine?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 01:49 AM
01-26-2010 01:49 AM
Re: Adding Default gateway
The netstat -rn seems good. You have configure the default gateway as 192.168.1.1
If you don't ping it, perhaps you have a link/cable problem or maybe the port of the network switch is not configure on the same vlan of 192.168....
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 01:55 AM
01-26-2010 01:55 AM
Re: Adding Default gateway
netstat -rn -> command shows that you already setup "default Gateway"
if you can't ping the gateway -> next thing you check using -> traceroute command from Your server
# traceroute
check with "Network" Team
sometime it could be the "firewall" rule
ping may be blocked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 02:07 AM
01-26-2010 02:07 AM
Re: Adding Default gateway
You are configured good but as you said there seems to be a firewall (not from OS)that blocks you from PING.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 07:03 AM
01-26-2010 07:03 AM
Re: Adding Default gateway
Thanks for all your input what i did is
# traceroute 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 *#
So look like my firewall is block?? Can someone provide me some input..Thanks all again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 07:35 AM
01-26-2010 07:35 AM
Re: Adding Default gateway
(Is that a question. That's a question?)
Only you (and the psychics) know what network
hardware and software lie between your
(unidentified) server system and your
(unidentified) gateway system. With almost
exactly no useful information, what do you
expect anyone to tell you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 07:42 AM
01-26-2010 07:42 AM
Re: Adding Default gateway
maybe the ping is blocked from the firewall for ICMP request, you should check with people who manage the firewall but the point is: does the gateway do its work? I mean can you reach systems over the gateway from this machine?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 09:10 AM
01-26-2010 09:10 AM
Re: Adding Default gateway
I will check with the network team to make sure is not block. As far as i know the gateway IP is working, when i ping the gateway IP address from my desktop is working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 09:18 AM
01-26-2010 09:18 AM
Re: Adding Default gateway
then turn off the dead gateway probe via ndd.
ndd -get /dev/ip ip_ire_gw_probe
ndd -set /dev/ip ip_ire_gw_probe 0
this will need to be put in /etc/rc.config.d/nddconf in order to exist after reboots.
( if this is not the issue the save it for a rainy day ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2010 05:44 PM
01-27-2010 05:44 PM
Re: Adding Default gateway
i am using command :
# set_parms addl_netwrk
I got an error message " WARNING: Unable to contact gateway at 192.168.1.1.
The gateway system may be down or there may be a network disruption.
Verify that the address 192.168.1.1 is correct.
WARNING: Unable to contact DNS server at 192.168.1.33.
The DNS server system may be down or there may be a network disruption.
Verify that the address 192.168.1.33 is correct.
my ip address is 192.168.1.60 which they are same subnet.
Could it be something wrong on my network server side rather than on HP-UX machine ifself? I really appreciate if any one you guy give me some suggestion..
Thanks ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 01:50 AM
01-28-2010 01:50 AM
Re: Adding Default gateway
which is the operating system on DNS machines? Try to check from another side, connect onto DNS machines and try to ping your HP-UX system.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 05:29 AM
01-28-2010 05:29 AM
Re: Adding Default gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2010 08:48 PM
01-29-2010 08:48 PM
Re: Adding Default gateway
And please d'not forget assign points :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2010 08:55 PM
01-29-2010 08:55 PM
Re: Adding Default gateway
Please see below "example "nsswitch.conf"
more /etc/nsswitch.conf
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 11:26 AM
02-03-2010 11:26 AM
Re: Adding Default gateway
I had the enginerring HP take a look my configuration file..He said everything is look fine and correct. one thing about he concerned is my network side..like router or switch box...If i don't see the MAC address on switch box is that mean something with the configuration switch or what??