- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- netmask ?
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
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
тАО10-25-2004 02:28 PM
тАО10-25-2004 02:28 PM
netmask ?
I'm getting this error in 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 <<--
there are 2 lan card
lan 1 entry:
P_ADDRESS[1]=10.100.109.250
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=up
:
:
ROUTE_DESTINATION[1]=10.100.108.11
ROUTE_MASK[1]=255.255.255.0
ROUTE_GATEWAY[1]=10.100.109.1
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
But whwnever i have the route_mask uncomment, i cant read the netconf file (/sbin/init.d/net) it complaint abt the route mask, i have to comment it out .
so each time system reboot, i need to manually add in the route "10.100.108.11"
anyone can help ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2004 03:20 PM
тАО10-25-2004 03:20 PM
Re: netmask ?
netmask: bad value
I suggest you replace
ROUTE_MASK[1]=255.255.255.0
with
ROUTE_MASK[1]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2004 03:22 PM
тАО10-25-2004 03:22 PM
Re: netmask ?
You mean it is ok with not putting anything on the route_mask ??
Will this start up automatically upon system reboot?
currently, i've commented it out. system reboot does not start up thsi route? any advice?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2004 03:49 PM
тАО10-25-2004 03:49 PM
Re: netmask ?
Route network mask would only make sense if you were adding network route (see below).
ROUTE_DESTINATION[1]="net 10.100.108.0"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]=10.100.109.1
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2004 03:51 PM
тАО10-25-2004 03:51 PM
Re: netmask ?
Forgot to tell you that i've changed to this:
ROUTE_DESTINATION[1]="net 10.100.108.11"
ROUTE_MASK[1]=255.255.255.0
ROUTE_GATEWAY[1]=10.100.109.1
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
Still, /sbin/init.d/net start <== fail with bad mask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2004 11:54 PM
тАО10-25-2004 11:54 PM
Re: netmask ?
The ip addresses you are using are Class A networks so shouldn't the SUBNET_MASK & the ROUTE_MASK be 255.0.0.0
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 01:13 AM
тАО10-26-2004 01:13 AM
Re: netmask ?
ROUTE_DESTINATION[1]="net 10.100.108.11"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="10.100.109.1"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
And more, ROUTE_MASK is a optional field. You can put or make "" there. If you did not put then system will take default route mask there.
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
Start net again.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 01:25 PM
тАО10-26-2004 01:25 PM
Re: netmask ?
on the same network as 10.100.108.11 with a netmask of
255.255.255.0
Either the netmask or the gateway needs fixing.
HTH and thanks for any points. ...Laurie :{)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 06:07 PM
тАО10-26-2004 06:07 PM
Re: netmask ?
With a subnet mask of 255.255.255.0 a valid ROUTE_DESTINATION would be "net 10.100.108.0"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 06:10 PM
тАО10-26-2004 06:10 PM
Re: netmask ?
even when i use:
ROUTE_DESTINATION[1]="net 10.100.108.0"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="10.100.109.1"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
i'm getting error rereading netconf.. why ?
but when i do this :
ROUTE_DESTINATION[1]="net 10.100.108.11"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="10.100.109.1"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
it went through. The route mask is confirmed correct. why it cant be used here ?