interfaces-dhcp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. auto lo
  2. iface lo inet loopback
  3. auto eth0
  4. iface eth0 inet dhcp
  5. ## static network configuration
  6. #auto eth0
  7. #iface eth0 inet static
  8. # address 192.168.1.1
  9. # netmask 255.255.255.0
  10. # broadcast +
  11. # gateway 192.168.1.254
  12. ##
  13. ## bridge configuration
  14. #auto br0
  15. #iface br0 inet static
  16. # address 192.168.99.1
  17. # netmask 255.255.255.0
  18. # broadcast +
  19. # bridge-ports eth0 eth1
  20. ##
  21. ## LACP configuration
  22. #auto lacp0
  23. #iface lacp0 inet dhcp
  24. # bond-ports eth0 eth1
  25. # bond-mode 802.3ad
  26. # bond-miimon 100
  27. # bond-lacp-rate slow
  28. # bond-xmit-hash-policy layer2+3
  29. ## pppoe configuration
  30. #auto ppp0
  31. #iface ppp0 inet ppp
  32. # use-template pppoe
  33. # provider isp
  34. # ppp-mtu 1412
  35. # ppp-username foo
  36. # ppp-password bar
  37. # ppp-device eth1
  38. ##
  39. ## wireless client configuration
  40. #auto wlan0
  41. #iface wlan0 inet dhcp
  42. # wireless-ssid myap
  43. # wireless-mode sta
  44. # wireless-security wpa2
  45. # wireless-passphrase xxxxxx
  46. ##
  47. ## wireless accesspoint configuration
  48. #auto wlan0
  49. #iface wlan0 inet static
  50. # address 192.168.40.10
  51. # netmask 255.255.255.0
  52. # broadcast +
  53. # wireless-ssid myap
  54. # wireless-mode ap
  55. # wireless-channel 8
  56. # wireless-security wpa2
  57. # wireless-passphrase xxxxxxxx
  58. ##
  59. # for more special cases see: https://docs.openadk.org/html/manual.html#network-configuration