Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| zh:docs:guide-user:base-system:dhcp.dnsmasq [2019/11/05 03:55] – [Log spammed with DHCPINFORM/DHCPACK] longgenxing | zh:docs:guide-user:base-system:dhcp.dnsmasq [2019/11/05 04:17] – longgenxing | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
| - | |||
| ====== Dnsmasq ===== | ====== Dnsmasq ===== | ||
| ====== Dnsmasq软件 ===== | ====== Dnsmasq软件 ===== | ||
| Line 154: | Line 152: | ||
| ==== Static lease issues ==== | ==== Static lease issues ==== | ||
| + | ==== 静态地址绑定的问题 ==== | ||
| Windows 7 has introduced a new [[http:// | Windows 7 has introduced a new [[http:// | ||
| It won't assign IP address obtained from a DHCP server to an interface, if the IP was used before for another interface, even if that other interface is **NOT** active currently (i.e. cable disconnected). | It won't assign IP address obtained from a DHCP server to an interface, if the IP was used before for another interface, even if that other interface is **NOT** active currently (i.e. cable disconnected). | ||
| Line 159: | Line 158: | ||
| If you try configure MAC address hot swap on your router, Windows 7 clients will end up in an infinite [[http:// | If you try configure MAC address hot swap on your router, Windows 7 clients will end up in an infinite [[http:// | ||
| + | |||
| + | **中文翻译**: | ||
| + | Windows7包含一个新的功能 [[http:// | ||
| + | 系统不会把一个之前已经由DHCP服务器分配给另外一个接口(对应网卡)的IP地址,再配置给当前接口;即使是这个接口现在已经关闭了(比如该接口的网线已经拔了)。 | ||
| + | 这个处理思路很清奇,在老版本的Windows、Mac OS、Linux里都没听说过。 | ||
| + | |||
| + | 如果你尝试在你的路由器里配置MAC地址绑定和解绑定的功能,Windows7客户端就会无休止的循环请求。 | ||
| + | |||
| Solution: | Solution: | ||
| Line 167: | Line 174: | ||
| * When you plug the ethernet cable in, disable wireless interface in control panel (power off wireless won't do it). | * When you plug the ethernet cable in, disable wireless interface in control panel (power off wireless won't do it). | ||
| * When you unplug ethernet cable, enable wireless and disable ethernet. | * When you unplug ethernet cable, enable wireless and disable ethernet. | ||
| + | |||
| + | **中文翻译**: | ||
| + | |||
| + | 解决方案如下: | ||
| + | - 创建一个Windows7种的有线网卡跟无线网卡的网桥,然后: | ||
| + | * 给这个网桥添加MAC地址,并写到“/ | ||
| + | * 因为你的网桥可能会占用或者改变你的MAC地址,你可能会在WiFi接口上丢失SLAAC状态,这样,你如果想用无线网络,就得在你的笔记本上(假设你的客户机就是笔记本)禁掉IPv6. | ||
| + | - 另一种对IPv6兼容一点的做法是,你可以不要添加网桥的配置,也不用手工去dnsmasq软件里添加MAC地址,但是却要做别的配置: | ||
| + | * 如果你要用有线网络,你插网线的前,先去控制面板把无线网卡禁用掉。 | ||
| + | * 如果你要用无线网络,你拔网线的前,再把无线网卡启用,然后把有线网卡禁用。 | ||
| <code bash> | <code bash> | ||
| Line 178: | Line 195: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| + | ===== 相关信息 ===== | ||
| * Project Homepage: [[http:// | * Project Homepage: [[http:// | ||
| * Tutorial http:// | * Tutorial http:// | ||
| * Tutorial http:// | * Tutorial http:// | ||
| + | |||
| + | ===== 翻译信息 ===== | ||
| + | LongGenxing 20191105 第一次翻译 | ||