Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

netconf file not working properly

osamaelnino
Collector

netconf file not working properly


System:HP UX
I have added some permanent static routes in this file /etc/rc.config.d/netconf

Then made restart for the network service to reread the routes

# /sbin/init.d/net stop
# /sbin/init.d/net start

Then i made netstat -nrv i found the routes available in the routing table but the target networks are not reachable and if i added the same routes manually ,the target networks will be reachable !!

I also tried to restart the server and it reads the netconf file but the routes will not work until added manually !

Any Solution ?
4 REPLIES
Steven Schweda
Honored Contributor

Re: netconf file not working properly

> System:HP UX

   Not a very detailed description of anything, especially the network
configuration.  For a start:

      uname -a

> I have added some permanent static routes in this file
> /etc/rc.config.d/netconf

   And the contents of (or even the changes to) this file are so secret
that you can't reveal them?

> Then i made netstat -nrv [...]

   And these results are so secret that you can't reveal them?

> [...] if i added the same routes manually [...]

   And the commands which you used to do that are so secret that you
can't reveal them?

> I also tried to restart the server and it reads the netconf file [...]

   And you know this how?

> Any Solution ?

   Based on what?  As usual, showing actual commands with their actual
output might be more helpful than vague descriptions or interpretations.

   In this case, comparing a "netstat -r[...]" report when things don't
work with a corresponding report after the (mysterious, magic) "added
manually" commands might be interesting, but my psychic powers are to
weak to make that possible (without your help).

osamaelnino
Collector

Re: netconf file not working properly

I had no access to the server that's why I didn't add except all the available informations

Anyway, thanks for your comment and I will share the details once available.

osamaelnino
Collector

Re: netconf file not working properly

here is the required info :

manmtr,sys,root # uname -a
HP-UX manmtr B.11.31 U ia64 0634102420 unlimited-user license

******the netconf file contents

manmtr,sys,root # pwd
/etc/rc.config.d
manmtr,sys,root # cat netconf
# netconf: configuration values for core networking subsystems
#
# @(#)B.11.11_LR $Revision: 1.6.119.6 $ $Date: 97/09/10 15:56:01 $
#
# 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="manmtr"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or 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
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functionality
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients get
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables it.
#
# 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]="192.168.1.15"
SUBNET_MASK[0]="255.255.255.0"
BROADCAST_ADDRESS[0]=""""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or 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 hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# 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]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="192.168.1.15"
ROUTE_COUNT[0]="0"
ROUTE_ARGS[0]=""

 

ROUTE_DESTINATION[1]="net 192.168.168.6"
ROUTE_MASK[1]="255.255.255.255"
ROUTE_GATEWAY[1]="192.168.168.102"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""


ROUTE_DESTINATION[2]="net 192.168.168.7"
ROUTE_MASK[2]="255.255.255.255"
ROUTE_GATEWAY[2]="192.168.168.102"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""


ROUTE_DESTINATION[3]="net 192.168.168.9"
ROUTE_MASK[3]="255.255.255.255"
ROUTE_GATEWAY[3]="192.168.168.102"
ROUTE_COUNT[3]="1"
ROUTE_ARGS[3]=""

ROUTE_DESTINATION[4]="net 192.168.168.10"
ROUTE_MASK[4]="255.255.255.255"
ROUTE_GATEWAY[4]="192.168.168.102"
ROUTE_COUNT[4]="1"
ROUTE_ARGS[4]=""

ROUTE_DESTINATION[5]="net 192.168.168.12"
ROUTE_MASK[5]="255.255.255.255"
ROUTE_GATEWAY[5]="192.168.168.102"
ROUTE_COUNT[5]="1"
ROUTE_ARGS[5]=""

ROUTE_DESTINATION[6]="net 192.168.168.16"
ROUTE_MASK[6]="255.255.255.255"
ROUTE_GATEWAY[6]="192.168.168.102"
ROUTE_COUNT[6]="1"
ROUTE_ARGS[6]=""

ROUTE_DESTINATION[7]="net 192.168.168.18"
ROUTE_MASK[7]="255.255.255.255"
ROUTE_GATEWAY[7]="192.168.168.102"
ROUTE_COUNT[7]="1"
ROUTE_ARGS[7]=""

ROUTE_DESTINATION[8]="net 192.168.168.20"
ROUTE_MASK[8]="255.255.255.255"
ROUTE_GATEWAY[8]="192.168.168.102"
ROUTE_COUNT[8]="1"
ROUTE_ARGS[8]=""

ROUTE_DESTINATION[9]="net 192.168.168.44"
ROUTE_MASK[9]="255.255.255.255"
ROUTE_GATEWAY[9]="192.168.168.102"
ROUTE_COUNT[9]="1"
ROUTE_ARGS[9]=""

ROUTE_DESTINATION[10]="net 192.168.168.46"
ROUTE_MASK[10]="255.255.255.255"
ROUTE_GATEWAY[10]="192.168.168.102"
ROUTE_COUNT[10]="1"
ROUTE_ARGS[10]=""

ROUTE_DESTINATION[11]="net 192.168.168.49"
ROUTE_MASK[11]="255.255.255.255"
ROUTE_GATEWAY[11]="192.168.168.102"
ROUTE_COUNT[11]="1"
ROUTE_ARGS[11]=""

ROUTE_DESTINATION[12]="net 192.168.168.50"
ROUTE_MASK[12]="255.255.255.255"
ROUTE_GATEWAY[12]="192.168.168.102"
ROUTE_COUNT[12]="1"
ROUTE_ARGS[12]=""

ROUTE_DESTINATION[13]="net 192.168.168.56"
ROUTE_MASK[13]="255.255.255.255"
ROUTE_GATEWAY[13]="192.168.168.102"
ROUTE_COUNT[13]="1"
ROUTE_ARGS[13]=""

ROUTE_DESTINATION[14]="net 192.168.168.61"
ROUTE_MASK[14]="255.255.255.255"
ROUTE_GATEWAY[14]="192.168.168.102"
ROUTE_COUNT[14]="1"
ROUTE_ARGS[14]=""

ROUTE_DESTINATION[15]="net 192.168.168.63"
ROUTE_MASK[15]="255.255.255.255"
ROUTE_GATEWAY[15]="192.168.168.102"
ROUTE_COUNT[15]="1"
ROUTE_ARGS[15]=""

ROUTE_DESTINATION[16]="net 192.168.168.70"
ROUTE_MASK[16]="255.255.255.255"
ROUTE_GATEWAY[16]="192.168.168.102"
ROUTE_COUNT[16]="1"
ROUTE_ARGS[16]=""

ROUTE_DESTINATION[17]="net 192.168.168.72"
ROUTE_MASK[17]="255.255.255.255"
ROUTE_GATEWAY[17]="192.168.168.102"
ROUTE_COUNT[17]="1"
ROUTE_ARGS[17]=""

ROUTE_DESTINATION[18]="net 192.168.168.73"
ROUTE_MASK[18]="255.255.255.255"
ROUTE_GATEWAY[18]="192.168.168.102"
ROUTE_COUNT[18]="1"
ROUTE_ARGS[18]=""

ROUTE_DESTINATION[19]="net 192.168.168.75"
ROUTE_MASK[19]="255.255.255.255"
ROUTE_GATEWAY[19]="192.168.168.102"
ROUTE_COUNT[19]="1"
ROUTE_ARGS[19]=""

ROUTE_DESTINATION[20]="net 192.168.168.76"
ROUTE_MASK[20]="255.255.255.255"
ROUTE_GATEWAY[20]="192.168.168.102"
ROUTE_COUNT[20]="1"
ROUTE_ARGS[20]=""

ROUTE_DESTINATION[21]="net 192.168.168.77"
ROUTE_MASK[21]="255.255.255.255"
ROUTE_GATEWAY[21]="192.168.168.102"
ROUTE_COUNT[21]="1"
ROUTE_ARGS[21]=""

ROUTE_DESTINATION[22]="net 192.168.168.78"
ROUTE_MASK[22]="255.255.255.255"
ROUTE_GATEWAY[22]="192.168.168.102"
ROUTE_COUNT[22]="1"
ROUTE_ARGS[22]=""

ROUTE_DESTINATION[23]="net 192.168.168.79"
ROUTE_MASK[23]="255.255.255.255"
ROUTE_GATEWAY[23]="192.168.168.102"
ROUTE_COUNT[23]="1"
ROUTE_ARGS[23]=""

ROUTE_DESTINATION[24]="net 192.168.168.80"
ROUTE_MASK[24]="255.255.255.255"
ROUTE_GATEWAY[24]="192.168.168.102"
ROUTE_COUNT[24]="1"
ROUTE_ARGS[24]=""

ROUTE_DESTINATION[25]="net 192.168.168.82"
ROUTE_MASK[25]="255.255.255.255"
ROUTE_GATEWAY[25]="192.168.168.102"
ROUTE_COUNT[25]="1"
ROUTE_ARGS[25]=""

ROUTE_DESTINATION[26]="net 192.168.168.83"
ROUTE_MASK[26]="255.255.255.255"
ROUTE_GATEWAY[26]="192.168.168.102"
ROUTE_COUNT[26]="1"
ROUTE_ARGS[26]=""

ROUTE_DESTINATION[27]="net 192.168.168.84"
ROUTE_MASK[27]="255.255.255.255"
ROUTE_GATEWAY[27]="192.168.168.102"
ROUTE_COUNT[27]="1"
ROUTE_ARGS[27]=""

ROUTE_DESTINATION[28]="net 192.168.168.85"
ROUTE_MASK[28]="255.255.255.255"
ROUTE_GATEWAY[28]="192.168.168.102"
ROUTE_COUNT[28]="1"
ROUTE_ARGS[28]=""

ROUTE_DESTINATION[29]="net 192.168.168.86"
ROUTE_MASK[29]="255.255.255.255"
ROUTE_GATEWAY[29]="192.168.168.102"
ROUTE_COUNT[29]="1"
ROUTE_ARGS[29]=""

ROUTE_DESTINATION[30]="net 192.168.168.91"
ROUTE_MASK[30]="255.255.255.255"
ROUTE_GATEWAY[30]="192.168.168.102"
ROUTE_COUNT[30]="1"
ROUTE_ARGS[30]=""

ROUTE_DESTINATION[31]="net 192.168.168.92"
ROUTE_MASK[31]="255.255.255.255"
ROUTE_GATEWAY[31]="192.168.168.102"
ROUTE_COUNT[31]="1"
ROUTE_ARGS[31]=""

ROUTE_DESTINATION[32]="net 192.168.168.93"
ROUTE_MASK[32]="255.255.255.255"
ROUTE_GATEWAY[32]="192.168.168.102"
ROUTE_COUNT[32]="1"
ROUTE_ARGS[32]=""

ROUTE_DESTINATION[33]="net 192.168.168.101"
ROUTE_MASK[33]="255.255.255.255"
ROUTE_GATEWAY[33]="192.168.168.102"
ROUTE_COUNT[33]="1"
ROUTE_ARGS[33]=""

ROUTE_DESTINATION[34]="net 192.168.2.224"
ROUTE_MASK[34]="255.255.255.255"
ROUTE_GATEWAY[34]="192.168.1.251"
ROUTE_COUNT[34]="1"
ROUTE_ARGS[34]=""

ROUTE_DESTINATION[35]="net 192.168.2.224"
ROUTE_MASK[35]="255.255.255.255"
ROUTE_GATEWAY[35]="192.168.1.250"
ROUTE_COUNT[35]="1"
ROUTE_ARGS[35]=""


ROUTE_DESTINATION[36]="net 192.168.168.0"
ROUTE_MASK[36]="255.255.255.0"
ROUTE_GATEWAY[36]="192.168.168.100"
ROUTE_COUNT[36]="1"
ROUTE_ARGS[36]=""

ROUTE_DESTINATION[37]="net 192.168.169.0"
ROUTE_MASK[37]="255.255.255.255"
ROUTE_GATEWAY[37]="192.168.21.1"
ROUTE_COUNT[37]="1"
ROUTE_ARGS[37]=""

ROUTE_DESTINATION[38]="net 192.168.170.0"
ROUTE_MASK[38]="255.255.255.0"
ROUTE_GATEWAY[38]="192.168.168.101"
ROUTE_COUNT[38]="1"
ROUTE_ARGS[38]=""


ROUTE_DESTINATION[39]="net 10.81.133.123"
ROUTE_MASK[39]="255.255.255.255"
ROUTE_GATEWAY[39]="192.168.1.251"
ROUTE_COUNT[39]="1"
ROUTE_ARGS[39]=""

 

 

 


# Dynamic routing daemon configuration. See gated(1m)
#
# 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
#

RDPD=0

#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARPD: Set to 1 to start rarpd daemon
#

RARPD=0


# New Optional Internet configuration parameters BEGINS
#
# INTERFACE_SKIP: Determines whether corresponding interface specified in INTERFACE_NAME
# need to be configured or not. Setting it to "true" will skip or disable
# the interface configuration. And setting it to "false" enables
# the interface configuration. Default is "false"
#
# For Example,
# In order to skip the configuration of interface mentioned in
# INTERFACE_NAME[0]. User can just set INTERFACE_SKIP[0] to"true".
#
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up, down or force, default is up.
# See ifconfig(1m) for more about force option.
#
# ROUTE_PARAMS: Specify "force" to enable force flag for the routes.
# See route(1m) for more about force flag.
#
# ROUTE_SKIP: Determines whether the corresponding static route needs to be
# configured or not. Setting it to "true" will skip or disable
# the configuration of this route. And setting it to "false" will
# enable the route configuration. Default is "false".
#
# Please note that if the corresponding source interface is
# skipped from the configuration, then set this flag to "true"
# or else /sbin/init.d/net fails to add this route.
# For example
# To skip the configuration of an static route specified in
# ROUTE_DESTINATION[0] set ROUTE_SKIP[0] to "true".
#
# Optional Internet configuration parameters ENDS.
INTERFACE_NAME[1]="lan1"
IP_ADDRESS[1]="192.168.168.100"
SUBNET_MASK[1]="255.255.255.0"
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]="up"
DHCP_ENABLE[1]="0"
INTERFACE_MODULES[1]=""
INTERFACE_NAME[2]="lan2"
IP_ADDRESS[2]="192.168.21.10"
SUBNET_MASK[2]="255.255.255.0"
BROADCAST_ADDRESS[2]=""
INTERFACE_STATE[2]="up"
DHCP_ENABLE[2]="0"
INTERFACE_MODULES[2]=""

******the output of the netstat -nrv command is a long list of routing table you will find each route is duplicated because one was added automatically by server which was not working and the other is added manually to be able to reach target networks .. I mean if I removed the manually added routes no target network will be reachable although the same route is available which was added automatically (I wish that you got what I mean)

manmtr,sys,root # netstat -nrv
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 32808
192.168.168.100/255.255.255.255 192.168.168.100 UH 0 lan1 32808
192.168.1.15/255.255.255.255 192.168.1.15 UH 0 lan0 32808
192.168.21.10/255.255.255.255 192.168.21.10 UH 0 lan2 32808
192.168.168.3/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.6/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.7/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.9/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.10/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.12/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.16/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
10.81.132.199/255.255.255.255 192.168.1.251 UGH 0 lan0 1500
192.168.168.18/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.20/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.36/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.38/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.44/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.46/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.47/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.49/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.50/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.56/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.61/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.63/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.70/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.72/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.73/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.2.224/255.255.255.255 192.168.1.251 UGH 0 lan0 1500
192.168.2.224/255.255.255.255 192.168.1.250 UGH 0 lan0 1500
192.168.168.75/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.76/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.77/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.78/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.79/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.80/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.82/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.83/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.84/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.85/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.86/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.91/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.92/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.93/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.101/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
10.81.133.123/255.255.255.255 192.168.1.251 UGH 0 lan0 1500
192.168.1.0/255.255.255.0 192.168.1.15 U 2 lan0 1500
192.168.168.0/255.255.255.0 192.168.168.100 U 2 lan1 1500
192.168.21.0/255.255.255.0 192.168.21.10 U 2 lan2 1500
192.168.168.6/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.7/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.9/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.10/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.12/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.16/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.18/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.20/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.44/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.46/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.49/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.50/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.56/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.61/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.63/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.70/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.72/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.73/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.75/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.76/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.77/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.78/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.79/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.80/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.82/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.83/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.84/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.85/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.86/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.91/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.92/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.93/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.101/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.0/255.255.255.0 192.168.168.100 U 0 lan1 1500
192.168.169.0/255.255.255.255 192.168.21.1 UGH 0 lan2 1500
192.168.169.0/255.255.255.0 192.168.21.1 UG 0 lan2 1500
192.168.170.0/255.255.255.0 192.168.168.101 UG 0 lan1 1500
192.168.1.0/255.255.255.0 192.168.1.15 U 0 lan0 1500
192.168.2.224/255.255.255.255 192.168.1.250 UGH 0 lan0 1500
192.168.2.224/255.255.255.255 192.168.1.251 UGH 0 lan0 1500
10.81.133.123/255.255.255.255 192.168.1.251 UGH 0 lan0 1500
192.168.21.0/255.255.255.0 192.168.21.10 U 0 lan2 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 32808
default/0.0.0.0 192.168.1.15 U 0 lan0 1500

*******and regarding the commands used to add a static route manually:

route add 192.168.168.10 192.168.168.102 1

******* the summary of the problem is in the output of the following commands (please check them carefully)

manmtr,sys,root # netstat -nrv | grep 192.168.168.70
192.168.168.70/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
192.168.168.70/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
manmtr,sys,root # ping 192.168.168.70
PING 192.168.168.70: 64 byte packets
64 bytes from 192.168.168.70: icmp_seq=0. time=58. ms
64 bytes from 192.168.168.70: icmp_seq=1. time=57. ms
64 bytes from 192.168.168.70: icmp_seq=2. time=59. ms
64 bytes from 192.168.168.70: icmp_seq=3. time=56. ms

----192.168.168.70 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 56/58/59
manmtr,sys,root # route delete 192.168.168.70 192.168.168.102
delete host 192.168.168.70: gateway 192.168.168.102
manmtr,sys,root # ping 192.168.168.70
PING 192.168.168.70: 64 byte packets

----192.168.168.70 PING Statistics----
8 packets transmitted, 0 packets received, 100% packet loss
manmtr,sys,root # netstat -nrv | grep 192.168.168.70
192.168.168.70/255.255.255.255 192.168.168.102 UGH 0 lan1 1500
manmtr,sys,root # route add 192.168.168.70 192.168.168.102 1
add host 192.168.168.70: gateway 192.168.168.102
manmtr,sys,root # ping 192.168.168.70
PING 192.168.168.70: 64 byte packets
64 bytes from 192.168.168.70: icmp_seq=0. time=70. ms
64 bytes from 192.168.168.70: icmp_seq=1. time=64. ms
64 bytes from 192.168.168.70: icmp_seq=2. time=95. ms

----192.168.168.70 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 64/76/95
manmtr,sys,root #

Patrick Wallek
Honored Contributor

Re: netconf file not working properly

Have you tried adding all of your routes in netconf as "host" routes rather than "net" routes, where applicable?

 

The majority of the routes I see in your netconf are to a specific IP address, with a route mask of 255.255.255.255, which I think should be a host route rather than a network route.