Port Routing
73
Managed Switches
The following figure shows a Layer 3 switch configured for port routing. It connects three
different subnets, each connected to a different port.
Figure 9. Layer 3 switch configured for port routing
Enable Routing for the Switch
The example is shown as CLI commands and as a web interface procedure.
CLI: Enable Routing for the Switch
The following script shows the commands that you use to configure the switch to provide the
port routing support shown in Figure 9, Layer 3 switch configured for port routing on page 73.
Use the following command to enable routing for the switch. Execution of the command
enables IP forwarding by default.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#exit
Subnet 2 Subnet 3 Subnet 5
Port 1/0/3
192.130.3.1
Port 1/0/5
192.64.4.1
Port 1/0/2
192.150.2.2
Layer 3 switch
acting as a router