Im trying to do a practice in packet tracer. Im configuring a 1841 Router (but the problem happens in all routers).
When I try to set an IP address with a mask different of the by defect mask for this Class of address (using VLSM), the router said me that the mask is incorrect (Bad mask) and don't change anything.
I will implement a classless routing protocol (RIPv2).
Here the line of commands:
Router>
Router>enable
Router#config termin
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int Ser0/0/0
Router(config-if)#ip address 172.16.199.228 255.255.255.252
Bad mask /30 for address 172.16.199.228 <--- HERE
Router(config-if)#
How can I set an IP address with a no by defect mask?
Thanks you! :)