Advertisement
brpr

net

Aug 21st, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. root@(none):/# cat /etc/config/network
  2.  
  3. config interface 'loopback'
  4. option device 'lo'
  5. option proto 'static'
  6. option ipaddr '127.0.0.1'
  7. option netmask '255.0.0.0'
  8.  
  9. config globals 'globals'
  10. option ula_prefix 'fd84:ae48:2eda::/48'
  11.  
  12. config device
  13. option name 'br-lan'
  14. option type 'bridge'
  15. list ports 'eth0'
  16.  
  17. config interface 'lan'
  18. option device 'br-lan'
  19. option proto 'static'
  20. option ipaddr '192.168.1.1'
  21. option netmask '255.255.255.0'
  22. option ip6assign '60'
  23.  
  24. config interface 'wan'
  25. option device 'eth1'
  26. option proto 'dhcp'
  27.  
  28. config interface 'wan6'
  29. option device 'eth1'
  30. option proto 'dhcpv6'
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement