Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package 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 'fd9a:7464:e157::/48'
- config interface 'lan'
- option type 'bridge'
- option ifname 'eth0.1'
- option proto 'static'
- option netmask '255.255.255.0'
- option ip6assign '60'
- option gateway '192.168.178.2'
- option ipaddr '192.168.178.3'
- list dns '8.8.8.8'
- list dns '8.8.4.4'
- config interface 'wan'
- option ifname 'eth0.2'
- option proto 'static'
- option netmask '255.255.255.0'
- option broadcast '192.168.178.255'
- option ipaddr '192.168.178.3'
- option gateway '192.168.178.2'
- config device 'wan_eth0_2_dev'
- option name 'eth0.2'
- option macaddr '14:cc:20:92:08:16'
- config switch
- option name 'switch0'
- option reset '1'
- option enable_vlan '1'
- config switch_vlan
- option device 'switch0'
- option vlan '1'
- option ports '2 3 4 5 0t'
- config switch_vlan
- option device 'switch0'
- option vlan '2'
- option ports '1 0t'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement