Assigning an IPv4 Address to an Ethernet Port

Ethernet ports can be assigned an IPv4 address using this procedure.

Note: All physical IP interfaces on RUCKUS ICX Layer 3 devices share the same MAC address. For this reason, if more than one connection is made between two devices, one of which is a RUCKUS ICX Layer 3 device, RUCKUS recommends the use of virtual interfaces. It is not recommended to connect two or more physical IP interfaces between two routers.
  1. Enter global configuration mode.
    device# configure terminal
  2. Enter interface configuration mode and specify an Ethernet interface.
    device(config)# interface ethernet 1/1/1
  3. Assign an IP address to Ethernet port 1/1/1.
    device(config-if-e10000-1/1/1)# ip address 10.45.6.1 255.255.255.0
  4. Assign a second IP address to Ethernet port 1/1/1 using CIDR.
    device(config-if-e10000-1/1/1)# ip address 10.45.6.2/24 secondary
  5. Enter the show ip interface command to display IP interface information.
    device(config-if-e10000-1/1/1)# show ip interface
    
    Interface         IP-Address      OK?  Method    Status            Protocol
    Ethernet 1/1/1    10.95.6.173     YES  NVRAM     up                up
    Ethernet 1/1/2    10.3.3.3        YES  manual    up                up
    Loopback 1        10.2.3.4        YES  NVRAM     down              down

The following example assigns IP addresses to an Ethernet interface.

device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-e10000-1/1/1)# ip address 10.45.6.1 255.255.255.0
device(config-if-e10000-1/1/1)# ip address 10.45.6.2/24 secondary