8300 Router with Layer 2 module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 04:56 PM - edited 02-12-2024 08:08 AM
Thanks for any help guys. This is probably a dumb question but I can't seem to get it working...
I have an 8300 router with an 8-port layer 2 module. I have a layer 3 port set up with multiple subinterfaces as a trunk that goes to a switch in another location. And I have a layer 2 port set up as an access port on the layer 2 module.
There are 2 endpoints, lets say 10.10.100.2/24 and 10.10.100.3/24. I have 100.2 plugged into the access port, and 100.3 plugged into the switch in another location. If I put the gateway IP of 10.10.100.254/24 on the subinterface, then I can reach 100.3 but not 100.2. If I create an SVI with the gateway on it, then I can reach 100.2 but not 100.3. Both the subinterface encap vlan and the access port vlan are the same, vlan 100.
How can I set this router up so both devices can reach the gateway?
- Labels:
-
LAN Switching
-
Other Routing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 05:27 AM
a routed port with subinterfaces is not the same as a vlan trunk!
as a result both vlan-100 are different networks (even when using the same vlan-id )
-> simplest solution is to use different subnets and route between the subnets
like 10.10.100.0/24 and 10.10.101.0/24 (.0 is the network address, you can use.1 for the router and .2 or .3 for the hosts)
you can still use vlan-100 on both sides, but it will be less confusing to use vlan-100 and vlan-101)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 05:43 AM
as per the diagram both end devices show same IP address,
you need to provide show run config of both switch and router to check the config.
