0

When attempting to configure a static route on a router in Packet Tracer, I run into an error where the g0/1 interface part of the code isn't accepted. What should I check first, or do to resolve this error message I keep getting? I have been following a tutorial, and doing exactly as the educator does- and this command worked for him, but not for me. This probably means it has something to do with the way Packet Tracer is set up, on my end?

enter image description here

A. S.
  • 1

1 Answers1

0

You've tried g0/0 - the zeroth interface in module 0 - which might not actually exist as port indices usually start with 1. Try g0/1 instead.

If that doesn't work either make sure that the switch does have gigabit interfaces. You can display a list of interfaces by running show interfaces.

Also, ip route 192.168.1.0 255.255.255.0 g0/1 means to reach 192.168.1.0/24 just talk out of g0/1. You might need to configure a gateway instead of an interface, depending on your network.

Zac67
  • 5,130
  • 1
  • 13
  • 22