Configuring IP parameters for devices running Layer 3 software

You must configure IP parameters for devices running Layer 3 software.

Configuring IP addresses

You can configure an IP address on the following types of Layer 3 interfaces:

  • Ethernet port
  • Virtual routing interface (also called a Virtual Ethernet or "VE")
  • Loopback interface

By default, you can have up to 24 IP addresses on each interface, but you can increase this number to 128 IP addresses.

Note: Once you configure a virtual routing interface on a VLAN, you cannot configure Layer 3 interface parameters on individual ports in the VLAN. Instead, you must configure the parameters on the virtual routing interface itself.

Assigning an IP address to an Ethernet port

Enter the following commands to assign an IP address to port 1/1/1.

device(config)# interface ethernet 1/1/1
device(config)# ip address 10.45.6.1 255.255.255.0

You also can enter the IP address and mask in CIDR format.

device># ip address 10.45.6.1/24

Assigning an IP address to a loopback interface

Loopback interfaces are always up, regardless of the states of physical interfaces. They can add stability to the network because they are not subject to route flap problems that can occur due to unstable links between a Layer 3 device and other devices. You can configure up to four loopback interfaces on a Layer 3 device.

You can add up to 24 IP addresses to each loopback interface.

Note: If you configure the device to use a loopback interface to communicate with a BGP4 neighbor, you must also configure a loopback interface on the neighbor and configure the neighbor to use that loopback interface to communicate with the RUCKUS device.

To add a loopback interface, enter the interface loopback num and ip address num commands similar to the following example.

device(config)# exit
device(config)# interface loopback 1
device(config)# ip address 10.0.0.1/24

You can specify from 1 through the maximum number of virtual interfaces supported on the device by using the interface loopback num command.. To display the maximum number of virtual interfaces supported on the device, enter the show default values command.

Assigning an IP address to a virtual routing interface

A virtual interface is a logical port associated with a Layer 3 Virtual LAN (VLAN) configured on a Layer 3 device. You can configure routing parameters on the virtual interface to enable the Layer 3 device to route protocol traffic from one Layer 3 VLAN to the other, without using an external router.

Note: The device uses the lowest MAC address on the device (the MAC address of port 1 or 1/1/1) as the MAC address for all ports within all virtual interfaces you configure on the device.

Enter commands similar to the following to add a virtual interface to a VLAN and configure an IP address on the interface.

device(config)# vlan 2 name IP-Subnet_10.1.2.1/24
device(config-vlan-2)# untag 1/1/1 to 1/1/4
device(config-vlan-2)# router-interface ve1
device(config-vlan-2)# interface ve1
device(config-vif-1)# ip address 10.1.2.1/24

The first two commands in this example create a Layer 3 protocol-based VLAN named "IP-Subnet_10.1.2.1/24" and add a range of untagged ports to the VLAN. The router-interface command creates virtual interface 1 as the routing interface for the VLAN. The last two commands change to the interface configuration level for the virtual interface and assign an IP address to the interface.