SHARE
TWEET

Untitled

a guest Jun 15th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. net.ipv6.conf.all.use_tempaddr = 0
  2. net.ipv6.conf.default.use_tempaddr = 0
  3. net.ipv6.conf.ens192.use_tempaddr = 0
  4.      
  5. net.ipv6.conf.default.autoconf = 0
  6. net.ipv6.conf.all.accept_ra = 0
  7.  
  8. net.ipv6.conf.all.proxy_ndp = 1
  9.      
  10. net.ipv4.ip_forward=1
  11. ...
  12. net.ipv6.conf.all.forwarding=1
  13.      
  14. network:
  15.   version: 2
  16.   renderer: networkd
  17.   ethernets:
  18.     ens18:
  19.       dhcp4: no
  20.       addresses:
  21.         - a.b.c.d/24
  22.       gateway4: a.b.c.e
  23.  
  24.       dhcp6: no
  25.       accept-ra: no
  26.       addresses:
  27.         - "2001:0db8:0004:4a1a::dead:beef/64"
  28.       gateway6: "2001:0db8:0004::0001"
  29.  
  30.     ens19:
  31.       dhcp6: no
  32.       accept-ra: no
  33.       addresses:
  34.         - "2001:0db8:0004:4a1a::dead:dead/64"
  35.       gateway6: "2001:0db8:0004::0001"
  36.      
  37. $ ip -6 addr show
  38.  
  39. 2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
  40.     inet6 2001:0db8:0004:4a1a::dead:beef/64 scope global
  41.        valid_lft forever preferred_lft forever
  42.     inet6 fe80::abcd:efff:fea3:2a03/64 scope link
  43.        valid_lft forever preferred_lft forever
  44. 3: ens19: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
  45.     inet6 2001:0db8:0004:4a1a::dead:dead/64 scope global
  46.        valid_lft forever preferred_lft forever
  47.     inet6 fe80::defc:deff:fe98:7c74/64 scope link
  48.        valid_lft forever preferred_lft forever
  49.      
  50. 2001:0db8:0004:4a1a::/64 dev ens19 proto kernel metric 256 pref medium
  51. 2001:0db8:0004:4a1a::/64 dev ens18 proto kernel metric 256 pref medium
  52.  
  53. fe80::/64 dev ens19 proto kernel metric 256 pref medium
  54. fe80::/64 dev ens18 proto kernel metric 256 pref medium
  55.      
  56. $ ping -6 -c3 ipv6.google.com
  57. connect: Network is unreachable
  58.      
  59. $ sudo ip -6 route add 2001:0db8:0004::0001 dev ens18 metric 1
  60. $ sudo ip -6 route add default via 2001:0db8:0004::0001 dev ens18 metric 1
  61.      
  62. 2001:0db8:4::1 dev ens18 metric 1 pref medium
  63.  
  64. 2a0b:ae40:4:4a1a::/64 dev ens19 proto kernel metric 256 pref medium
  65. 2a0b:ae40:4:4a1a::/64 dev ens18 proto kernel metric 256 pref medium
  66.  
  67. fe80::/64 dev ens19 proto kernel metric 256 pref medium
  68. fe80::/64 dev ens18 proto kernel metric 256 pref medium
  69.  
  70. default via 2001:0db8:4::1 dev ens18 metric 1 pref medium
  71.      
  72. $ ping -6 -c3 ipv6.google.com
  73. PING ipv6.google.com(ord38s18-in-x0e.1e100.net (2607:f8b0:4009:804::200e)) 56 data bytes
  74. 64 bytes from ord38s18-in-x0e.1e100.net (2607:f8b0:4009:804::200e): icmp_seq=1 ttl=56 time=23.2 ms
  75. 64 bytes from ord38s18-in-x0e.1e100.net (2607:f8b0:4009:804::200e): icmp_seq=2 ttl=56 time=23.2 ms
  76. 64 bytes from ord38s18-in-x0e.1e100.net (2607:f8b0:4009:804::200e): icmp_seq=3 ttl=56 time=23.2 ms
  77.  
  78. --- ipv6.google.com ping statistics ---
  79. 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
  80. rtt min/avg/max/mdev = 23.274/23.283/23.293/0.176 ms
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top