Advertisement
HUNataniel

/etc/config/network

Mar 28th, 2014
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  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 ifname 'eth0'
  9. option type 'bridge'
  10. option proto 'static'
  11. option ipaddr '192.168.1.1'
  12. option netmask '255.255.255.0'
  13.  
  14. config interface 'wan'
  15. option ifname 'eth1'
  16. option proto 'dhcp'
  17. option hostname 'OpenWRT'
  18.  
  19. config switch
  20. option name 'eth0'
  21. option reset '1'
  22. option enable_vlan '1'
  23.  
  24. config switch_vlan
  25. option device 'eth0'
  26. option vlan '1'
  27. option ports '0 1 2 3 4'
  28.  
  29. config interface 'guest'
  30. option _orig_ifname 'radio0.network2'
  31. option _orig_bridge 'false'
  32. option proto 'static'
  33. option ipaddr '192.168.3.1'
  34. option netmask '255.255.255.0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement