NETGEAR M4100 Switch User Manual


 
Chapter 4. Port Routing | 65
ProSafe M4100 and M7100 Managed Switches
Now 1/0/5 appears in the Interface field at the top.
c. Enter the following information:
In the IP Address field, enter 192.150.5.1.
In the Subnet Mask field, enter 255.255.255.0.
In the Routing Mode field, select Enable.
d. Click Apply to save the settings.
Add a Default Route
When IP routing takes place on a switch, a routing table is needed for the switch to forward
the packet based on the destination IP address. The route entry in the routing table can
either be created dynamically through routing protocols like RIP and OSPF, or be manually
created by the network administrator. The route created manually is called the static or
default route.
A default route is used for forwarding the packet when the switch cannot find a match in the
routing table for an IP packet.
The following example shows how to create a default route.
CLI: Add a Default Route
(FSM7338S) (Config) #ip route default?
<nexthopip> Enter the IP Address of the next router.
(FSM7328S) (Config)#ip route default 10.10.10.2
Note: IP subnet 10.10.10.0 should be configured using either port routing
(Enable Routing for Ports on the Switch on page 62) or VLAN
routing (see Set Up VLAN Routing for the VLANs and the Switch on
page 73).
Web Interface: Add a Default Route
1. Select Routing > Routing Table > Basic > Route Configuration.