Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rl:labs:06:contents:08 [2023/11/15 09:44]
laura.ruse [08. [10p] IPv6]
rl:labs:06:contents:08 [2025/11/09 09:56] (current)
laura.ruse [08. [10p] IPv6]
Line 24: Line 24:
  
 <​hidden>​ <​hidden>​
 +<​solution>​
 <code bash> <code bash>
 root@host:​~#​ go red root@host:​~#​ go red
Line 36: Line 37:
  
 </​code>​ </​code>​
 +</​solution>​
 </​hidden>​ </​hidden>​
  
 Configurați pe legătura host-blue adrese IPv6 din rețeaua 2202::/64 și pe legătura host-green adrese IPv6 din rețeaua 2203::/64. Configurați pe legătura host-blue adrese IPv6 din rețeaua 2202::/64 și pe legătura host-green adrese IPv6 din rețeaua 2203::/64.
-Activați rutarea și verificați conectivitatea între containere folosind comanda **ping**. ​ 
  
-Activarea rutării pentru IPv6 se face în felul următor:+<​hidden>​ 
 +<​solution>​ 
 +<​code>​ 
 +root@host:~# ip -6 address add 2202::1/64 dev veth-blue 
 +root@host:​~#​ ip -6 address add 2203::1/64 dev veth-green
  
 +root@blue:​~#​ ip -6 address add 2202::2/64 dev blue-eth0
 +
 +root@green:​~#​ ip -6 address add 2203::2/64 dev green-eth0
 +</​code>​
 +</​solution>​
 +</​hidden>​
 +
 +Activați rutarea pentru IPv6 pe stația ''​host'':​
 <​code>​ <​code>​
 root@host:​~#​ sysctl -w net.ipv6.conf.all.forwarding=1 root@host:​~#​ sysctl -w net.ipv6.conf.all.forwarding=1
 </​code>​ </​code>​
 +
 +De asemenea, trebuie să adăugați rute default pe ''​red'',​ ''​green''​ și ''​blue'',​ către ''​host''​.
 +
 +<​hidden>​
 +<​solution>​
 +<​code>​
 +root@red:~# ip -6 route add default via 2201::1
 +
 +root@blue:​~#​ ip -6 route add default via 2202::1
 +
 +root@green:​~#​ ip -6 route add default via 2203::1
 +</​code>​
 +</​solution>​
 +</​hidden>​
 +
 +Verificați conectivitatea între containere folosind comanda **ping**
rl/labs/06/contents/08.1700034252.txt.gz · Last modified: 2023/11/15 09:44 by laura.ruse
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0