- 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
Discussions
Discussions
Forums
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
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?