Hello Soren,

> I'm running Redhat 7.2 without X-windows, and now I want to move it to
> another network with another IP (static), netmask and so on.
> 
> How do I do this, shall I make some changes in one ore more files (which
> files then), or can I use a tool for this?

You can edit the files in /etc/sysconfig/network-scripts/, namely ifcfg-ethX
(where X is the number of your ethernet interface). 

If you want to use a tool outside of x-windows, then you could use
linuxconf, which will let you do this easily.

For a temporary solution (i.e good until you reboot), you can use
/sbin/ifconfig to set the ip address and netmask to new values.

i.e 

/sbin/ifconfig eth0 222.222.222.222 netmask 255.255.255.0

where 222.etc is your new ip.

cheers,
Anth



-- 
Anth Courtney - PLANET NETCOM - Systems Administrator
http://www.anthonycourtney.com - [EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to