Skip to content

Instantly share code, notes, and snippets.

@Tacha-S
Created June 18, 2020 07:03
Show Gist options
  • Save Tacha-S/013d13b0ed90f7f7eed4cbedf4c7d501 to your computer and use it in GitHub Desktop.
Save Tacha-S/013d13b0ed90f7f7eed4cbedf4c7d501 to your computer and use it in GitHub Desktop.
cuboid routing conf when using dual NIC
#!/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