Operating System - HP-UX
1753792 Members
6015 Online
108799 Solutions
New Discussion юеВ

Re: Static route Need to be added

 
SOLVED
Go to solution
AnthonySN
Respected Contributor

Re: Static route Need to be added

can you post ur netconf file
nightwich
Valued Contributor

Re: Static route Need to be added

Your netconf should look like this:



ROUTE_MASK[0]=Route_mask_for_your_gateway
ROUTE_GATEWAY[0]=your_gateway_address
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default


You also have to define your NIC to comunicate ex:

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=your_ip_adress
SUBNET_MASK[0]=your_netmasks
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""

Please assign some points to the inputs.

Regards.
V. Nyga
Honored Contributor

Re: Static route Need to be added

Hi,

try:
ROUTE_DESTINATION[1]="net 172.32.10.0"

Give us your netstat after reboot.

V.
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: Static route Need to be added

P.S.

net is also used by you in your command:

#route add --net 172.32.10.0-- netmask 255.255.255.0 10.80.60.200 1

V.
*** Say 'Thanks' with Kudos ***