This shows you the differences between two versions of the page.
rl:labs:06:contents:01 [2023/11/09 22:24] laura.ruse [01. [10p] Configurare și ștergere adrese IP] |
rl:labs:06:contents:01 [2023/11/10 17:11] (current) laura.ruse [01. [10p] Configurare și ștergere adrese IP] |
||
---|---|---|---|
Line 3: | Line 3: | ||
# ATENȚIE: update_lab nu funcționează de pe root, folosiți student inițial | # ATENȚIE: update_lab nu funcționează de pe root, folosiți student inițial | ||
student@host:~# update_lab --force | student@host:~# update_lab --force | ||
- | student@host:~# start_lab lab7 | + | student@host:~# start_lab ip |
</code> | </code> | ||
Line 78: | Line 78: | ||
Dorim să revenim la configurația inițială. Pentru acesta rulați o comandă de forma<code> | Dorim să revenim la configurația inițială. Pentru acesta rulați o comandă de forma<code> | ||
# ip address flush dev INTERFACE | # ip address flush dev INTERFACE | ||
- | </code> unde ''INTERFACE'' este interfața interfața ''veth-red'' pe stația ''host'', respectiv ''red-eth0'' pe stația ''red''. Asigurați-vă că nu mai este configurată nici o adresă IP pe interfețe folosind o comandă de forma<code> | + | </code> unde ''INTERFACE'' este interfața interfața ''veth-red'' pe stația ''host'', respectiv ''red-eth0'' pe stația ''red''. Asigurați-vă că nu mai este configurată nicio adresă IP pe interfețe folosind o comandă de forma<code> |
# ip address show dev INTERFACE | # ip address show dev INTERFACE | ||
</code> unde ''INTERFACE'' este interfața interfața ''veth-red'' pe stația ''host'', respectiv ''red-eth0'' pe stația ''red''. | </code> unde ''INTERFACE'' este interfața interfața ''veth-red'' pe stația ''host'', respectiv ''red-eth0'' pe stația ''red''. |