2. Duplex LAN Configuration
Express5800/R320c-E4, R320c-M4 Maintenance Guide (Linux)
102
Chapter 2 Configuring and Upgrading the System
2.4
Dual Configuration Setup
The following describes the procedure to set dual LAN configuration. The following example is used.
<configuration detail>
Slot number: 5
Network interface name (CPU/IO module 0) : eth100100
Network interface name (CPU/IO module 1) : eth110100
IP address: 192.168.0.101
Subnet mask: 255.255.255.0
Default gateway: 192.168.0.1
Important
•
You must perform this operation as a root user.
•
Stop the running interface with the following command before the setup, then go
to Step 2.
# vndctl down <slot number>
1. Run the following command to construct the network interfaces (eth100100 and eth110100)
corresponding to slot 5 as the bonding interface.
# vndctl add 5
2. Run the following command to configure the network settings (the parts with * are to be specified by a
user) on the bonding interface that has been constructed. For default gateway, you can omit the process
by pressing the <ENTER> key without specifying anything.
# vndctl config 5
[Virtual Network Setting]
*Boot Protocol? [none/dhcp/bootp] none
*IP address? 192.168.0.101
*Netmask? 255.255.255.0
*Default gateway (IP)? 192.168.0.1
*Are you sure to set it? [y/n] y
DEVICE=bond2
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.0.101
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
BONDING_OPTS=”miimon=100 mode=1”
3. Run the following command to activate the bonding interface that has been constructed.
# vndctl up 5