Guest User

Untitled

a guest
Sep 6th, 2018
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1.  
  2. config interface 'loopback'
  3. option ifname 'lo'
  4. option proto 'static'
  5. option ipaddr '127.0.0.1'
  6. option netmask '255.0.0.0'
  7.  
  8. config globals 'globals'
  9. option ula_prefix 'auto'
  10.  
  11. config interface 'wan'
  12. option proto 'dhcp'
  13. option type 'bridge'
  14. option macaddr 'F8:F7:D3:CA:54:10'
  15. option hostname 'ICX1'
  16. option ifname 'eth1 eth0'
  17.  
  18. config interface 'wan6'
  19. option ifname 'eth1'
  20. option proto 'dhcpv6'
  21. option hostname 'ICX1'
  22.  
  23. config switch
  24. option name 'switch0'
  25. option enable_vlan '1'
  26. option reset '1'
  27.  
  28. config switch_vlan
  29. option vlan '1'
  30. option device 'switch0'
  31. option ports '0t 4 5'
  32. option vid '1'
  33.  
  34. config switch_vlan
  35. option vlan '2'
  36. option device 'switch0'
  37. option vid '2'
  38. option ports '0 5'
  39.  
  40. config interface 'vlan_3'
  41. option type 'bridge'
  42. option ifname 'eth1.3'
  43. option _orig_ifname 'eth1.3'
  44. option _orig_bridge 'true'
  45. option proto 'static'
  46. option macaddr 'F8:F7:D3:CA:54:10'
  47. option ipaddr '192.168.3.2'
  48. option netmask '255.255.255.0'
  49. option gateway '192.168.3.1'
  50. option defaultroute '0'
  51.  
  52. config switch_vlan
  53. option vlan '3'
  54. option device 'switch0'
  55. option ports '0t 4t 5t'
  56.  
  57. config interface 'vlan6_3'
  58. option ifname '@vlan_3'
  59. option proto 'dhcpv6'
Add Comment
Please, Sign In to add comment