White Papers

DR Series Best Practice Guide
31
network --create_eth --nwif <eth0,eth2,ethN> --static --ip <ip_address> --netmask <netmask>
network --show
6. Ensure connectivity of DR2 eth2 and eth3 by pinging the gateway using the following command:
network --ping --destination <destination_ip_address> --interface <ethN>
7. Add route from DR2 eth2 to DR1 eth2 and from DR2 eth3 to DR1 eth3 using the following
commands:
network --route --add --network <ip_address> --netmask <mask> --gateway <gateway_ip> --
interface <eth0,eth1,ethN>
network --show --routes
8. Add route from DR1 eth2 to DR2 eth2 and from DR1 eth3 to DR2 eth3 using the following
commands:
network --route --add --network <ip_address> --netmask <mask> --gateway <gateway_ip> --
interface <eth0,eth1,ethN>
network --show --routes
Example
administrator@DR2> network --create_eth --nwif eth2 --static --ip 172.20.21.2 --
netmask 255.255.255.0
administrator@DR2 > network --create_eth --nwif eth3 --static --ip 172.20.23.2 --netmask
255.255.255.0 -restart
administrator@DR2 > network --show
Example
administrator@DR2 >
network --ping --destination 172.20.21.1 --interface eth2
administrator@DR2 > network --ping --destination 172.20.23.1 --interface eth3
Example
administrator@DR2 >
network --route --add --network 172.20.20.2 --netmask 255.255.255.0
--gateway 172.20.21.1 --interface eth2
administrator@DR2 > network --route --add --network 172.20.22.2 --netmask
255.255.255.0 --gateway 172.20.23.1 --interface eth3
administrator@DR2 > network --show --routes
Destination Gateway Mask Interface
172.20.20.0 172.20.21.1 255.255.255.0 eth2
172.20.22.0 172.20.23.1 255.255.255.0 eth3