Re: How do I fix IP address in RH9?
From: Michael Thomas (mtNOSPAMMING_at_armory.com)
Date: 07/08/05
- Next message: Richard Johnson: "Re: Which Package Management to Use?"
- Previous message: AG: "Re: How do I fix IP address in RH9?"
- In reply to: AG: "Re: How do I fix IP address in RH9?"
- Next in thread: Newsgroup Poster: "Re: How do I fix IP address in RH9?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 07 Jul 2005 17:40:53 -0700
Angus Comber wrote:
> Hello
>
> Is ifconfig command to use? Looked at man page but didn't see how to set
> eg subnet mask, gateway, etc using this command.
>
> Angus
If you're running a gui then type 'neat' to bring up the network
utility. If running command line, then type 'setup' and select
network configuration.
Or...
Just edit the files necessary to change them. The files are
/etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-ethx
(where 'x' is the device #)
[mthomas@reagan sysconfig]$ pwd
/etc/sysconfig
[mthomas@reagan sysconfig]$ cat network
NETWORKING=yes
HOSTNAME=reagan.foo.bar.com
GATEWAY=192.30.51.1
and ...
[mthomas@reagan network-scripts]$ pwd
/etc/sysconfig/network-scripts
[mthomas@reagan network-scripts]$ cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=xx:xx:xx:xx:xx:xx
IPADDR=192.30.51.72
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
MT
- Next message: Richard Johnson: "Re: Which Package Management to Use?"
- Previous message: AG: "Re: How do I fix IP address in RH9?"
- In reply to: AG: "Re: How do I fix IP address in RH9?"
- Next in thread: Newsgroup Poster: "Re: How do I fix IP address in RH9?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|