01-11-2024 09:50 PM - edited 01-13-2024 04:31 AM
Hello,
I need to deal with the situation with L2NAT on the same switch. Where 2 PC are on same L2 Switch with different range of IP Address and I want PCB to be seen as 10.0.0.1 to PCA, can anyone let me know, is it possible to do that, I believe no, but wants feedback on this
Solved! Go to Solution.
01-13-2024 04:40 AM
https://m.youtube.com/watch?v=m22Hu86AsJU
Check this
You can I think config l2nat in same SW but you need svi as gw.
Anyway check video
Goodluck
MHM
01-13-2024 10:29 AM
As per the below document that should work :
Are you testing using PC and any PLC ?
int G1/1 is connected to PCB - where is PC A connected ?
can you post full configuration of IE switch - what IOS running on it.
01-13-2024 04:28 PM
Hello,
I am testing PC TO PC and PCÀ is connected to Fa1/1 Port. Presently I am not in front of switch, but I am trying on packet tracer, I will share you the configuration of the switch from packet tracer.
01-13-2024 11:35 PM
Thanks for your suggestion, it now worked as per below topology and below configuration
l2nat instance TEST
instance-id 1
fixup arp
fixup icmp
inside from host 192.168.1.1 to 10.0.0.2
outside from host 10.0.0.1 to 192.168.1.2
int G1/2
l2nat TEST
01-14-2024 01:18 AM - edited 01-14-2024 01:19 AM
I am testing PC TO PC and PCÀ is connected to Fa1/1 Port. Presentl
I believe there is limitation fas1/1 port to use for the solution you looking to deploy, check the document it only works Gi1/1 and 1/2 i guess.
But Glad you able to resolve the issue, suggestion was helpful. if this is resolve - kindly mark as resolved so future any community member having issue can refer this solution. thank you for sharing the solution
01-14-2024 01:48 AM - edited 01-14-2024 01:53 AM
Yes I do agree it works only on Gi interfaces that is why I have applied L2 NAT on Gi1/2 and Fas1/1 as normal access port.
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