[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Newbie - How do I move my Radhat to another network?
- From: Anth Courtney <anth staff pnc com au>
- To: redhat-list redhat com
- Subject: Re: Newbie - How do I move my Radhat to another network?
- Date: Mon Sep 2 08:27:09 2002
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 - anth staff pnc com au
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]