04-18-2019 03:22 AM
Cant ping between hosts PC-1 (192.168.1.1) to PC-2 (192.168.1.2) /24 subnet , how can i able to ping in the same network segment b/w these hosts ?
IOU5
router ospf 1
router-id 5.5.5.5
redistribute connected subnets
network 192.168.1.0 0.0.0.255 area 0
IOU5#sh cry session
Crypto session current status
Interface: Ethernet0/1.500
Session status: UP-ACTIVE
Peer: 10.10.10.2 port 500
IKEv1 SA: local 10.10.10.1/500 remote 10.10.10.2/500 Active
IPSEC FLOW: permit ip 0.0.0.0/0.0.0.0 0.0.0.0/0.0.0.0
Active SAs: 2, origin: crypto map
IOU5#sh ip os nei
Neighbor ID Pri State Dead Time Address Interface
6.6.6.6 0 FULL/ - 00:00:35 10.10.10.2 Ethernet0/1.500
IOU5#ping 10.10.10.2 so 10.10.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/20/63 ms
-----------------------------------------------------------------
IOU6
router ospf 1
router-id 6.6.6.6
redistribute connected subnets
network 192.168.1.0 0.0.0.255 area 0
Interface: Ethernet0/2.500
Session status: UP-ACTIVE
Peer: 10.10.10.1 port 500
IKEv1 SA: local 10.10.10.2/500 remote 10.10.10.1/500 Active
IPSEC FLOW: permit ip host 10.10.10.2 host 10.10.10.1
Active SAs: 2, origin: crypto map
IOU6#ping 10.10.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/14/26 ms
IOU6#sh ip os nei
Neighbor ID Pri State Dead Time Address Interface
5.5.5.5 0 FULL/ - 00:00:38 10.10.10.1 Ethernet0/2.500
04-18-2019 03:33 AM
You cannot have the same IP subnet (192.168.1.0/24) separated by another subnet or subnets (10.10.10.0/24) as that will not work.
Just change one of the PC subnets to 192.168.2.0/24 and as long as your routing is setup correctly it should work.
Jon
04-21-2019 09:55 PM
Thanks , but i do that change alredy and it work , but my point is like l3vpn where we make a entire same subnet b/w different same mostly Private ASN , then can it is possible in this scenario.
Like if i have multiple sites for example and want to connect b/w them so a same subnet is not possible , please can tell why for the ospf case .
04-21-2019 10:24 PM
Please find the pic , for my query .
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