Error in ip configuring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 09:11 PM
Why i am getting bad mask error can anyone explain ?
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2024 02:53 AM
hi, this for subnet 255.255.255.252 you can have total 4 IP addresses with 2 usable IPs. for the IP you entered, network range is 201.0.0.0/30. so your 4 IPs will be 201.0.0.0, 201.0.0.1, 201.0.0.2 and 201.0.0.3. each network have 2 IPs for network and broadcast addresses.
201.0.0.0 - network address
201.0.0.3 - broad cast address
so you cannot use 201.0.0.3 for interface. you need to use 201.0.0.1 or 201.0.0.2
Good luck
KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2024 05:23 AM
Possibly the error message is misleading. The IP address and network mask COMBINATION is invalid. You need to change the IP address (as it's the broadcast address for an /30, as explained in @Kasun Bandara's reply) or the network mask (or both).
BTW that IP address would be valid in a /32, /31, /29, /28, . . . Just not the /30.
