- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- route add
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
09-26-2000 06:04 AM
09-26-2000 06:04 AM
route add
Where can i add this, so it done automaticly by reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 06:06 AM
09-26-2000 06:06 AM
Re: route add
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 06:11 AM
09-26-2000 06:11 AM
Re: route add
Add it into /etc/rc.config/netconf similar to;
ROUTE_DESTINATION[1]="add host 10.40.225.111"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=10.40.224.255
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 06:15 AM
09-26-2000 06:15 AM
Re: route add
you have to edit the file /etc/rc.config.d/netconf
Example:
route add net 191.3.0.0 netmask 255.255.0.0 191.2.4.8 1
ROUTE_DESTINATION[#]="net 191.3.0.0"
ROUTE_MASK[#]="255.255.0.0"
ROUTE_GATEWAY[#]=191.2.4.8
ROUTE_COUNT[#]=1
ROUTE_ARGS[#]=""
You have to choose the right index # within the [] (just increment unique)
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 06:24 AM
09-26-2000 06:24 AM
Re: route add
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="a.b.c.d"
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 09:09 PM
09-26-2000 09:09 PM
Re: route add
# vi /etc/rc.config.d/netconf
------------------------------
# the next set of statements
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="xxx.xxx.xxx.xxx"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 10:58 PM
09-26-2000 10:58 PM
Re: route add
You have to edit Network config
file : /etc/rc.config.d/netconf
ROUTE_DESTINATION[0]=default
ROUTE_GATEWAY[0]=192.168.145.1
ROUTE_COUNT[0]=1
ROUTE_MASK[0]=255.255.255.0
192.168.145.1 : Your gateway address
255.255.0.0 : Your Subnetwork Mask
and restart your network Daemon
then no rebooting
#/sbin/init.d/./net stop
#/sbin/init.d/./net start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2000 06:10 AM
11-03-2000 06:10 AM
Re: route add
followed.
ROUTE_DESTINATION[1]="add host 192.168.10.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=192.168.1.226
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
but after reboot it is not permanent, what?s wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2000 06:17 AM
11-03-2000 06:17 AM
Re: route add
By defining ROUTE_DESTINATION[1], it adds
a second route (same for MASK, GATEWAY[1]...)
Do you have a ROUTE_DESTINATION[0] defined
somewhere ? (with all other [0] stuff)
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2000 06:23 AM
11-03-2000 06:23 AM
Re: route add
=default
=""
=192.168.1.2
=1
=""
i have to assign 4 more routes !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2000 06:33 AM
11-03-2000 06:33 AM
Re: route add
I think that your problem is due to 'add' being included and isn't 192.168.10.0 a network rather than a host address? :-
ROUTE_DESTINATION[1]="add host 192.168.10.0"
should read
ROUTE_DESTINATION[1]="net 192.168.10.0"
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2000 02:29 PM
11-03-2000 02:29 PM
Re: route add
Berlene