08-29-2017 11:43 PM - edited 03-08-2019 11:52 AM
hi,
is it possible in the same L3 switch to have some ports doing switching and some ports doing routing.
For exemple for 24 ports: 20 ports doing switching between some VLANs, and 4 ports doing routing each with a different ip towards other router in the same subnet (also with ethernet links)
In this case, how do i can forward from a vlan to a specified routing port ?
Regards
08-30-2017 12:10 AM - edited 08-30-2017 12:11 AM
Yes, it is possible.
You need to enable routing:
ip routing
To create routed port issue (assign IP address to port):
interface Gi1/0/x
no switchport
ip address 10.10.10.1 255.255.255.252
There is nothing special that should be configured for routing (just routes to specific destinations with next hop should be placed in routing table). Also, the same goal can be achieved by creating "point-to-point" VLANs without configuring routed ports.
For example configuring static default route (forward traffic through Gi1/0/x)
ip route 0.0.0.0 0.0.0.0 10.10.10.2
08-30-2017 05:33 AM
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