Guest User

Untitled

a guest
Mar 9th, 2011
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.15 KB | None | 0 0
  1. config 'switch' 'eth0'
  2.     option 'enable' '1'
  3.  
  4. config 'switch_vlan' 'eth0_0'
  5.     option 'device' 'eth0'
  6.     option 'vlan' '0'
  7.     option 'ports' '2 3 4 5'
  8.  
  9. config 'switch_vlan' 'eth0_1'
  10.     option 'device' 'eth0'
  11.     option 'vlan' '1'
  12.     option 'ports' '0 5'
  13.  
  14. config 'interface' 'loopback'
  15.     option 'ifname' 'lo'
  16.     option 'proto' 'static'
  17.     option 'ipaddr' '127.0.0.1'
  18.     option 'netmask' '255.0.0.0'
  19.  
  20. config 'interface' 'lan'
  21.     option 'type' 'bridge'
  22.     option 'ifname' 'eth0.0'
  23.     option 'proto' 'static'
  24.     option 'ipaddr' '192.168.1.1'
  25.     option 'netmask' '255.255.255.0'
  26.  
  27. config 'interface' 'wan'
  28.     option 'peerdns' '1'
  29.     option 'defaultroute' '1'
  30.     option 'proto' 'pppoe'
  31.     option 'username' '267317385'
  32.     option 'password' '82080'
  33.     option 'keepalive' '10'
  34.     option 'ifname' 'eth0.1'
  35.  
  36. config 'atm-bridge'
  37.     option 'unit' '0'
  38.     option 'vpi' '8'
  39.     option 'vci' '35'
  40.     option 'encaps' 'llc'
  41.     option 'payload' 'bridged'
  42.  
  43. config 'switch_vlan' 'eth0_3'
  44.     option 'device' 'nas0'
  45.     option 'vlan' '3'
  46.     option 'ports' '1'
  47.  
  48. config 'interface' 'iptv'
  49.     option 'proto' 'none'
  50.     option 'type' 'bridge'
  51.     option 'ifname' 'nas0'
  52.     option 'defaultroute' '0'
  53.     option 'peerdns' '0'
Advertisement
Add Comment
Please, Sign In to add comment