Home » Questions » Computers [ Ask a new question ]

How to make linux have fixed IP address

How to make linux have fixed IP address

I have window server 2008 installed.

Asked by: Guest | Views: 51
Total answers/comments: 1
Guest [Entry]

"Edit /etc/network/interfaces.
Add lines similar to these: auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1

Save file.
/etc/init.d/networking restart"