Alcatel-Lucent 6850-48 ネットワークガイド
IP Forwarding
Configuring IP
page 24-8
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Configuring an IP Router Interface
IP is enabled by default. Using IP, devices connected to ports on the same VLAN are able to communi-
cate. However, to forward packets to a different VLAN, you must create at least one router interface on
each VLAN.
cate. However, to forward packets to a different VLAN, you must create at least one router interface on
each VLAN.
Use the
command to define up to eight IP interfaces for an existing VLAN. The following
parameter values are configured with this command:
• A unique interface name (text string up to 20 characters) is used to identify the IP interface. Specifying
this parameter is required to create or modify an IP interface.
• The VLAN ID of an existing VLAN.
• An IP address to assign to the router interface (e.g., 193.204.173.21). Note that router interface IP
addresses must be unique. You cannot have two router interfaces with the same IP address.
• A subnet mask (defaults to the IP address class). It is possible to specify the mask in dotted decimal
notation (e.g., 255.255.0.0) or with a slash (/) after the IP address followed by the number of bits to
specify the mask length (e.g., 193.204.173.21/64).
specify the mask length (e.g., 193.204.173.21/64).
• The forwarding status for the interface (defaults to forwarding). A forwarding router interface sends IP
frames to other subnets. A router interface that is not forwarding can receive frames from other hosts
on the same subnet.
on the same subnet.
• An Ethernet-II or SNAP encapsulation for the interface (defaults to Ethernet-II). The encapsulation
determines the framing type the interface uses when generating frames that are forwarded out of VLAN
ports. Select an encapsulation that matches the encapsulation of the majority of VLAN traffic.
ports. Select an encapsulation that matches the encapsulation of the majority of VLAN traffic.
• The Local Proxy ARP status for the VLAN. If enabled, traffic within the VLAN is routed instead of
bridged. ARP requests return the MAC address of the IP router interface defined for the VLAN. For
more information about Local Proxy ARP, see
more information about Local Proxy ARP, see
• The primary interface status. Designates the specified IP interface as the primary interface for the
VLAN. By default, the first interface bound to a VLAN becomes the primary interface for that VLAN.
The following ip interface command example creates an IP interface named Marketing with an IP
network address of 21.0.0.1 and binds the interface to VLAN 455:
network address of 21.0.0.1 and binds the interface to VLAN 455:
-> ip interface Marketing address 21.0.0.1 vlan 455
The name parameter is the only parameter required with this command. Specifying additional parameters
is only necessary to configure a value other than the default value for that parameter. For example, all of
the following commands will create an IP router interface for VLAN 955 with a class A subnet mask, an
enabled forwarding status, Ethernet-II encapsulation, and a disabled Local Proxy ARP and primary inter-
face status:
is only necessary to configure a value other than the default value for that parameter. For example, all of
the following commands will create an IP router interface for VLAN 955 with a class A subnet mask, an
enabled forwarding status, Ethernet-II encapsulation, and a disabled Local Proxy ARP and primary inter-
face status:
-> ip interface Accounting address 71.0.0.1 mask 255.0.0.0 vlan 955 forward e2
no local-proxy-arp no primary
-> ip interface Accounting address 71.0.0.1/8 vlan 955
-> ip interface Accounting address 71.0.0.1 vlan 955