- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I can't add route in Hp Unix11
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
тАО06-21-2009 11:53 PM
тАО06-21-2009 11:53 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 12:02 AM
тАО06-22-2009 12:02 AM
Re: I can't add route in Hp Unix11
I think some problem with your sam
see the below example
default route through gateway 192.168.2.1
# route add default 192.168.2.1 1
creates a route for network 192.168.4.0 and its gateway is router 192.168.2.1.
# route add net 192.168.4.0 netmask 255.255.255.0 192.168.2.1
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 12:05 AM
тАО06-22-2009 12:05 AM
Re: I can't add route in Hp Unix11
Please see the similar post.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1188826
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 12:07 AM
тАО06-22-2009 12:07 AM
Solutionthe syntax will be :
# route add IP netmask gateway count
If you are not sure, man route.
Here is an example
# route add 192.168.0.0 255.255.255.0 192.1.1.1 1
If you want this config remains after reboot, add the following in /etc/rc.config.d/netconf
ROUTE_DESTINATION[1]="net 192.168.0.0"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="192.168.1.1"
Restart network
# /sbin/init.d/net stop
# /sbin/init.d/net start
If you want a default router, modify only the following ROUTE_GATEWAY parameter. Example below.
#remain
ROUTE_DESTINATION[0]=default
# change this
ROUTE_GATEWAY[0]="192.168.1.1"
Rgds
Really appreciate if you could assign some points.;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 12:14 AM
тАО06-22-2009 12:14 AM
Re: I can't add route in Hp Unix11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 11:41 PM
тАО06-22-2009 11:41 PM
Re: I can't add route in Hp Unix11
Please verify the /etc/rc.config.d/netconf
and make sure that there is no other entry exists for "ROUTE_GATEWAY".
If any entry exists remove it and manually add (don't do it from SAM)the details and restart the net service.
/sbin/init.d/net stop
/sbin/init.d/net start
also verify that there is no error during running this command.
Thanks and Regards,
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 11:46 PM
тАО06-22-2009 11:46 PM
Re: I can't add route in Hp Unix11
ROUTE_GATEWAY[0]="192.168.1.1"