cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
965
Views
0
Helpful
3
Replies

Cant ping b/w hosts with same network segment , IGP is OSPF used

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

 

OSPF .png

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

 

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

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 .

20190422_105050.jpg

 

Please find the pic , for my query .