Re: usage of ifconfig
On Wed, 16 Jun 2010 21:51:41 +0900, J.Hwan.Kim wrote:
> When I change IP address and netmask via "ifconfig", the netmask is set
> incorrectly.
>
> For example, when I command in shell
> "ifconfig netmask 255.255.255.0 70.7.44.102", the IP address 70.7.44.102
> is set correctly, but the netmask is set to 255.0.0.0.
>
> Why does this case happen?
Because of ip addressing, classes and subnetting?
70.x.x.x is an "A" network class address and netmask is auto-set to the
default "255.0.0.0".
Greetings,
--
Camaleón
Reply to: