- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
03:35 AM
- last edited on
06-25-2023
11:18 PM
by
Translator
Hi i do have a very simple setup in
GNS3
with two VPCs and two IOUL2 switches.
One switch has the following configuration:
switchport access vlan 123
switchport mode access
interface Ethernet1/0
no switchport
ip address 192.168.178.254 255.255.255.0
ip nat outside
interface Vlan123
ip address 192.168.0.254 255.255.255.0
ip nat inside
ip nat inside source list 1 interface Ethernet1/0 overload
access-list 1 permit 192.168.0.0 0.0.0.255
ip route 0.0.0.0 0.0.0.0 192.168.178.1
If i use ping 192.168.178.1 source vl 123 on the switch, everything works fine and i see an entry
in
sh ip nat trans
. But if i ping 192.168.178.1 from an attached vpc it doesn't work.
Where am i thinking wrong?
Thanks in advance!!!
Solved! Go to Solution.
- Labels:
-
Catalyst Switch
-
Other Routing
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
04:21 AM
- last edited on
06-25-2023
11:15 PM
by
Translator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
03:49 AM
- last edited on
06-25-2023
11:07 PM
by
Translator
Did you add
İp routing
To SW?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 03:57 AM
Hi
It woud be a behavior expected IF the PC has not gateway or wrong gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
04:13 AM
- last edited on
06-25-2023
11:09 PM
by
Translator
hi, thanks for your answers.
@MHM Cisco World yes, and if i configure
static routing
instead of
nat
i get a reply.
the vpc have gateways
configured, as i said, routing works
nat
doesn't
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 04:15 AM - edited 06-22-2023 04:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
04:21 AM
- last edited on
06-25-2023
11:15 PM
by
Translator
Then dont waste your time' the IOS SWl3 image canot do
NATing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 04:24 AM - edited 06-22-2023 04:24 AM
ok so you would say, that the configuration in general would be correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
04:28 AM
- last edited on
06-25-2023
11:14 PM
by
Translator
So so correct'
Your config is perfect but there is some bug in
gns3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 04:28 AM
but it does work in this case. why wouldn't it work with a vpc using the svi address as gateway?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
04:34 AM
- last edited on
06-25-2023
11:13 PM
by
Translator
You are learning and you need to sure that you config is correct'
I will apply same config you share in my lab and share reuslt.
I also have
gns3
and after weeks try solve this issue I give up and use
NSK sw
instead.
I will share lab tonight dont worry.
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
03:18 PM
- last edited on
06-25-2023
11:14 PM
by
Translator
Hello
instead of using a
VPC node
, use a
rtr
and disable
ip routing
on that router so to make it a host device ( ip address & D/G) and test again.
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
