How to add route on MacOS!

Check route table
$ netstat -nr

Add route
$ sudo route -n add -net
$ sudo route -n add -net -ifp ppp0 = ip range = Gateway
ppp0 = Interface name

Delete route
$ sudo route delete -net -ifp en0

2 Replies to “How to add route on MacOS!”

  1. Nice post. I used to be checking constantly this weblog and I am inspired!
    Very useful information specially the final part :
    ) I maintain such information a lot. I was seeking this
    certain information for a long time. Thank you and
    good luck.

    Here is my web site – Royal CBD


      Nmap scan report for (
      Host is up (0.0084s latency).
      Other addresses for (not scanned): 2606:4700:10::ac43:f4d 2606:4700:10::6816:793 2606:4700:10::6816:693
      Not shown: 995 filtered ports
      25/tcp open smtp
      80/tcp open http
      443/tcp open https
      8080/tcp open http-proxy
      8443/tcp open https-alt

Leave a Reply

Your email address will not be published. Required fields are marked *