Skip to content

Instantly share code, notes, and snippets.

@dufferzafar
Created November 9, 2017 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dufferzafar/9ca4dec5ed98eba9e509575d6b09e0c9 to your computer and use it in GitHub Desktop.
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
# 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