[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [SPAM:#] (no subject)



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]