====== netsh ======
* [[https://technet.microsoft.com/en-us/library/3d4e4c93-f1e5-4970-92a5-f4a1dd123055|Netsh Technical Reference|]]
* [[https://technet.microsoft.com/en-us/library/cc731521|Netsh commands for Interface Internet Protocol version 4 (IPv4)]]
* https://michlstechblog.info/blog/windows-show-and-configure-network-settings-using-netsh/
===== DHCP használata =====
netsh interface ip set address name="LAN" source=dhcp
netsh interface ip set dns name="LAN" source=dhcp
===== Statikus hálózati beállítás =====
==== Router nélkül ====
netsh interface ip set address name="LAN" source=static addr=192.168.0.10 mask=255.255.255.0 gateway=none
netsh interface ip set dns name="LAN" source=none
==== Routerrel ====
netsh interface ip set address name="LAN" source=static addr=192.168.0.10 mask=255.255.255.0 gateway=192.168.0.1
netsh interface ip set dns name="LAN" source=static addr=192.168.0.1 register=none validate=no
==== Routerrel és 2 külső DNS szerverrel ====
netsh interface ip set address name="LAN" source=static addr=192.168.0.10 mask=255.255.255.0 gateway=192.168.0.1
netsh interface ip set dns name="LAN" source=static addr=8.8.8.8 register=none validate=no
netsh interface ip add dns name="LAN" addr=8.8.4.4 index=2 validate=no
===== Fájlmegosztás engedélyezése =====
* https://websiteforstudents.com/share-files-on-ubuntu-16-04-lts-with-windows-10-systems/
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes