Egzamin zawodowyPortal części pisemnej

INF.02 · pytanie 207

Którym poleceniem systemu Linux poprawnie skonfigurowano kartę sieciową, podając adres IP i maskę sieci dla interfejsu eth1?

  1. Aifconfig eth1 192.168.1.0 netmask 0.255.255.255
  2. Bifconfig eth1 192.168.1.1 netmask 255.255.255.0Poprawna
  3. Cifconfig eth1 192.168.1.255 netmask 255.255.255.0
  4. Difconfig eth1 192.168.1.0 netmask 255.255.255.0

Wyjaśnienie

Polecenie ifconfig eth1 192.168.1.1 netmask 255.255.255.0 nadaje interfejsowi eth1 podany adres IP i maskę.