cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
26004
Views
5
Helpful
8
Replies

Cannot assign an ip address to a router interface in Packet Tracer 6.3

mihailolja
Level 1
Level 1

Router(config-if)#ip address 192.168.8.0 255.255.255.0

                            ^

% Invalid input detected at '^' marker.

 

Any ideas anyone? Router is a 819HGW.

 

Thanks in advance.

 

Mihailo

 

1 Accepted Solution

Accepted Solutions

You should have at least 1 wan port and 4 Ethernet ports at l2 on an 800  , no 1 below would be the wan

 

Image result for 800 series wan port

View solution in original post

8 Replies 8

Mark Malone
VIP Alumni
VIP Alumni
Is its a layer 2 port ? whats the interface number , 800 series only have a wan port and then 4 layer 2 ports usually
Other thing is try no switchport to make it layer3 , if that's not there its a switchport only and cant have an ip

Aha...it probably is a layer 2 port only then as the no switchport command
also fails. All 4 of the ethernet interfaces are behaving like this.

Is there a definitive way of determining if a port is a layer 2 port only?

You wont have any IP commands available as its layer 2 only and IP commands are layer 3

you can also do sh interface x/x switchport may show you something too

800s are routers with extension lan modules so there known just to be layer 2 only , but on say a l2/l3 switch 3850 you can check the comamnds and also check can you make it a layer 3 port with no switchport

the data sheet for the device as well usually tells you what there capable of when your purchasing them , how many l3 and l2 or if both capable etc

You should have at least 1 wan port and 4 Ethernet ports at l2 on an 800  , no 1 below would be the wan

 

Image result for 800 series wan port

Brilliant, that makes total sense.

 

Thanks so much for your unselfish help!

 

Best Regards

 

Mihailo

no problem glad I could help

saurabh@npse.in
Level 1
Level 1
The reason behind this is that you are assigning a Network ID. For that subnet 192.168.8.0 is a first IP which is always Network ID and it cannot be used to assign on any interface .
Thank you !

Yes 192.168.8.0 is a network id and incorrect but I tried numerous valid
addresses and they all failed.
Review Cisco Networking for a $25 gift card