Advertisement
Guest User

Untitled

a guest
May 15th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. /etc/network.d/ethernet-eth0
  2.  
  3. CONNECTION='ethernet'
  4. DESCRIPTION='A basic dhcp ethernet connection using iproute'
  5. INTERFACE='eth0'
  6. IP='dhcp'
  7. ## for DHCPv6
  8. #IP6='dhcp'
  9. ## for IPv6 autoconfiguration
  10. #IP6='stateless'
  11.  
  12. ## Some networks like this
  13. #PRE_UP="sleep 10"
  14.  
  15. ## Change for static
  16. #CONNECTION='ethernet'
  17. #DESCRIPTION='A basic static ethernet connection using iproute'
  18. #INTERFACE='eth0'
  19. #IP='static'
  20. #ADDR='192.168.1.23'
  21. ##ROUTES=('192.168.0.0/24 via 192.168.1.2')
  22. #GATEWAY='192.168.1.1'
  23. #DNS=('192.168.1.1')
  24.  
  25. ## For IPv6 autoconfiguration
  26. #IP6=stateless
  27.  
  28. ## For IPv6 static address configuration
  29. #IP6='static'
  30. #ADDR6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
  31. #ROUTES6=('abcd::1234')
  32. #GATEWAY6='1234:0:123::abcd'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement