Advertisement
fvasconcelos

Set fixed IP on machine

Oct 15th, 2015
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. echo >> /etc/network/interfaces && echo auto eth0 >> /etc/network/interfaces && echo iface eth0 inet static >> /etc/network/interfaces && echo address 10.0.0.26 >> /etc/network/interfaces && echo netmask 255.255.255.0 >> /etc/network/interfaces && echo gateway 10.0.0.1 >> /etc/network/interfaces && /etc/init.d/networking restart && ifconfig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement