Whether we usual use dot-decimal notation to represent network or IP by opposite mask?
10.10.10.0 0.0.0.255 # a network
10.10.10.0 255.255.255.0 # a IP
Update
if we represent a network, we can use 10.10.10.0/24
, but how can we represent a IP address of 10.10.10.0
with mask? Is it not 10.10.10.0/24
too?
I also sometimes find the 10.10.10.0 0.0.0.255
can represent a network, what's the difference.
Update-02
Some friend says like the 192.168.2.1/32
can not stand for the networks, but in the route, there obviously regard this as a subnet.
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/0/0
L 192.168.1.1/32 is directly connected, GigabitEthernet0/0/0
192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.2.0/24 is directly connected, GigabitEthernet0/0/1
L 192.168.2.1/32 is directly connected, GigabitEthernet0/0/1
/24
is an alternative but equivalent method of writing the mask255.255.255.0
, which has 24 ones at the beginning followed by 8 zeros.0.0.0.255
is only used in ACLs, see my answer. – jonathanjo Nov 15 '18 at 03:080.0.0.255
? – 244boy Nov 15 '18 at 03:27