Hey all, I am studying for the ccna and am trying to get all the commands in the packet tracer down. I am trying to give a switch
an IP address. It seems pretty straight forward but I am getting the same error. hoping you guys can help. Plus I had a couple questions too. Thanks in advance.

GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/2 unassigned YES unset up up
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int vlan1
Switch(config-if)#int gig 0/2
Switch(config-if)#ip address 1.1.1.254 255.255.255.0
^
% Invalid input detected at '^' marker.
Questions:
The exercise has four switches and 5 nodes can they all be on Vlan 1? I figured that it would not matter due to mac addresses
Should the switch ip address be in the high or low range of addresses?