- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- REG the network
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
тАО05-23-2009 03:38 AM
тАО05-23-2009 03:38 AM
I tried to add the one default gateway by the command route add. It throws error like network unreachable even it is pinging.... So we tried like removed the existing entry in /etc/rc.config.d/netconf file and we added the new gateway ip like
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="xx.xx.xxx.xx"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
then we tried adding the gateway, i was added. so the question here is like while booting only it will refer this file to setup the routing table right? Is this file will be referred even when we adding the routes? can you please explain what exactly this file does?
thanks in advance...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 03:56 AM
тАО05-23-2009 03:56 AM
Re: REG the network
the netconf file is the source for /sbin/init.d/net startup script which is executed at boot time when the system enters in run level 2.
But you could run manually the net script to activate the entries of the netconf file
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 04:22 AM
тАО05-23-2009 04:22 AM
Re: REG the network
Add routing entries in /etc/rc.config.d/netconf and to apply the settings without rebooting the host; run the script /sbin/init.d/net start
Check the setting with: netstat -rn
Don't leave backup copy of any configuration file under /etc/rc.config.d/ as all the configuration files are referred when scripts under /sbin/init.d/ run.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 05:09 AM
тАО05-23-2009 05:09 AM
Re: REG the network
Yes, You are right, not only your routing table "hostname" & "ip address" of the server. for more information you can do
# man netconf
or refer to below links
http://docs.hp.com/en/B2355-90796/ix01.html
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 06:31 AM
тАО05-23-2009 06:31 AM
SolutionThe routing entires in the netconf file is used by the system during system startup or while executing /sbin/init.d/net command with start argument. These routing information will be static (ie persistent across system reboots)
The route add command will add routes to the system but it will be dynamic and need to add them to netconf file in order to make them static.
Thanks!!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 12:11 AM
тАО05-25-2009 12:11 AM