03-14-2022 11:39 AM
I am doing a tutorial on PAT translations and have come up against a routing issue.
I can ping the outside facing PAT router from my hosts, but I can not reach the other end of the segment to the WWW. router which is on the same subnet of the PAT outside facing interface.
I've turned IP routing off and have managed to ping the outside facing PAT which is on a different subnet from my hosts ~ In effect the PAT translations are working but I would like to know how to reach the other end of the segment
Here is the Topology and CLI outputs
Both Alice and Emma can reach 192.168.34.3 when I turn off IP routing. They cannot ping .34.4 which is at the other end of the segment.
Any suggestions on creating an IP route
I've already tried
creating a few different routes on PAT with little success
03-14-2022 11:46 AM
03-14-2022 11:49 AM
I just created a OSPF network and it seems to be working.
Alice(config)#ip routing
Alice(config)#router ospf 100
Alice(config-router)#network 192.168.123.0 0.0.0.255
% Incomplete command.
Alice(config-router)#network 192.168.123.0 0.0.0.255 area 1
Alice(config-router)#no sh
^
% Invalid input detected at '^' marker.
Alice(config-router)#
*Mar 1 01:13:39.395: %OSPF-5-ADJCHG: Process 100, Nbr 192.168.123.3 on FastEthernet0/0 from LOADING to FULL, Loading Done
Alice(config-router)#exit
Alice(config)#exit
Alice#sh ip route
*Mar 1 01:13:46.839: %SYS-5-CONFIG_I: Configured from console by console
Alice#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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 192.168.123.0/24 is directly connected, FastEthernet0/0
Alice#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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 192.168.123.0/24 is directly connected, FastEthernet0/0
O 192.168.34.0/24 [110/20] via 192.168.123.3, 00:00:06, FastEthernet0/0
Alice#ping 192.168.34.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.4, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 24/36/44 ms
Alice#
Would there be a way to create IP routes on individual segments rather than using a routing protocol? I believe static routes would be more secure in this respect, however I could not get my topology to work with static routes
03-14-2022 11:53 AM - edited 03-14-2022 11:55 AM
Static route need in both dirrction, dont forget that.
Also static route need to be for global pat ip since local ip is hidden by pat.
03-14-2022 04:42 PM - edited 03-14-2022 04:44 PM
If PAT Router holding Layer 3 Gateway for both IP subnet and ip routing enable, they should be able to reach each other ?
can you post from PAT router the below information :
show run
show ip interface brief
show ip route
show ip arp
Make sure below Router need to have default route point to respected gateway
emma and alice
ip route 0.0.0.0 0.0.0.0 192.168.123.3
on www
ip route 0.0.0.0 0.0.0.0 192.168.34.3
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