05-06-2022 01:15 PM
Hello,
I have tried to configure an example of networks I got assigned by my teacher and cannot find any mistake I may have done. I have spent a lot of time trying to find it, but at this point this just seems like a bug in the program. Could you, please tell me, where is the mistake? In the pictures attached, there is a diagram of how have I assigned different ip addresses to the computers (numbers in brackets are 4th octet numbers of ip, for instance 0-63 means 192.168.0.0 - 192.168.0.63) and the second picture shows whats wrong. I tried to ping from right bottom pc to the ones at the top. It works, but I thought it would go through the specified ip 10.0.0.10. It does so only when i get the reposponse from the ping (the blue line). I have even tested it on different versions of packet tracer (version 8 and 7), but it doesnt work anyway.
Any advice is highly appreciated
Solved! Go to Solution.
05-07-2022 08:52 AM
I have fixed the problem. Don't know the exact reason, but I copied the running config, replaced the routers with new ones, pasted the configuration and it works as intended. Thank you for your help
05-06-2022 01:22 PM
please share the config of Router 0 here I could not open ZIP file.
05-06-2022
03:31 PM
- last edited on
05-16-2022
02:25 AM
by
Translator
Hi
There´s some inconsistency on the mask and networks.
You PCs have mask /27, /28 and /29 which would be:
255.255.255.224
255.255.255.240
255.255.255.248
But, you static route is :
R2
ip route 192.168.0.0 255.255.255.192 10.0.0.1
ip route 192.168.0.128 255.255.255.128 10.0.0.9
!
R3
ip route 192.168.0.64 255.255.255.192 10.0.0.10
ip route 192.168.0.0 255.255.255.192 10.0.0.5
However, as you are using static route with no Administrative distance, and all network is 192.168.0.X,the router should use the pach with more specific mask.
05-06-2022 03:46 PM - edited 05-06-2022 03:46 PM
I think he use per-destioantion load sharing
that why all traffic take one path even if there are two identical path.
change the load sharing to be per-packet OR make your unwanted static route with higher AD this make router always select one path and keep other in case of failed first one.
https://www.connecteddots.online/resources/cisco-reference/cisco-router-per-packet-load-balancing
05-06-2022 11:38 PM
Hi, thank you for your answer. I will look at it, but I haven’t specified it to use load balancing. What’s strange is that the path going over R1 is meant for computers that have got ip addresses of different network.
I am afraid that if I used higher AD, It would lead to the same problem with different routers (redirecting everything from R3 to R2).
05-07-2022 04:35 AM
Hi, I have even tried to make higher administrative distance of the unwanted path but it seems to have no effect. Even removing the entry ip route with the unwanted path hasn't helped.
Seems like there's some default settings or default path.
05-06-2022 11:32 PM
Hi Flavio, thank you for your answer. I have specified the masks in a way that all of the networks directly connected to each router can be combined to a bigger network. That’s why there’s the inconsistency with the masks. So if you look at the configuration of router 3, any computer directly connected to the top router should be only part of the network that’s specified to go through 10.0.0.10 (interface on top router).
What’s confusing for me is that it seems to be ignoring the static rules I have specified.
05-07-2022 04:49 AM
It seems complicate considering static routes and the fact that this is a simulator and not always router behave just like the real router.
If could use dynamic routing instead or use different networks instead only 192.168.0.x.
05-07-2022 12:54 AM
Share config here, all routers
05-07-2022
01:29 AM
- last edited on
05-16-2022
02:40 AM
by
Translator
Thank you so much for helping me. There is the information displayed with
command show running-config.
I also attach screenshot of the ping schematics with connection between routers and network schematics.
Router1
Current configuration : 1784 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
ip dhcp excluded-address 192.168.0.1
ip dhcp excluded-address 192.168.0.9
ip dhcp excluded-address 192.168.0.33
ip dhcp excluded-address 192.168.0.49
!
ip dhcp pool LAN1
network 192.168.0.0 255.255.255.248
default-router 192.168.0.1
ip dhcp pool LAN2
network 192.168.0.8 255.255.255.248
default-router 192.168.0.9
ip dhcp pool LAN3
network 192.168.0.32 255.255.255.240
default-router 192.168.0.33
ip dhcp pool LAN4
network 192.168.0.48 255.255.255.240
default-router 192.168.0.49
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.0.1 255.255.255.248
duplex auto
speed auto
!
interface GigabitEthernet1/0
ip address 192.168.0.9 255.255.255.248
duplex auto
speed auto
!
interface GigabitEthernet2/0
ip address 192.168.0.33 255.255.255.240
duplex auto
speed auto
!
interface GigabitEthernet3/0
ip address 192.168.0.49 255.255.255.240
duplex auto
speed auto
!
interface GigabitEthernet4/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet5/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet6/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet7/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial8/0
ip address 10.0.0.1 255.255.255.252
clock rate 2000000
!
interface Serial9/0
ip address 10.0.0.5 255.255.255.252
clock rate 2000000
!
ip classless
ip route 192.168.0.64 255.255.255.192 10.0.0.2
ip route 192.168.0.128 255.255.255.128 10.0.0.6
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router2
Current configuration : 1487 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
ip dhcp excluded-address 192.168.0.65
ip dhcp excluded-address 192.168.0.97
!
ip dhcp pool LAN1
network 192.168.0.64 255.255.255.224
default-router 192.168.0.65
ip dhcp pool LAN2
network 192.168.0.96 255.255.255.248
default-router 192.168.0.97
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.0.65 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet1/0
ip address 192.168.0.97 255.255.255.248
duplex auto
speed auto
!
interface GigabitEthernet2/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet3/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet4/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet5/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet6/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet7/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial8/0
ip address 10.0.0.2 255.255.255.252
!
interface Serial9/0
ip address 10.0.0.10 255.255.255.252
!
ip classless
ip route 192.168.0.0 255.255.255.192 10.0.0.1
ip route 192.168.0.128 255.255.255.128 10.0.0.9
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router3
Current configuration : 1800 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
ip dhcp excluded-address 192.168.0.193
ip dhcp excluded-address 192.168.0.161
ip dhcp excluded-address 192.168.0.145
ip dhcp excluded-address 192.168.0.129
!
ip dhcp pool LAN1
network 192.168.0.192 255.255.255.224
default-router 192.168.0.193
ip dhcp pool LAN2
network 192.168.0.160 255.255.255.248
default-router 192.168.0.161
ip dhcp pool LAN3
network 192.168.0.144 255.255.255.240
default-router 192.168.0.145
ip dhcp pool LAN4
network 192.168.0.128 255.255.255.240
default-router 192.168.0.129
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.0.193 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet1/0
ip address 192.168.0.161 255.255.255.248
duplex auto
speed auto
!
interface GigabitEthernet2/0
ip address 192.168.0.145 255.255.255.240
duplex auto
speed auto
!
interface GigabitEthernet3/0
ip address 192.168.0.129 255.255.255.240
duplex auto
speed auto
!
interface GigabitEthernet4/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet5/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet6/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet7/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial8/0
ip address 10.0.0.9 255.255.255.252
!
interface Serial9/0
ip address 10.0.0.6 255.255.255.252
clock rate 2000000
!
ip classless
ip route 192.168.0.64 255.255.255.192 10.0.0.10
ip route 192.168.0.0 255.255.255.192 10.0.0.5
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
05-07-2022 08:52 AM
I have fixed the problem. Don't know the exact reason, but I copied the running config, replaced the routers with new ones, pasted the configuration and it works as intended. Thank you for your help
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide