Created
June 18, 2020 07:03
-
-
Save Tacha-S/013d13b0ed90f7f7eed4cbedf4c7d501 to your computer and use it in GitHub Desktop.
cuboid routing conf when using dual NIC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ip route del 0.0.0.0/0 via 192.168.13.1 dev enp2s0 | |
ip route add 192.168.13.0/24 via 192.168.13.1 dev enp2s0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment