Netgear M5300-28G (GSM7228S) - ProSAFE 24-port Gigabit L2+ Managed Stackable Switch 管理者ガイド
Port Routing
104
Managed Switches
You can then activate RIP or OSPF, used by routers to exchange route information, on top of
IP Routing. RIP is more often used in smaller networks, while OSPF was designed for larger
and more complex topologies.
IP Routing. RIP is more often used in smaller networks, while OSPF was designed for larger
and more complex topologies.
The following figure shows a Layer 3 switch configured for port routing. It connects three
different subnets, each connected to a different port.
different subnets, each connected to a different port.
Subnet 2
Subnet 3
Subnet 5
Port 1/0/3
192.130.3.1
192.130.3.1
Port 1/0/5
192.64.4.1
192.64.4.1
Port 1/0/2
192.150.2.2
192.150.2.2
Layer 3 switch
acting as a router
acting as a router
Figure 10. 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 managed switch to
provide the port routing support shown in
provide the port routing support shown in
104.
Use the following command to enable routing for the switch. Execution of the command
enables IP forwarding by default.
enables IP forwarding by default.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#exit