subnetting questuon
anpu
Member Posts: 36 ■■□□□□□□□□
in CCNA & CCENT
Hi All,
Just wanted to know if we can configure a router using the following format:
192.168.10.0/24.
Also,whenever we configure an ip address for a interface using the usable subnet address ,what does the subnet mask of the address depend upon?
e.g if I configure using ip address 172.16.10.1 what will be my sunet mask?
Thanks
Just wanted to know if we can configure a router using the following format:
192.168.10.0/24.
Also,whenever we configure an ip address for a interface using the usable subnet address ,what does the subnet mask of the address depend upon?
e.g if I configure using ip address 172.16.10.1 what will be my sunet mask?
Thanks
Comments
-
Webmaster Admin Posts: 10,292 AdminYes, I believe you can use the short notation, although I'm not sure every command supports it.
The subnetmask in your example will be 255.255.0.0 by default because 172.16.10. is a class B address. But if the network is subnetted (or supernetted, or aggregated) it might be different. -
Arocks Member Posts: 34 ■■□□□□□□□□I agree.
First thing you need to look at the address and determine which class is belong to, the default subnet mask for class A, B & C are below
Class A = 255.0.0.0
Class B = 255.255.0.0
Class C= 255.255.255.0 -
anpu Member Posts: 36 ■■□□□□□□□□please let me know what will the usable subnets be for 192.168.10.0/24?
-
Arocks Member Posts: 34 ■■□□□□□□□□Hi Anpu,
there will be 1 network, and 254 host for the ip address you have provided. thanks
1 network
254 host. -
anpu Member Posts: 36 ■■□□□□□□□□I do undersatnd this but what I want to ask is that if we are given to configure two router interfaces ,one with the first usable subnet and the other with the second usable subnet...how do we calculate the usable subnets? This is with regards to the format 192.168.10.0/24.
thanks -
mxslms Member Posts: 5 ■□□□□□□□□□192.168.10.0/24 does not have any subnets. It is a class C address which uses 24 bits for its network address. Since the entire mask in this example is only 24 bits that means there are 0 bits left over for subnets. If you try to use this mask for two router interfaces then they will overlap.