- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Setting Gateway correct
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
05-13-2003 06:58 AM
05-13-2003 06:58 AM
Setting Gateway correct
i have a problem regarding an hpux Server which i had installed some time ago for a customer.
The problem is that even all the parameters are set correctlye in the file /etc/rc.config.d/netconf and are identically to an second machine, where the gateway works, the machine does not have set the default gateway correctly.
If i start sam and differ beetween both machine than the only diferrence i can see is that the one with the working interface show the correct default gateway, the other one shows "not defined".
If i set the gateway manually "route add default ..." it works perfect. Although i can handle it via an startscript so that the machine sets the default gateway automatically.
Has someone an idea why it does not work automatically?
Regards
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 07:17 AM
05-13-2003 07:17 AM
Re: Setting Gateway correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 07:19 AM
05-13-2003 07:19 AM
Re: Setting Gateway correct
I guess, you can try by set_parms addl_netwrk and see if it makes any difference.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 07:20 AM
05-13-2003 07:20 AM
Re: Setting Gateway correct
What do your gateway entries in /etc/rc.config.d/netconf look like? Have you compared them to the working machine?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 07:23 AM
05-13-2003 07:23 AM
Re: Setting Gateway correct
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=123.123.123.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Of course you would put your actual default router address where my 123.123.123.1 is and don't forget the ROUTE_COUNT[0]=1 as this tells the system that the router is on the LAN and not the host itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 07:42 AM
05-13-2003 07:42 AM
Re: Setting Gateway correct
Make sure gated is not running.
Then, note the interface number of your card in lanscan.
That number cooresponds to the [0] in the post immediately preceeding this one. Set your gateway according to that post.
(If gated was running, make sure you turn it off in netconf)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 07:42 AM
05-13-2003 07:42 AM
Re: Setting Gateway correct
Make sure gated is not running.
Then, note the interface number of your card in lanscan.
That number cooresponds to the [0] in the post immediately preceeding this one. Set your gateway according to that post.
(If gated was running, make sure you turn it off in netconf)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 07:45 AM
05-13-2003 07:45 AM
Re: Setting Gateway correct
where can i edit the settings im SAM? I haven't found a place to change it yet.
For the others, the settings in the /etc/rc.config.d/netconf file are:
LOOPBACK_ADDRESS=127.0.0.1
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="10.85.1.2"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARP=0
IP_ADDRESS[1]=10.85.102.2
SUBNET_MASK[1]=255.255.0.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=10.85.255.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=1
Is there anything wrong?
Thanks
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 11:54 AM
05-13-2003 11:54 AM
Re: Setting Gateway correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 12:05 PM
05-13-2003 12:05 PM
Re: Setting Gateway correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 06:32 AM
05-14-2003 06:32 AM
Re: Setting Gateway correct
in /etc/rc.config.d/netconf it should look like this:
ROUTE_DESTINATION[0]=ip-address of destination
ROUTE_MASK[0]="255.255.0.0"
ROUTE_GATEWAY[0]=10.85.1.2 (ip-address of your gateway to the destination?)(test it without "")
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
That works for me!
As Shiju mentioned, if anything wrong there should be an error in /etc/rc.log.
Regards
Volkmar