1. 單臂路由實(shí)現(xiàn)
1.1 需求
設(shè)備只有單個(gè)網(wǎng)卡,通過usb口提供網(wǎng)絡(luò)。電腦的網(wǎng)卡橋接USB設(shè)備網(wǎng)卡, usb設(shè)備獲取到路由器的DHCP文章來源:http://www.zghlxwxcb.cn/news/detail-704600.html
1.2 實(shí)現(xiàn)
1.2.1 電腦橋接
文章來源地址http://www.zghlxwxcb.cn/news/detail-704600.html
1.2.2 network配置
root@open:/# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fda7:68f2:b0c1::/48'
config interface 'lan'
option force_link '1'
option proto 'static'
option ipaddr '192.168.8.1'
option netmask '255.255.255.0'
option delegate '0'
option macaddr 'D4:86:6E:4E:38:15'
option _orig_br
到了這里,關(guān)于openwrt實(shí)現(xiàn)單臂路由的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!