Results 1 to 3 of 3
Hi, I am new to linux.
How do I change the ip address of a linux machine? I mean what are the files to change and what are the steps ...
- 10-25-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 1
ip changes
Hi, I am new to linux.
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..
Thanks.
- 10-26-2006 #2
The location of the config file varies slightly between distros. What distro are you using?
Stand up and be counted as a Linux user!
- 10-26-2006 #3
I would use ifconfig
as root
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


Reply With Quote