- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to configure more one permanent route in netco...
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
03-03-2005 07:24 AM
03-03-2005 07:24 AM
How to configure more one permanent route in netconf file?
I have HP-UX 11i v2 in itanium server, with two NICS, one goes to internet with IP address 200.36.35.3/255.255.255.248 with gw 200.36.35.1 and the other goes to intranet with ip address 192.168.1.10 / 255.255.255.0, this NIC needs to communicate with the rest of the subnests using the intranet gw 192.168.6.200, I added the routes manually but I need that these routes are permanent,
route add net 192.168.2.0 netmask 255.255.255.0 192.168.6.200 1
route add net 192.168.3.0 netmask 255.255.255.0 192.168.6.200 1
route add net 192.168.4.0 netmask 255.255.255.0 192.168.6.200 1
route add net 192.168.5.0 netmask 255.255.255.0 192.168.6.200 1
and so on until 192.168.9.0
How to configure in netconf file?
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2005 07:52 AM
03-03-2005 07:52 AM
Re: How to configure more one permanent route in netconf file?
ROUTE_DESTINATION[1]=192.168.2.0
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]=192.168.6.200
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
ROUTE_DESTINATION[2]=192.168.3.0
ROUTE_MASK[2]="255.255.255.0"
ROUTE_GATEWAY[2]=192.168.6.200
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""
etc., etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2005 07:54 AM
03-03-2005 07:54 AM
Re: How to configure more one permanent route in netconf file?
after doing the netconf change you can do the following to test:
/sbin/init.d/net start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2005 07:58 AM
03-03-2005 07:58 AM
Re: How to configure more one permanent route in netconf file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 07:08 AM
03-15-2005 07:08 AM
Re: How to configure more one permanent route in netconf file?
I applied that you suggested but in the rc.log appears
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
netmask: bad value
"/sbin/rc2.d/S340net start" FAILED
Any idea...
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 07:18 AM
03-15-2005 07:18 AM
Re: How to configure more one permanent route in netconf file?
do an ifconfig lan#
replace the # sign with the number from lanscan.
lan0
lan1
every lan.
See what that tells you.
dmesg
Make sure all lan cards are working right.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 08:05 AM
03-15-2005 08:05 AM
Re: How to configure more one permanent route in netconf file?
Run
netstat -in
to see what's currently up.
And
netstat -rn
to examine the routing table.
Tony