SHARE
TWEET

network

archy1337 Mar 31st, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. config interface 'loopback'
  2.     option ifname 'lo'
  3.     option proto 'static'
  4.     option ipaddr '127.0.0.1'
  5.     option netmask '255.0.0.0'
  6.  
  7. config globals 'globals'
  8.     option ula_prefix 'fdec:af60:f85a::/48'
  9.  
  10. config interface 'lan'
  11.     option type 'bridge'
  12.     option ifname 'eth0.1'
  13.     option proto 'static'
  14.     option ipaddr '192.168.1.1'
  15.     option netmask '255.255.255.0'
  16.     option ip6assign '60'
  17.  
  18. config device 'lan_eth0_1_dev'
  19.     option name 'eth0.1'
  20.     option macaddr 'd4:6e:0e:39:db:04'
  21.  
  22. config interface 'wan'
  23.     option ifname 'eth0.2'
  24.     option proto 'dhcp'
  25.  
  26. config device 'wan_eth0_2_dev'
  27.     option name 'eth0.2'
  28.     option macaddr 'd4:6e:0e:39:db:05'
  29.  
  30. config interface 'wan6'
  31.     option ifname 'eth0.2'
  32.     option proto 'dhcpv6'
  33.  
  34. config switch
  35.     option name 'switch0'
  36.     option reset '1'
  37.     option enable_vlan '1'
  38.  
  39. config switch_vlan
  40.     option device 'switch0'
  41.     option vlan '1'
  42.     option ports '1 2 3 4 6t'
  43.  
  44. config switch_vlan
  45.     option device 'switch0'
  46.     option vlan '2'
  47.     option ports '0 6t'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top