Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 interface 'pub'
- option type 'bridge'
- option proto 'static'
- option ifname 'eth0.100'
- option ipaddr '10.11.9.1'
- option netmask '255.255.255.128'
- option ip6assign '64'
- config interface 'wan'
- option ifname 'eth0.2'
- option proto 'dhcp'
- option dns 4.2.2.2
- config device 'wan_dev'
- option name 'eth0.2'
- option macaddr 'b4:fb:e4:xx:xx:xx'
- config interface 'wan6'
- option proto 'dhcpv6'
- option ifname '@wan'
- option reqprefix '60'
- config switch
- option name 'switch0'
- option reset '1'
- option enable_vlan '1'
- config switch_vlan
- option device 'switch0'
- option vlan '100'
- option ports '1t 2t 3t 4 6t'
- config switch_vlan
- option device 'switch0'
- option vlan '2'
- option ports '0 6t'
- config interface 'ptp'
- option ifname 'ptp'
- option proto 'none'
- config switch_vlan
- option device 'switch0'
- option vlan '300'
- option ports '1 2 3 6t'
- config switch_vlan
- option device 'switch0'
- option vlan '200'
- option ports '1t 2t 3t 6t'
- config interface 'priv'
- option ifname 'eth0.200'
- option type 'bridge'
- option proto 'static'
- option ipaddr '192.168.11.1'
- option netmask '255.255.255.0'
- option ip6assign '64'
- config interface 'man'
- option ifname 'eth0.300'
- option type 'bridge'
- option proto 'static'
- option ipaddr '172.16.11.1'
- option netmask '255.255.255.0'
- option ip6assign '64'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement