DEV Community

rafaone
rafaone

Posted on

Linux set Fixed IP

ifconfig enp0s31f6 down;
ifconfig enp0s31f6 143.1.83.151 netmask 255.255.128.0 up;
route add default gw 141.1.7.143 enp0s31f6;

Top comments (0)