Options

Does static routing support discontiguous network?

workfrom925workfrom925 Member Posts: 196


Above is a working topology, 7 subnets in the 192.168.9.x /25 network. By that I mean all PCs can ping each other. Then I changed the IP address on the serial connection between Branch1 and HQ to 172.0.0.1/16 and 172.0.0.2/16. Also added this new static route to the Branch2 router. Afterwards none of the PC can ping each other. Even PC2 and PC3 can't ping each other. They are even on the same side of the 172.0.0.0/16 serial link. Am I missing something here or Does static routing support contiguous network only?

Comments

  • Options
    DANMOH009DANMOH009 Member Posts: 241
    I dont see how changing the serial link between Branch 1 and HQ 2 can cause issues between PC2 and PC3, but im not no expert. any chance of putting the running config of branch 1 router on here? Can have a look but cant make any promises.
  • Options
    workfrom925workfrom925 Member Posts: 196
    DANMOH009 wrote: »
    I dont see how changing the serial link between Branch 1 and HQ 2 can cause issues between PC2 and PC3, but im not no expert. any chance of putting the running config of branch 1 router on here? Can have a look but cant make any promises.

    BRANCH1#show run
    Building configuration...

    Current configuration : 855 bytes
    !
    version 12.3
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname BRANCH1
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    ip ssh version 1
    !
    !
    spanning-tree mode pvst
    !
    !
    !
    !
    interface FastEthernet0/0
    ip address 192.168.9.97 255.255.255.224
    duplex auto
    speed auto
    !
    interface FastEthernet0/1
    ip address 192.168.9.129 255.255.255.224
    duplex auto
    speed auto
    !
    interface Serial0/0/0
    ip address 172.0.0.2 255.255.0.0
    clock rate 64000
    !
    interface Serial0/0/1
    no ip address
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    ip classless
    ip route 192.168.9.192 255.255.255.224 Serial0/0/0
    ip route 192.168.9.160 255.255.255.224 Serial0/0/0
    ip route 192.168.9.0 255.255.255.224 Serial0/0/0
    ip route 192.168.9.64 255.255.255.224 Serial0/0/0
    !
    !
    !
    !
    !
    !
    !
    line con 0
    line vty 0 4
    login
    !
    !
    !
    end


    BRANCH1#
  • Options
    boredgameladboredgamelad Member Posts: 365 ■■■■□□□□□□
    Give us the routing table on BRANCH1 also?
  • Options
    workfrom925workfrom925 Member Posts: 196
    Give us the routing table on BRANCH1 also?

    Sure.

    BRANCH1#show ip route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
    * - candidate default, U - per-user static route, o - ODR
    P - periodic downloaded static route

    Gateway of last resort is not set

    C 172.0.0.0/16 is directly connected, Serial0/0/0
    192.168.9.0/27 is subnetted, 6 subnets
    S 192.168.9.0 is directly connected, Serial0/0/0
    S 192.168.9.64 is directly connected, Serial0/0/0
    C 192.168.9.96 is directly connected, FastEthernet0/0
    C 192.168.9.128 is directly connected, FastEthernet0/1
    S 192.168.9.160 is directly connected, Serial0/0/0
    S 192.168.9.192 is directly connected, Serial0/0/0
    BRANCH1#ping 172.0.0.2

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 172.0.0.2, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 30/46/80 ms

    BRANCH1#
  • Options
    atorvenatorven Member Posts: 319
    Post your packet tracer file.
  • Options
    workfrom925workfrom925 Member Posts: 196
    atorven wrote: »
    Post your packet tracer file.

    Haha! I should've done it in the beginning.

  • Options
    atorvenatorven Member Posts: 319
    PC3 has no default gateway.
  • Options
    workfrom925workfrom925 Member Posts: 196
    atorven wrote: »
    PC3 has no default gateway.

    I don't know how I made the mistake. I presumed I fixed this. Well, now it's all fine. Thanks.

    My conclusion, static routes do support discontiguous networks.
Sign In or Register to comment.