Network config of Openwrt based ESXI Env

config backup

root@iStoreOS:~# cat /etc/config/network 

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd04:c607:e242::/48'

config interface 'wan'
        option device 'eth0'
        option proto 'static'
        option ipaddr '192.168.101.77'
        option netmask '255.255.255.0'
        option gateway '192.168.101.1'
        option peerdns '0'
        list dns '223.5.5.5'
        list dns '192.168.101.1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '172.16.6.1'
        option netmask '255.255.255.0'
        option delegate '0'
        list dns '223.5.5.5'

posted @ 2024-03-18 00:10  两个黄鹂鸣翠柳丶  阅读(25)  评论(0)    收藏  举报