Advertisement
Urbanecm

Test IPv6 only

Apr 6th, 2018
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. urbanecm@notebook ~
  2. $ host nebezi.cz
  3. nebezi.cz has IPv6 address 2001:1528:132:70::ebe2
  4. nebezi.cz mail is handled by 0 www.nebezi.cz.
  5. urbanecm@notebook ~
  6. $ ifconfig | grep inet
  7. inet 127.0.0.1 netmask 255.0.0.0
  8. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  9. inet 10.10.61.78 netmask 255.0.0.0 broadcast 10.255.255.255
  10. inet6 fe80::dd6b:d6b6:5f6f:6f81 prefixlen 64 scopeid 0x20<link>
  11. urbanecm@notebook ~
  12. $ wget -O- -o /dev/null http://nebezi.cz
  13. urbanecm@notebook ~
  14. $ ssh titanium host nebezi.cz
  15. nebezi.cz has IPv6 address 2001:1528:132:70::ebe2
  16. nebezi.cz mail is handled by 0 www.nebezi.cz.
  17. urbanecm@notebook ~
  18. $ ssh titanium ifconfig | grep inet
  19. inet addr:127.0.0.1 Mask:255.0.0.0
  20. inet6 addr: ::1/128 Scope:Host
  21. inet addr:127.0.0.2 P-t-P:127.0.0.2 Bcast:0.0.0.0 Mask:255.255.255.255
  22. inet6 addr: 2a01:430:17:1::ffff:592/128 Scope:Global
  23. inet addr:37.205.10.148 P-t-P:37.205.10.148 Bcast:37.205.10.148 Mask:255.255.255.255
  24. urbanecm@notebook ~
  25. $ ssh titanium wget -O- -o /dev/null http://nebezi.cz | head
  26. <!DOCTYPE html>
  27. <html>
  28. <head>
  29. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  30. <title>Neběží.cz</title>
  31. <meta name="description" content="Server, který na IPv4 neběží. Pokud se vám načte, znamená to, že máte funkční připojení pomocí protokolu IPv6.">
  32. <meta name="theme-color" content="#119c20">
  33. <meta name="msapplication-navbutton-color" content="#119c20">
  34. <meta name="apple-mobile-web-app-capable" content="yes">
  35. <meta name="apple-mobile-web-app-status-bar-style" content="#119c20">
  36. urbanecm@notebook ~
  37. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement