Either hard code the IP address, look in
/etc/sysconfig/network-scripts/ifcfg-eth0 (as I told you on the phone :P
Or work within the DHCP environment and tell your DHCP admin to allocate
the same IP to the MAC address of the NIC on the Linux box..
/sbin/ifconfig will tell you the MAC address (It's the numbers after the
word "HWaddr")
The second way is probably the better way of doing it.
Donncha.
Conor Lynch wrote:
>> Hi there,
> I currently have a linux machine connecting to a Windows LAN using
> DHCP. The server has been set a new IP address and I want to switch it back
> to the old one. Any tips on setting a static IP address on a linux machine?
>> Any help greatly appreciated,
> Cheers,
> Conor.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!