How to add route (gateway) in HP-UX

These are the steps for setting up routing on HP-UX.
I will give the IP address 192.168.1. to the router for this example.
Run the command: route add default 192.168.1.1 to initially add the router for all systems.
To keep this information after a reboot edit the file /etc/rc.config.d/netconf
add the IP address to ROUTE_GATEWAY
change ROUTE_COUNT to 1

Post a Comment

0 Comments