Netgear M4100-24G-POE+ (GSM7224P) - ProSAFE Gigabit L2+ Managed Switch Guia Do Administrador
Port Routing
64
ProSAFE M4100 Managed Switches
Add a Static Route
When the switch performs IP routing, it forwards the packet to the default route for a
destination that is not in the same subnet as the source address. However, you can set a
path (static route) that is different than the default route if you prefer. The following procedure
shows how to add a static route to the switch routing table.
destination that is not in the same subnet as the source address. However, you can set a
path (static route) that is different than the default route if you prefer. The following procedure
shows how to add a static route to the switch routing table.
CLI: Add a Static Route
The following commands assume that the switch already has a defined a routing interface
with a network address of 10.10.10.0, and is configured so that all packets destined for
network 10.10.100.0 take the path of routing port.
with a network address of 10.10.10.0, and is configured so that all packets destined for
network 10.10.100.0 take the path of routing port.
(FSM7328S) #show ip route
Total Number of Routes............................1
Network
Subnet
Next Hop
Next Hop
Address
Mask
Protocol
Intf
IP Address
----------
-------------
--------
----------
-----------
10.10.10.0
255.255.255.0
Local
1/0/3
10.10.10.1
To delete the static route, simply add “no” keyword in the front of the “ip route” command.
Web Interface: Add a Static Route
1.
Select Routing > Routing Table > Basic > Route Configuration to display the Route
Configuration screen.
Configuration screen.
2.
In the Route Type list, select Static.
3.
Fill in the Network Address field.
Note that this field should have a network IP address, not a host IP address. Do not enter
something like 10,100.100.1. The last number should always be 0 (zero).
something like 10,100.100.1. The last number should always be 0 (zero).