MacBook dual NIC Routing

Source: Internet
Author: User
Tags macbook

Use the route command to resolve the following steps:
1) determine the network segment of your intranet, if there are more than one listed, for example: 192.168.1.0/24,10.20.0.0/16, etc.

2) Determine your intranet network card gateway IP, through NETSTAT-RT can see, for example: Here the first NIC En0 is the wireless network card, The gateway IP is 10.99.1.1, the second NIC EN4 is the wired network card, the gateway IP is 10.20.1.1, different machines, the network card number may be different.

Assign access to fewer xxx.yyy.0.0 URLs to En0 on this NIC:

/sbin/route add -net xxx.yyy.0.0 -netmask 255.255.0.0 -interface en0

MacBook dual NIC Routing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.