SMC Networks SMC8724ML3 Switch User Manual


 
IP R
OUTING
3-271
CLI - This example enables IP routing, and sets the default gateway.
Configuring IP Routing Interfaces
You can specify the IP subnets connected to this router by manually
assigning an IP address to each VLAN, or by using the RIP or OSPF
dynamic routing protocol to identify routes that lead to other interfaces by
exchanging protocol messages with other routers on the network.
Command Usage
If this router is directly connected to end node devices (or connected to
end nodes via shared media) that will be assigned to a specific subnet,
then you must create a router interface for each VLAN that will support
routing. The router interface consists of an IP address and subnet mask.
This interface address defines both the network number to which the
router interface is attached and the router’s host number on that
network. In other words, a router interface address defines the network
and subnetwork numbers of the segment that is connected to that
interface, and allows you to send IP packets to or from the router.
Before you configure any network interfaces on this router, you should
first create a VLAN for each unique user group, or for each network
application and its associated users. Then assign the ports associated with
each of these VLANs.
Command Attributes
VLAN – ID of configured VLAN (1-4093).
IP Address Mode – Specifies whether the IP address for this interface
is statically assigned, or obtained from a network address server.
(Options: Static, DHCP - Dynamic Host Configuration Protocol,
BOOTP - Boot Protocol; Default: Static)
- If Static address type is selected, then you must also specify whether
the IP address is the primary IP address on the VLAN or a secondary
Console(config)#ip routing 4-318
Console(config)#ip route default 10.1.0.254 4-319