Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 27th, 2012  |  syntax: None  |  size: 1.52 KB  |  hits: 215  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 'interface' 'lan'
  8.         option 'type' 'bridge'
  9.         option 'proto' 'static'
  10.         option 'ipaddr' '192.168.1.1'
  11.         option 'netmask' '255.255.255.0'
  12.         option 'nat' '1'
  13.         option 'ifname' 'eth0.3'
  14.        
  15. config 'atm-bridge'
  16.         option 'unit' '0'
  17.         option 'encaps' 'llc'
  18.         option 'vpi' '0'
  19.         option 'vci' '32'
  20.        
  21. config 'atm-bridge'
  22.         option 'unit' '1'
  23.         option 'encaps' 'llc'
  24.         option 'vpi' '0'
  25.         option 'vci' '56'
  26.        
  27. config 'atm-bridge'
  28.         option 'unit' '2'
  29.         option 'encaps' 'llc'
  30.         option 'vpi' '0'
  31.         option 'vci' '85'
  32.  
  33. config 'atm-bridge'
  34.         option 'unit' '3'
  35.         option 'encaps' 'llc'
  36.         option 'vpi' '0'
  37.         option 'vci' '81'
  38.  
  39. config 'interface' 'management'
  40.         option 'type' 'bridge'
  41.         option 'ifname' 'nas0 eth0.1'
  42.        
  43. config 'interface' 'voip'
  44.         option 'ifname' 'nas1'
  45.         option 'proto' 'dhcp'
  46.        
  47. config 'interface' 'wan'
  48.         option 'ifname' 'nas2'
  49.         option 'proto' 'dhcp'
  50.  
  51. config 'interface' 'iptv'
  52.         option 'type' 'bridge'
  53.         option 'ifname' 'nas3 eth0.4'
  54.  
  55. config 'switch'
  56.         option 'name' 'eth0'
  57.         option 'reset' '1'
  58.         option 'enable_vlan' '1'
  59.  
  60. config 'switch_vlan'
  61.         option 'device' 'eth0'
  62.         option 'vlan' '1'
  63.         option 'ports' '1 5t'
  64.  
  65. config 'switch_vlan'
  66.         option 'device' 'eth0'
  67.         option 'vlan' '2'
  68.         option 'ports' '2 5t'
  69.  
  70. config 'switch_vlan'
  71.         option 'device' 'eth0'
  72.         option 'vlan' '3'
  73.         option 'ports' '3 5t'
  74.  
  75. config 'switch_vlan'
  76.         option 'device' 'eth0'
  77.         option 'vlan' '4'
  78.         option 'ports' '4 5t'