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

Re: /etc/network/interfaces: network option



Network:   192.168.1.0/27

OR

Network: 192.168.1.0
Netmask: 255.255.255.224

Rakotomandimby Mihamina wrote:
> 09/02/2009 01:11 PM, Alex Samad:
>>> If I am on a 192.168.1.8/27
>>> What to put as 'network'?
>> a good friend is ipcalc
> 
> root@rktmb:~# ipcalc -n 192.168.1.8/27
> Address:   192.168.1.8          11000000.10101000.00000001.000 01000
> Netmask:   255.255.255.224 = 27 11111111.11111111.11111111.111 00000
> Wildcard:  0.0.0.31             00000000.00000000.00000000.000 11111
> =>
> Network:   192.168.1.0/27       11000000.10101000.00000001.000 00000
> HostMin:   192.168.1.1          11000000.10101000.00000001.000 00001
> HostMax:   192.168.1.30         11000000.10101000.00000001.000 11110
> Broadcast: 192.168.1.31         11000000.10101000.00000001.000 11111
> Hosts/Net: 30                    Class C, Private Internet
> 
> Which of these tu put as 'network'?
> 

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: