- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2022 11:39 PM
I'm trying to make Static Routing in 3 routers. But 1 routers always won't save the static routing setting. Is there any solution?
Solved! Go to Solution.
- Labels:
-
Other Routing
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2022 12:41 AM
Hello
You had incorrect ip address assignment on your router interfaces and incorrect static routes.
Suggest as you have multiple egress paths on the rtrs not to use static routing as this would be to much of an administrative burden to manage and instead use an igp such as rip/eigrp/ospf.
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2022
01:11 AM
- last edited on
03-21-2022
11:32 AM
by
Translator
Hello,
the static route is not saved because the next hop is not on the same subnet. You need to change the IP addressing on RouterA (and RouterB) as below (revised file attached):
RouterA#sh run
Building configuration...
Current configuration : 661 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterA
!
ip cef
no ipv6 cef
!
interface GigabitEthernet7/0
ip address 192.168.1.1 255.255.255.252
!
interface GigabitEthernet8/0
ip address 192.168.1.6 255.255.255.252
!
interface FastEthernet9/0
ip address 172.17.1.1 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 10.20.30.0 255.255.255.0 192.168.1.2
ip route 192.168.100.0 255.255.255.0 192.168.1.14
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
RouterB#sh run
Building configuration...
Current configuration : 674 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterB
!
ip cef
no ipv6 cef
!
interface GigabitEthernet7/0
ip address 192.168.1.9 255.255.255.252
!
interface GigabitEthernet8/0
ip address 192.168.1.2 255.255.255.252
!
interface FastEthernet9/0
ip address 10.20.30.1 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 172.17.1.0 255.255.255.0 192.168.1.1
ip route 192.168.100.0 255.255.255.0 192.168.1.10
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
RouterC#sh run
Building configuration...
Current configuration : 658 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterC
!
ip cef
no ipv6 cef
!
interface GigabitEthernet7/0
ip address 192.168.1.5 255.255.255.252
!
interface GigabitEthernet8/0
ip address 192.168.1.10 255.255.255.252
!
interface FastEthernet9/0
ip address 40.50.60.1 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 172.17.1.0 255.255.255.0 192.168.1.6
ip route 10.20.30.0 255.255.255.0 192.168.1.9
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2022 12:41 AM
Hello
You had incorrect ip address assignment on your router interfaces and incorrect static routes.
Suggest as you have multiple egress paths on the rtrs not to use static routing as this would be to much of an administrative burden to manage and instead use an igp such as rip/eigrp/ospf.
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2022 04:20 AM
Thank you so much for your suggestion. Aprreciate it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2022
01:11 AM
- last edited on
03-21-2022
11:32 AM
by
Translator
Hello,
the static route is not saved because the next hop is not on the same subnet. You need to change the IP addressing on RouterA (and RouterB) as below (revised file attached):
RouterA#sh run
Building configuration...
Current configuration : 661 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterA
!
ip cef
no ipv6 cef
!
interface GigabitEthernet7/0
ip address 192.168.1.1 255.255.255.252
!
interface GigabitEthernet8/0
ip address 192.168.1.6 255.255.255.252
!
interface FastEthernet9/0
ip address 172.17.1.1 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 10.20.30.0 255.255.255.0 192.168.1.2
ip route 192.168.100.0 255.255.255.0 192.168.1.14
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
RouterB#sh run
Building configuration...
Current configuration : 674 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterB
!
ip cef
no ipv6 cef
!
interface GigabitEthernet7/0
ip address 192.168.1.9 255.255.255.252
!
interface GigabitEthernet8/0
ip address 192.168.1.2 255.255.255.252
!
interface FastEthernet9/0
ip address 10.20.30.1 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 172.17.1.0 255.255.255.0 192.168.1.1
ip route 192.168.100.0 255.255.255.0 192.168.1.10
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
RouterC#sh run
Building configuration...
Current configuration : 658 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterC
!
ip cef
no ipv6 cef
!
interface GigabitEthernet7/0
ip address 192.168.1.5 255.255.255.252
!
interface GigabitEthernet8/0
ip address 192.168.1.10 255.255.255.252
!
interface FastEthernet9/0
ip address 40.50.60.1 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 172.17.1.0 255.255.255.0 192.168.1.6
ip route 10.20.30.0 255.255.255.0 192.168.1.9
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2022 04:19 AM
Thankyou so much, it's work!
