Results 1 to 3 of 3
Thread: ip changes
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2006
How do I change the ip address of a linux machine? I mean what are the files to change and what are the steps to do..
The location of the config file varies slightly between distros. What distro are you using?Stand up and be counted as a Linux user!
I would use ifconfig
ifconfig eth0 <your ip> netmask <subnet mask> broadcast <the ip here>
edit /etc/resolv.conf and add nameservers like this
nameserver <the ip>
ps: Without <>Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums