在Linux中将wlan0绑定到eth0


Answers:


1

您实际上可以执行此操作,例如以root身份执行:

modprobe bonding
ifconfig bond0 up
ifenslave bond0 wlan0 eth0

然后使用您的首选方法获取IP地址和bond0的默认路由

您也可以将其包含在/ etc / network / interfaces中,并为bond0进行适当的配置,并为ifenslave添加if-post-up行


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.