- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error on routing
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
07-05-2006 06:18 PM
07-05-2006 06:18 PM
Error on routing
Configure LAN interfaces
Output from "/sbin/rc2.d/S008net.sd start":
----------------------------
ERROR: usage: add destination [netmask mask] gateway [metric]
ERROR: usage: add destination [netmask mask] gateway [metric]
ERROR: usage: add destination [netmask mask] gateway [metric]
"/sbin/rc2.d/S008net.sd start" FAILED
I recently entered two new routing entries on /etc/rc.config.d/netconf file. The entries seems to be alright, but still this error coming. Pls help
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 06:26 PM
07-05-2006 06:26 PM
Re: Error on routing
Error in the netconf file.
Back out the change, do not keep a backup copy in the /etc/rc.config.d folder and try again.
To find the mistake, I have to actually see your netconf file.
I'm willing to do that offline. See my ITRC profile for a secure contact form.
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
07-05-2006 06:30 PM
07-05-2006 06:30 PM
Re: Error on routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 06:37 PM
07-05-2006 06:37 PM
Re: Error on routing
...........................................
# netconf: configuration values for core networking subsystems
#
# @(#) $Revision: 1.4.116.4 $ $Date: 96/01/22 14:56:43 $
#
# HOSTNAME: Name of your system for uname -S and hostname
#
# OPERATING_SYSTEM: Name of operating system returned by uname -s
# ---- DO NOT CHANGE THIS VALUE ----
#
# LOOPBACK_ADDRESS: Loopback address
# ---- DO NOT CHANGE THIS VALUE ----
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
HOSTNAME="mb_india"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), lanconfig(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: IP address in decimal-dot notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if different
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# LANCONFIG_ARGS: Link-layer encapsulation methods (e.g., ieee, ether).
# See lanconfig(1m) for details.
#
# DHCP_ENABLE Determines whether or not DHCP will be enabled on the
# network interface (see auto_parms(1M), dhcpclient(1M))
# 1 enables DHCP; 0 disables DHCP.
#
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.101.39.25
SUBNET_MASK[0]="255.255.255.0"
netconf (38%)
BROADCAST_ADDRESS[0]=""
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination host or network IP address in
# decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# 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.
#
# ROUTE_GATEWAY: Gateway IP address in decimal-dot notation.
# If local interface, must use the same form
# as used for IP_ADDRESS above.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
ROUTE_DESTINATION[0]="128.1.13.0"
ROUTE_MASK[0]="255.255.255.0"
ROUTE_GATEWAY[0]="10.101.39.4"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
# Dynamic routing to Swift Server
ROUTE_DESTINATION[1]="172.18.0.0"
ROUTE_MASK[1]="255.255.0.0"
ROUTE_GATEWAY[1]="10.101.39.4"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
# Dynamic routing daemon configuration. See gated(1m)
ROUTE_DESTINATION[2]="10.101.41.1"
ROUTE_MASK[2]="255.255.255.0"
ROUTE_GATEWAY[2]="10.101.39.1"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
netconf (95%)
RDPD=0
#
# Reverse Address Resolution Protocol daemon configuration. See rarpd(1m)
#
# RARPD: Set to 1 to start rarpd daemon
#
RARPD=0
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 05:37 PM
07-06-2006 05:37 PM
Re: Error on routing
ROUTE_MASK[2]="255.255.255.0"
ROUTE_GATEWAY[2]="10.101.39.1"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""
yes there is problem with u r enry just pu "net" word suffix of detination ip like
ROUTE_DESTINATION[2]="net 10.101.41.1"
ROUTE_MASK[2]="255.255.255.0"
ROUTE_GATEWAY[2]="10.101.39.1"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""
becoz of it indicated this is n/w ip , and error is gave tree time, and u have entered tree entry so make correct and and restar the correcponding service immediately u can check it out the error will come at next boot or not
thanks
siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 10:57 PM
07-06-2006 10:57 PM
Re: Error on routing
ROUTE_DESTINATION[2]="10.101.41.1"
ROUTE_MASK[2]="255.255.255.0"
ROUTE_GATEWAY[2]="10.101.39.1"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""
It looks like you want a network route here, but you have given a host address as the destination. So you probably want :
ROUTE_DESTINATION[2]="10.101.41.0"
or
ROUTE_DESTINATION[2]="net 10.101.41.0"
Or, if a host route really is what you want, ie., a route only to that one host:
ROUTE_DESTINATION[2]="host 10.101.41.1"
ROUTE_MASK[2]="255.255.255.255"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2006 11:59 PM
07-09-2006 11:59 PM
Re: Error on routing
Shibin