Board logo

标题: openwrt网络网卡IP网关配置 [打印本页]

作者: linda    时间: 2023-4-18 19:41     标题: openwrt网络网卡IP网关配置

vi /etc/config/network

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.1.78'
        option delegate '0'
        option gateway '192.168.1.1'
        option dns '223.5.5.5'

# /etc/init.d/network restart

或者 http://192.168.1.78/cgi-bin/luci 管理界面,设置向导>网络设置




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0