Skip to content

Instantly share code, notes, and snippets.

@hongry18
Created January 22, 2018 01:56
Show Gist options
  • Save hongry18/d04e7f8d3507c87563b73f7732d50110 to your computer and use it in GitHub Desktop.
Save hongry18/d04e7f8d3507c87563b73f7732d50110 to your computer and use it in GitHub Desktop.
맥 인터넷 무선, 유선 사용시 라우팅

sudo route -n add 출발지 목적지

example

내부망 192.168.0.0 ~ 192.168.255.255 연결할 게이트웨이 192.168.100.1

sudo route -n add 192.168.0.0/16 192.168.100.1

등록된 라우트 인터페이스 삭제

sudo route delete 192.168.0.0/16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment