I need some help with networking. I know how to do this in Windows, but not in NetworkManager on Arch Linux.
First my setup:
- NetworkManager
- Arch Linux
IP Addresses:
+---------------+-----------------+---------------+------------------------------+
| Address: | Netmask: | Gateway: | Range IP is meant to access: |
+---------------+-----------------+---------------+------------------------------+
| 192.168.0.28 | 255.255.255.0 | 192.168.0.1 | Everything except 172.*.*.* |
+---------------+-----------------+---------------+------------------------------+
| 172.25.73.162 | 255.255.255.248 | 172.25.73.161 | |
+---------------+-----------------+---------------+------------------------------+
I know the Windows command is:
route -p ADD 172.16.0.0 MASK 255.240.0.0 172.25.73.161
I need to make all traffic go through 192.168.0.28, and any traffic from or to 172.*.*.* go through 172.25.73.162.