Ok I'm obviously doing something stupid but I can't think what it is and I've never had this problem before.
I have a RH 7.3 box that I run
ifconfig eth0 172.16.6.120 netmask 255.255.255.0 up
and it works. I have that IP, I can setup routes and surf the web, ping boxes, ftp, etc.
Then the box gets rebooted and the machine uses DHCP and gets it's own address.
I want to kill DHCP, I want to enter the IP I want, and I'd like to do it all commandline with standard linux commands and not using the gui or anything Redhat bundles. Using the GUI or Red Hat setup tools is why I don't already know this answer, so I want to do this the linux way and not the redhat way.
So any idea why it forgets what I enter in ifconfig?
Also, can anybody give me a list of files that might be useful in setting up TCP/IP. I've got hosts and resolv but anything else I can poke around in.
I tried googling this and got tons of hits, as you can imagine, but nothing that helped. Thanks in advance for any help.
I have a RH 7.3 box that I run
ifconfig eth0 172.16.6.120 netmask 255.255.255.0 up
and it works. I have that IP, I can setup routes and surf the web, ping boxes, ftp, etc.
Then the box gets rebooted and the machine uses DHCP and gets it's own address.
I want to kill DHCP, I want to enter the IP I want, and I'd like to do it all commandline with standard linux commands and not using the gui or anything Redhat bundles. Using the GUI or Red Hat setup tools is why I don't already know this answer, so I want to do this the linux way and not the redhat way.
So any idea why it forgets what I enter in ifconfig?
Also, can anybody give me a list of files that might be useful in setting up TCP/IP. I've got hosts and resolv but anything else I can poke around in.
I tried googling this and got tons of hits, as you can imagine, but nothing that helped. Thanks in advance for any help.