Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
unix [2024/01/14 11:03] – julien | unix [2024/08/13 20:11] (current) – [mettre un IP fixe] julien | ||
---|---|---|---|
Line 121: | Line 121: | ||
+ | ===== mettre une IP fixe ===== | ||
- | + | < | |
+ | sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0; | ||
+ | sudo route add default gw 192.168.1.1 eth0; | ||
+ | </ | ||