In the Network and * * * Sharing Center >> Two adapters corresponding to wifi and network cable were found in the adapter settings.
On the one hand, it is connected to a wireless network, and the settings are as follows:
On the other hand, connect the network cable and set it as follows:
So for a dual-stack campus network, you get ipv4 from the router and ipv6 from the wall. These two aspects are not in conflict.
But make sure that the wired network does not open ipv4, otherwise the ipv6 dhcp server of the school will learn from the ipv4 gateway that your mac does not have a valid ip address and will not give you an ipv6 address.
My practice in Dalian University of Technology proved to be effective.
Another method is to connect the LAN port of the router back to the wall, that is, to occupy two network ports, so that the ipv6 service package of the school will be forwarded by the switching end of the router, thus creating an ipv6 wireless network.
The equivalent third method is to connect the port on the school wall to one lan port of the router, and then connect the wan port of the router to another Lan port of the router. The school's ipv4 network service will be switched to the wan port by the lan end of the router, and then the router will route it away, and then an available ipv4 wireless network will be generated. At the same time, the school's ipv6 network service will be switched through the router's LAN port, making the wireless network.
Support ipv6.
However, methods 2 and 3 are very unstable, so you can use your router to surf the Internet by plugging in the network cable in the whole dormitory, because the dhcp of your router will leak on the wall.
The fourth method is to buy a router that supports ipv6. I'm using wndr3700 from Netware, and the price is around 400.
I usually use the fourth method, but for other students who use my router, the Internet speed of ipv6 is required to reach 100mbps, and the wireless network cannot provide it, so I will teach him the first method.