Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 422 Bytes

sharing-internet.md

File metadata and controls

13 lines (9 loc) · 422 Bytes
  1. On your computer

Configure an ethernet connection to be "Shared to other computers."

Then, run sudo ifconfig eth0:1 192.168.1.200 (make sure that your IP address does not conflict with somebody else's).

  1. On sub

sudo route del default dev em1
sudo ifconfig em1:1 10.42.0.2 # should match the subnet of eth0 on your computer
sudo route add default gw 10.42.0.1 dev em1:1