- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- entry 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
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
06-14-2010 04:46 AM
06-14-2010 04:46 AM
i have to put the following entry in netconf file to keep it permanent....
10.34.32.0/255.255.255.0 10.32.32.6 UG 0 lan1 1500
whats is the entry that is to be made ; i made the following entry but its not working i.e after reboot the server doesnt come up with this entry... ...
ROUTE_DESTINATION[1]=10.34.32.0
ROUTE_MASK[1]=255.255.255.0
ROUTE_GATEWAY[1]=10.32.32.6
ROUTE_COUNT[1]=1
Please advice ...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 05:48 AM
06-14-2010 05:48 AM
Re: entry in netconf
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="10.32.32.6"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
check by giving the below command
/sbin/init.d/net start
post the error you get if any.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 10:58 AM
06-14-2010 10:58 AM
Re: entry in netconf
INTERFACE_NAME[x]="lan1"
IP_ADDRESS[x]="x.x.x.x"
SUBNET_MASK="0xffffff00" or 255.255.255.0
BROADCAST_ADDRESS[x]="x.x.x.x"
INTERFACE_STATE[x]=up
DHCP_ENABLE[x]=x 0 or 1 depending on you
ROUTE_DESTINATION[x]="default"
ROUTE_MASK[x]=""
ROUTE_GATEWAY="g/w addr"
ROUTE_COUNT[x]="1"
Now...that 1500 is likely the MTU speed, and that would go along with the entries you put in the /etc/rc.config.d/hp
So run ioscan -fnC lan > ioscan.lan and see which file you need to edit based on the kind of lancard you have. (hpietherconf;hpigelanconf;hpbtlanconf...etc)
Hope that gives you some help..
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 11:22 AM
06-14-2010 11:22 AM
Re: entry in netconf
In general, when setting up a new gateway route, the HP-UX system will reject the route unless it already can reach the gateway listed in the route specification, so the order of the route entries can be significant.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 09:34 PM
06-14-2010 09:34 PM
Re: entry in netconf
You were right i got the following error in my /etc/rc.log ,
Configure LAN interfaces
Output from "/sbin/rc2.d/S340net start":
----------------------------
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
Now how do i go ahead...
Hi SASJ,
I made the entry give by u ,
but what i got the result was ;
10.34.32.0/255.255.255.255 10.32.32.6 UGH 0 lan1 0
i need netmask as 255.255.255.0 ...
Kindly advice..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 10:39 PM
06-14-2010 10:39 PM
Re: entry in netconf
INTERFACE_NAME[x]="lan1"
IP_ADDRESS[x]="x.x.x.x"
SUBNET_MASK="0xffffff00" or 255.255.255.0
BROADCAST_ADDRESS[x]="x.x.x.x"
INTERFACE_STATE[x]=up
DHCP_ENABLE[x]=x 0 or 1 depending on you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 11:01 PM
06-14-2010 11:01 PM
Re: entry in netconf
10.34.32.0/255.255.255.0 10.32.32.6 UG 0 lan1 0
#lanadmin- m 1 --> will show u the output
MTU Size - 0 right?
using #lanadmin u can change MTU Value to 1500
then the entrywhat u required will fulfill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 11:15 PM
06-14-2010 11:15 PM
Re: entry in netconf
If you are not familiar with the netconf file modification and the sequence, you can do it easily with sam as well:
- Copy the original default netconf file back to /etc/rc.config.d/ . Or comment all earlier entries .
- Identify the lan interface that is connected.
- go to # sam --> network configuration --> interfaces (choose the interface)
- From the Action menu --> choose modify network parameters. --> choose the lan#.
- Add the IP address & subnet mask. OK.
- exit one level --> go to Router parameter optin.
- Add route --> add the default route. OK.
- Exit SAM.
- # cat /etc/rc.config.d/netconf | grep -v ^# | awk /./ # review the entry.
- Reboot and verify.
B] Option B : With netconf :
You can comment other entries and add as per below: (replace lan8 and IP's accordingly , as per your lan number and IP.)
#/etc/rc.config.d/netconf
DEFAULT_INTERFACE_MODULES=""
IP_ADDRESS[1]=10.x.y.z
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan8
BROADCAST_ADDRESS[1]=10.x.y.255
INTERFACE_STATE[1]=up
ROUTE_DESTINATION[0]=default
ROUTE_GATEWAY[0]=10.x.y.1
ROUTE_COUNT[0]=1
- Also, are you sure : 10.32.32.6 is your gateway IP. Gateway usually configured with the first IP of the subnet.
- Finally few more details may help here to find the actual problem: you can post:
# cat /etc/rc.config.d/netconf | grep -v ^# | awk /./
And : # lanadmin -sx 1
Good luck.
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 11:18 PM
06-14-2010 11:18 PM
Re: entry in netconf
The problem is it shuld give me the subnet as 255.255.255.0 ...and not 255.255.255.255 ..which is the present case .
I hope now the problem is clear ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 11:20 PM
06-14-2010 11:20 PM
Re: entry in netconf
My default route is fine...
i have to add another route....for 10.34.32.0 traffic...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2010 11:42 PM
06-14-2010 11:42 PM
SolutionFor 10.34.32.0 traffic you can add another route to the netconf , remember to use uniqe number for the route entry,
- Manually you can do it and check with pinging the gateway:
1. # route add net 10.34.32.0 netmask 255.255.255.0 10.32.32.6 1
# The subnet mask seems to be ok with your network address, however you can check with your network design/support team if the netmask you are using is correct.
2.
- Once the above wroks well you can make it permanent by adding the lines to netconf:
You can add at the end of the netconf and you can check:
ROUTE_DESTINATION[1]="net 10.34.32.0"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="10.32.32.6"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
ROUTE_SOURCE[1]=""
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2010 12:05 AM
06-15-2010 12:05 AM
Re: entry in netconf
I think you got it....dead right...
>>>> ROUTE_DESTINATION[1]="net 10.34.32.0"
I was looking for this entry ...the "net" word is imp here..
thanks i have edited my netconf file , and would be taking a reboot of this server asap...
Hope this entry would be permanent here...
Will keep u updated ....
Thanxx again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2010 04:08 AM
06-15-2010 04:08 AM
Re: entry in netconf
thanx Raj after rebooting the server , the entry is still there....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2010 04:25 AM
06-15-2010 04:25 AM
Re: entry in netconf
ROUTE_DESTINATION[1]="net 10.34.32.0"
what is the meaning of "net" in the above entry
what it will do