Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. raspberrypi:~# cat /etc/network/interfaces
  2. auto lo
  3. iface lo inet loopback
  4.  
  5. auto eth0
  6. iface eth0 inet dhcp
  7. hostname raspberrypi
  8.  
  9. iface eth0 inet6 manual
  10. pre-up echo 1 > /proc/sys/net/ipv6/conf/eth0/accept_ra && echo 2 > /proc/sys/net/ipv6/conf/eth0/use_tempaddr
  11.  
  12. raspberrypi:~# ip -6 route
  13. 2001:db8::1:0/125 dev eth0 metric 1 pref medium
  14. 2001:db8:1::/64 dev eth0 proto kernel metric 256 expires 5851sec pref medium
  15. fd00::/64 dev eth0 proto kernel metric 256 expires 5851sec pref medium
  16. fe80::/64 dev eth0 proto kernel metric 256 pref medium
  17.  
  18. otherbox:~# ip -6 route
  19. default from 2001:db8:1::/64 via fe80::200:ff:fe00:0 dev eth0 metric 512
  20. default from fd00::/64 via fe80::200:ff:fe00:0 dev eth0 metric 512
  21. 2001:db8:1::/64 dev eth0 metric 256
  22. fd00::/64 dev eth0 metric 256
  23. fe80::/64 dev eth0 metric 256
  24. ff00::/8 dev eth0 metric 256
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement