Re: [SPAM:#] (no subject)
"Steven J. Yellin" <[email protected]> Wed, 28 May 2003 12:22:03 -0700 (PDT)
| Newsgroups | gmane.linux.redhat.release.seawolf |
|---|---|
| Message-ID | <Pine.LNX.4.44.0305281215420.12358-100000@ucsba1.slac.stanford.edu> |
On Wed, 28 May 2003, omer wrote:
> hi there all
>
>
> how can i change my existing static ip address with subnet mask
> like supose i have ip address 101.0.0.25 with subnetmask 255.255.255.0
> i want to change it to be 101.0.1.25 with subnetmask 255.255.0.0
> i have run netcfg but from there did'nt find subnetmask.
> can any one tell exactly from where i can change it.
>
Assuming you use ethernet, look for "NETMASK=255.255.255.0" in
/etc/sysconfig/network-scripts/ifcfg-eth0. Changing that line should do
what you want. If you don't use ethernet, perhaps some other file
in the same directory has your IPADDR and NETMASK.
--
Steven Yellin