Add A Default Route; Cli: Add A Default Route - NETGEAR M4200 Software Administration Manual

M4200 and m4300 series prosafe managed switches
Hide thumbs Also See for M4200:
Table of Contents

Advertisement

b. Scroll down and select the interface 1/0/5 check box.
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
(see
Set Up VLAN Routing for the VLANs and the Switch
page 86).
Managed Switches
on page 74) or VLAN routing
Port Routing
77
on

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

M4300

Table of Contents