[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

Adding a static route in HPunix

What is the syntax used to add a static route entry in HPunix (like ( route add destinationIP gatewayIP ) in solaris) ?
1 Solution
A similar syntax works for HP-UX ("route add [net|host] destIP gateway 1" - The 1 tells HP-UX it's a "real" gateway as opposed to other IP address schemes on the same LAN, masked by the subnet; man route explains a bit more), but it's not permanent, i.e. it gets lost when you reboot;

To make it permanent, you need to edit /etc/rc.config.d.netconf; The file format is self explanatory

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now