Jump to content

need to change ip address


spatel
 Share

Recommended Posts

The ip for the Mandrake server is easy, you just change it in /etc/sysconfig/network-scripts/ifcfg-eth0 (assuming that eth0 is the adapter connected to the network) like this:

DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes

 

and then edit /etc/dhcpd.conf accordingly.

 

Or you could do both the easy way in MCC. Open a terminal and su to root and type mcc and choose network and internet and then DrakGw and reconfigure it. Don't choose automatic configuration, but choose manual. That will change both the ip address for the server and change it in dhcp configuration. This is all assuming that when you say Mandrake server, you mean that it is the dhcp server/internet gateway as well. If it is not the dhcp server, it will be a little different and I may be able to come back and help with that.

Edited by Steve Scrimpshire
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...