top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What if my subnet mask is not configured properly?

0 votes
553 views

I know subnet mask is used to separate network byte and host byte but what if my subnet mask is not configured properly.

E.g.
In my environment i need to use 255.255.254.0 as a subnet but i mistakenly configured 255.255.252.0 but still I am able to receive and send data from my system, Then what is the use of using correct subnet?

posted Nov 27, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Subnet mask is used to find the subnet from the given IP address, system apply the subnet mask on the number and get the subnet and route the packet.
Now say your number is 10101 and subnet is 10100 (taken 4 bits for the simplicity) so the subnet mask is 11100 you apply 11100 on the number and gets the subnet as 10100. Now by mistake in place you apply 11110 then also subnet is 10100. So, in short, its just co-incidence because of the number hence you need correct subnet mask for a generalized number.

answer Nov 27, 2018 by Salil Agrawal
Similar Questions
0 votes

IFconfig command on smart phone returns both the Mobile-IP and the subnet mask (using terminal Emulator)
The UE-IP is allocated by either the HSS (S6a-ULA) or the PGW (GTPv2C Create-Session response).
However, only the IP address is present in those messages and not the subnet mask.

My question is how the UE knows about the subnet mask?
Does it obtain from the PGW?
Is the UE aware about the PGW IP address?

+1 vote

A- 255.255.255.252
B- 255.255.255.248
C- 255.255.255.240
D- 255.255.255.224

...