How Do I Add a Static Route in Linux?
Contents How Do I Create a Static Route in Linux? Linux Set Static Route Get Interface Name: Run an Ifconfig or Ip Addr in Order to Grab the Interface Name...
Contents
How do I create a static route in Linux?
Linux Set Static Route
- Get Interface Name: Run an ifconfig or ip addr in order to grab the interface name, that you want to set the route traffic to go through. …
- Create Route File: …
- Restart the Network Services: …
- Verify the route: …
- Get Interface Name: …
- Edit the interfaces file: …
- Restart the Network Services: …
- Verify the route:
Must Read
How do I add a static route?
Add a Static Route to the Windows Routing Table You can use the following syntax:
- route ADD destination_network MASK subnet_mask gateway_ip metric_cost.
- route add 172.16.121.0 mask 255.255.255.0 10.231.3.1.
- route -p add 172.16.121.0 mask 255.255.255.0 10.231.3.1.
- route delete destination_network.
- route delete 172.16.121.0.
24 окт. 2018 г.