netsh interface ip set address name="Local Area Connection" static 192.168.1.6 255.255.255.0 192.168.1.1 1
linux
sudo ifconfig eth0 192.168.1.6 netmask 255.255.255.0
sudo route add default gw 192.168.1.1 eth0
mikrotik
/ip address add address 192.168.1.6 netmask 255.255.255.0 interface ether0
pfsense
# ifconfig em0 inet
192.168.1.6 netmask 255.255.255.0
em0 is vary depend on pfsense intallation... sometime the name is msk0, ste0, so u need to make sure the interface names with
# ifconfig -a
thats all folk.