cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4032
Views
5
Helpful
14
Replies

IP route configuration packet tracer routerr

Hello everyone ,

 

I have a problem on my packet tracer, in fact I would like to add 2 IP route on my router but I have "%invalid input detected" I don't now why..

 

If you have a solution enjoy

Gautier

1 Accepted Solution

Accepted Solutions

Hello,

 

you do not need any static routes at all. You have one router and two directly connected networks, so the routing is automatic.

 

Your problem is that both PCs did not have their default gateways configured. After adding these to each PC, end to end commnication worked.

 

Attached the revised file (saved in version 8).

View solution in original post

14 Replies 14

balaji.bandi
Hall of Fame
Hall of Fame

The syntax is here :

 

#ip route x.x.x.x 255.255.255.0 y.y.y.y  ( x.x.x.x is the source network, y.y.y.y. destination IP where you want to route that subnet)

 

here is good reference to understand :

 

https://www.cisco.com/c/en/us/support/docs/dial-access/floating-static-route/118263-technote-nexthop-00.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help


@balaji.bandi wrote:

The syntax is here :

 

#ip route x.x.x.x 255.255.255.0 y.y.y.y  ( x.x.x.x is the source network, y.y.y.y. destination IP where you want to route that subnet)

 

here is good reference to understand :

 

https://www.cisco.com/c/en/us/support/docs/dial-access/floating-static-route/118263-technote-nexthop-00.html


 

Hello B.B

 

It's possible to have all ip route for my diagram ?

 

Now I have this one :

ip route 192.168.1.0 255.255.255.0 192.168.2.0

and the same ip route 192.168.2.0 255.255.255.0 192.168.1.0

 

Thx you

Hello,

 

post the zipped Packet Tracer project (.pkt) file...

Hello, just change the name exemple.tar with exemple.pkt

 

When I would like to add Ip route on my switch it s impossible ..

 

 

Thank you

on what device .  ISR 4331

 

Towards Switch 1

ip route 192.168.1.0 255.255.255.0 192.168.1.1

 

Towards Switch 2

ip route 192.168.2.0 255.255.255.0 192.168.2.1

 

On switch 1

ip route 0.0.0.0 0 0,0,.0,0  192.168.1.2

 

 

On switch 2

ip route 0.0.0.0 0 0,0,.0,0  192.168.2.2

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

looking at the screenshot, are you actually in config mode ?

 

Router#conf t

Router(config)#ip route ....

Hello Yes I am with enable and conf terminal

 

Thx u

Hello,

 

post the project file...

Hello,

 

Yes but I can't upload file type .pkt this the reason why I will send my drive with pkt  https://drive.google.com/file/d/1oJoVW9riNOXaUiqdbFZazb9kBa9t5Bi8/view?usp=sharing

 

Thank you,

 

Gautier

Hello,

 

you do not need any static routes at all. You have one router and two directly connected networks, so the routing is automatic.

 

Your problem is that both PCs did not have their default gateways configured. After adding these to each PC, end to end commnication worked.

 

Attached the revised file (saved in version 8).

Hello thank you very much,

 

I will check you .pkt but I can't open it because I have packet tracer 7 ! Itry to install 8 version

 

 

 

Hello,

 

just add the default gateways to the PCs, 192.168.1.2 to the left PC, and 192.168.2.2 to the right PC. Also, delete the two static routes in the router config.

okay thank you !

 

If I have a big infrastructure, how to choose default gateway for server A in my attachement a.png?

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: