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)

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay