03-15-2023 02:13 AM
I can't access other networks from vlan10 & vlan 20 but I can access vlan10,vlan 20 from other networks(OSPF routing protocol is used in my all routers).I can ping vlan10&20 from my BRANCH A router but not ping between the Vlan's (10&20).
For your reference
BRANCH_A#sh runn
Building configuration...
Current configuration : 1157 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname BRANCH_A
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2811/K9 sn FTX101728HF-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.16.1.5 255.255.255.252
duplex auto
speed auto
!
interface Ethernet1/0
no ip address
duplex auto
speed auto
!
interface Ethernet1/0.3
no ip address
!
interface Ethernet1/0.10
encapsulation dot1Q 10
ip address 10.1.10.2 255.255.255.0
!
interface Ethernet1/0.20
encapsulation dot1Q 20
ip address 10.1.20.2 255.255.255.0
!
interface Vlan1
no ip address
shutdown
!
router ospf 30
router-id 0.0.0.30
log-adjacency-changes
passive-interface Ethernet1/0.10
passive-interface Ethernet1/0.20
network 10.1.0.0 0.0.255.255 area 0
network 172.16.0.0 0.0.255.255 area 0
network 10.0.0.0 0.255.255.255 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
VLAN10:
VLAN10#sh runn
Building configuration...
Current configuration : 1277 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname VLAN10
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
switchport trunk allowed vlan 1,10,20
switchport mode trunk
!
interface FastEthernet0/2
switchport mode trunk
!
interface FastEthernet0/3
switchport access vlan 10
switchport mode trunk
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
switchport trunk allowed vlan 1,10,20
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
!
end
VLAN20:
VLAN20#sh runn
Building configuration...
Current configuration : 1153 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname VLAN20
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 20
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
!
end
BRANCH A:
BRANCH_A#sh ip route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C 10.1.10.0/24 is directly connected, Ethernet1/0.10
L 10.1.10.2/32 is directly connected, Ethernet1/0.10
C 10.1.20.0/24 is directly connected, Ethernet1/0.20
L 10.1.20.2/32 is directly connected, Ethernet1/0.20
O 10.2.2.0/24 [110/12] via 172.16.1.6, 00:30:44, FastEthernet0/1
[110/12] via 172.16.1.2, 00:30:44, FastEthernet0/0
172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
C 172.16.1.0/30 is directly connected, FastEthernet0/0
L 172.16.1.1/32 is directly connected, FastEthernet0/0
C 172.16.1.4/30 is directly connected, FastEthernet0/1
L 172.16.1.5/32 is directly connected, FastEthernet0/1
O 172.16.1.8/30 [110/2] via 172.16.1.2, 00:30:54, FastEthernet0/0
O 172.16.1.12/30 [110/2] via 172.16.1.6, 00:30:54, FastEthernet0/1
O 192.168.1.0/24 [110/11] via 172.16.1.6, 00:30:54, FastEthernet0/1
O 192.168.2.0/24 [110/11] via 172.16.1.2, 00:30:54, FastEthernet0/0
BRANCH_A#sh ip prot
Routing Protocol is "ospf 30"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 0.0.0.30
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
10.1.0.0 0.0.255.255 area 0
172.16.0.0 0.0.255.255 area 0
10.0.0.0 0.255.255.255 area 0
Passive Interface(s):
Ethernet1/0.10
Ethernet1/0.20
Routing Information Sources:
Gateway Distance Last Update
0.0.0.1 110 00:01:46
0.0.0.4 110 00:01:46
0.0.0.20 110 00:01:47
0.0.0.30 110 00:01:51
Distance: (default is 110)
BRANCH_A#sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface
0.0.0.4 1 FULL/BDR 00:00:36 172.16.1.2 FastEthernet0/0
0.0.0.20 1 FULL/BDR 00:00:37 172.16.1.6 FastEthernet0/1
BRANCH_A#show ip ospf database
OSPF Router with ID (0.0.0.30) (Process ID 30)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
0.0.0.30 0.0.0.30 313 0x80000008 0x00891f 4
0.0.0.20 0.0.0.20 309 0x80000007 0x0091e4 3
0.0.0.4 0.0.0.4 308 0x80000007 0x009213 3
0.0.0.1 0.0.0.1 308 0x80000007 0x006986 3
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.16.1.5 0.0.0.30 313 0x80000003 0x005b8a
172.16.1.1 0.0.0.30 313 0x80000004 0x00f1f6
172.16.1.13 0.0.0.20 309 0x80000002 0x00b536
172.16.1.9 0.0.0.4 308 0x80000002 0x00838c
03-15-2023 03:04 AM
You can not ping from VLAN to VLAN because as I see you dont config IP for VLAN (SVI)
and this also need config GW in each PC point to SVI of VLAN in each sites
03-15-2023 04:48 AM
03-15-2023 07:38 AM
I want to break down your problem and ask questions here :
I can't access other networks from vlan10 & vlan 20 - what is the other networks ? any IP address ?
but I can access vlan10,vlan 20 from other networks(OSPF routing protocol is used in my all routers) - You can access VLAN 10 and 20, Gateway IP address or end device IP address ( example from what networks you able to access and show some output~) ?
I can ping vlan10&20 from my BRANCH A router but not ping between the Vlan's (10&20). - Branch A having Layer 3 Interface ? are you able to ping end device in that VLAN 10 and 20 ?
have you checked end device have FW
Test output required :
1. Post all the router config - along with show ip route
2. show ip arp from Branch A Router
3. Traceroute from VLAN 10 and 20 output.
4. If you enabled OSPF all Routers as per your diagram,, i am sure i see some OSPF loop here. (on branchA router can you shutdown one of the interface (any one fas 0/0 or fas 0/1 ) do the testings.
5. show ip ospf neigh from all routers.
03-15-2023 10:10 PM
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