Guest User

Untitled

a guest
Feb 11th, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. root@OpenWrt:/# cat /etc/config/network
  2.  
  3. config 'interface' 'loopback'
  4. option 'ifname' 'lo'
  5. option 'proto' 'static'
  6. option 'ipaddr' '127.0.0.1'
  7. option 'netmask' '255.0.0.0'
  8.  
  9. config 'interface' 'lan'
  10. option 'proto' 'static'
  11. option 'ipaddr' '192.168.5.1'
  12. option 'netmask' '255.255.255.0'
  13. option 'type' 'bridge'
  14. option '_orig_ifname' 'eth1 wlan0'
  15. option '_orig_bridge' 'true'
  16. option 'ifname' 'eth1'
  17.  
  18. config 'interface' 'wan'
  19. option 'ifname' 'eth0'
  20. option 'proto' 'dhcp'
Advertisement
Add Comment
Please, Sign In to add comment