Created
November 9, 2017 06:50
-
-
Save dufferzafar/9ca4dec5ed98eba9e509575d6b09e0c9 to your computer and use it in GitHub Desktop.
Connecting to both WiFi and LAN on IIT Delhi; using WiFi for Internet and LAN for connection to baadal machines
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
# Connect to both LAN and WiFi | |
# Add route that you want to connect to via LAN | |
# (eg: the machines we wanted to connect to had 10.17.6.*) | |
route add -net 10.17.6.0 netmask 255.255.255.0 dev enp3s0 | |
# Now delete default LAN route | |
route del default dev enp3s0 | |
# Now confirm that the default entry routes to wlp2s0 | |
route |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment