This shows you the differences between two versions of the page.
|
rl:labs:06:contents:04 [2023/11/09 19:46] laura.ruse [04. [20p] Configurare conectivitate completă] |
rl:labs:06:contents:04 [2025/11/09 09:16] (current) laura.ruse [04. [20p] Configurare conectivitate completă] |
||
|---|---|---|---|
| Line 16: | Line 16: | ||
| Pe stația ''blue'' folosiți ca //default gateway// adresa IP de pe interfața ''veth-blue'' a stației ''host''. | Pe stația ''blue'' folosiți ca //default gateway// adresa IP de pe interfața ''veth-blue'' a stației ''host''. | ||
| </note> | </note> | ||
| + | |||
| + | <hidden> | ||
| + | <solution> | ||
| + | <code> | ||
| + | root@host:~# ip address add 10.10.30.1/24 dev veth-blue | ||
| + | root@host:~# ip link set dev veth-blue up | ||
| + | |||
| + | root@blue:~# ip address add 10.10.30.2/24 dev blue-eth0 | ||
| + | root@blue:~# ip link set dev blue-eth0 up | ||
| + | root@blue:~# ip route add default via 10.10.30.1 | ||
| + | </code> | ||
| + | </solution> | ||
| + | </hidden> | ||
| Testați conectivitatea între oricare două stații. | Testați conectivitatea între oricare două stații. | ||