- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding a static route for a subnet in netconf ...
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-23-2011 08:00 AM
тАО01-23-2011 08:00 AM
Adding a static route for a subnet in netconf file.
Hello Guys,
I am facing this weird issue below:
When I try to add a route in netconf to reach the host 110.1.136.96 based on the host parameter ( see below ), I am able to reach the destination server however when I try to add the static route for the whole subnet, the destination host is not reachable, Although the routing table looks ok.
Can anyone advise what could be the issue?
ROUTE_DESTINATION[1]="net 10.1.136.0"
SUBNET_MASK[1]=255.255.255.0
ROUTE_GATEWAY[1]=10.1.156.36
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[2]="host 110.1.136.96"
ROUTE_GATEWAY[2]=10.1.156.36
ROUTE_COUNT[2]=1
thanks a lot !
Jean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 11:21 AM
тАО01-23-2011 11:21 AM
Re: Adding a static route for a subnet in netconf file.
First check if you can reach the gateway once the additional route added, then try reaching the host,
# route add net 10.1.136.0 netmask 255.255.255.0 10.1.156.36
# ping 10.1.156.36
# nslookup 10.1.156.36
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 11:24 AM
тАО01-23-2011 11:24 AM
Re: Adding a static route for a subnet in netconf file.
Jean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 11:32 AM
тАО01-23-2011 11:32 AM
Re: Adding a static route for a subnet in netconf file.
If the above working then add in netconf file as follows, after the frist set of route entry, and re-check after netconf re-read has been done.
ROUTE_DESTINATION[1]="net 10.1.136.0"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="10.1.156.36"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
ROUTE_SOURCE[1]=""
#####################################
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 11:49 AM
тАО01-23-2011 11:49 AM
Re: Adding a static route for a subnet in netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 12:06 PM
тАО01-23-2011 12:06 PM
Re: Adding a static route for a subnet in netconf file.
Cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 08:10 PM
тАО01-23-2011 08:10 PM
Re: Adding a static route for a subnet in netconf file.
Hi,
See below configuration for net conf,
ROUTE_DESTINATION[0]="net 10.1.136.0"
ROUTE_DESTINATION[1]="110.1.136.96"
ROUTE_MASK[0]="255.255.255.0"
ROUTE_GATEWAY[0]="10.1.156.36"
ROUTE_GATEWAY[1]="10.1.156.36"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
If problem resolved , assign point.
Cheers//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 04:04 AM
тАО01-24-2011 04:04 AM
Re: Adding a static route for a subnet in netconf file.
It didn't work when I did the configuration in netconf.
Any other idea what could be the problem?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 05:37 AM
тАО01-24-2011 05:37 AM
Re: Adding a static route for a subnet in netconf file.
1.- Adding the route by command (route add)
2.- Adding the route by netconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 07:01 AM
тАО01-24-2011 07:01 AM
Re: Adding a static route for a subnet in netconf file.
does it make a difference ?