Netgear XCM8810 - 8800 SERIES 10-SLOT CHASSIS SWITCH ユーザーズマニュアル

ページ / 968
612
   
|   
Chapter 20.  IPv4 Unicast Routing  
NETGEAR 8800 User Manual 
Configuring Basic Unicast Routing
To configure IP unicast routing on the switch:
1. 
Create and configure two or more VLANs.
2. 
For each VLAN that participates in IP routing, assign an IP address using the following 
command:
configure {vlan} <vlan_name> ipaddress [<ipaddress> {<ipNetmask>} | ipv6-link-local | 
{eui64} <ipv6_address_mask>]
Ensure that each VLAN has a unique IP address.
3. 
Configure a default route using the following command:
configure iproute add default <gateway> {<metric>} {multicast | multicast-only | unicast | 
unicast-only} {vr <vrname>}
Default routes are used when the router has no other dynamic or static route to the 
requested destination.
4. 
Turn on IP routing for one or all VLANs using the following command:
enable ipforwarding {ipv4 | broadcast | ignore-broadcast | fast-direct-broadcast} {vlan 
<vlan_name>}
5. 
Configure the routing protocol, if required. For a simple network using RIP, the default 
configuration may be acceptable. 
6. 
Turn on RIP or OSPF using one of the following commands:
enable rip
enable ospf
Adding a Default Route or Gateway
A default route or gateway defines a default interface to which traffic is directed when no 
specific routes are available. To add a default route, use the command:
configure iproute add default <gateway> {<metric>} {multicast | multicast-only 
| unicast | unicast-only} {vr <vrname>}
Note:  
If you define a default route and subsequently delete the VLAN on 
the subnet associated with the default route, the invalid default route 
entry remains. You must manually delete the configured default 
route.
Configuring Static Routes
To configure a static route, use the command: