Пара команд, которые я постоянно забываю

Настройка сети:

netsh int ip set addr “local area connection” source=”dhcp”
netsh int ip set addr “local area connection” static 192.168.0.2 255.255.255.0 192.168.0.1 1
netsh int ip set addr “local area connection” static 192.168.0.1 primary

Изменение MTU Vista/7

netsh interface ipv4 show subinterfaces
netsh interface ipv4 set subinterface “1” mtu=1500 store=persistent