User's Manual

Table Of Contents
Arguments.
ip-address
An interface IP address in a dotted-decimal notation.
prefix
An optional network mask length.
netmask An optional network mask in a dotted-decimal notation. If a prefix or
a netmask argument is omitted, the network mask defaults to the usual
class A, B or C, as derived from the IP address.
secondary An optional keyword indicating that a specified IP address should be
added as an alias. LibraPlus supports up to 16 secondary addresses per
interface.
Example 4.40. Setting an IP address
You can set a new address 192.168.0.1 with a netmask 255.255.255.0 using any of the three
following commands:
EION: interface FastEthernet 1 ip address 192.168.0.1
Device 'FastEthernet 1' address 192.168.0.1 netmask 255.255.255.0.
EION: interface FastEthernet 1 ip address 192.168.0.1/24
Device 'FastEthernet 1' address 192.168.0.1 netmask 255.255.255.0.
EION: interface FastEthernet 1 ip address 192.168.0.1 255.255.255.0
Device 'FastEthernet 1' address 192.168.0.1 netmask 255.255.255.0.
Example 4.41. Adding secondary IP addresses
EION: interface Wireless 0 ip address 10.0.0.1
Device 'Wireless 0' address 10.0.0.1 netmask 255.0.0.0.
EION: interface Wireless 0 ip address 192.168.1.0/24 secondary
Secondary IP 192.168.1.0 netmask 255.255.255.0 was added.
EION: show interfaces
Wireless 0 is up
Hardware address: 0002.6f23.138c
Internet address: 10.0.0.1 mask 255.0.0.0
broadcast: 10.255.255.255, MTU: 1500
Secondary address: 192.168.1.0 255.255.255.0
Type: station, SSID: "test", Mode: 802.11a
Speed: 0 Mb/s (auto), Access point: Not associated
Channel: 56, Frequency: 5280 MHz, Tx-power: 27 dBm
RTS: off, Distance: 300, WDS: off, FastFrame: on
Burst: on, Compression: off, WMM: on, Beacon: 0
Antenna: auto, IEEE 802.11a Protection: none
FastEthernet 0 is up
Hardware address: 0003.42df.32ac
Internet address: 192.168.0.5 mask 255.255.255.0
broadcast: 192.168.0.255, MTU: 1500
71
Configuration