IP Routing
3-209
3
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-4094).
• 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 IP address. An
interface can have only one primary IP address, but can have multiple
secondary IP addresses. In other words, you will need to specify secondary
addresses if more than one IP subnet can accessed via this interface.
- If DHCP/BOOTP is enabled, IP will not function until a reply has been received
from the address server. Requests will be broadcast periodically by the router
for an IP address. (DHCP/BOOTP values include the IP address and subnet
mask.)
• IP Address – Address of the VLAN interface. Valid IP addresses consist of four
numbers, 0 to 255, separated by periods.
• Subnet Mask – This mask identifies the host address bits used for routing to
specific subnets.