How do I add a static route in Unix?

How do I add a static route in Unix?
Answer
Creating Persistent (Static) Routes
  1. Use the route command with the –p option to persistently add a route: # route -p add default ip-address. …
  2. Display the currently active routes on a system by using the netstat command with the following options: # netstat -rn.
 

Tìm kiếm

Back
Top