Brocade iSCSI Gateway Service Administrator's Guide (53-1000603-01, October 2007)

16 iSCSI Gateway Service Administrator’s Guide
53-1000603-01
Configuring the GbE interface
2
Adding static IP routes (optional)
Define static routes to reach the destination IP through a preferred gateway. The gateway must be
on the same subnet as the GbE port. You can specify a maximum of 32 routes per GbE port.
NOTE
The GbE port number <port_number> below is entered geX; where X is from 0 through 7.
For example ge1 (see Figure 8 on page 12).
To add a static route
1. Connect and log in to the switch.
2. Enter the portCfg command as follows:
switch:admin> portcfg iproute 3/ge0 create 0.0.0.0 0.0.0.0 30.0.0.1 1
Operation Succeeded
3. Verify the route as follows:
switch:admin> portshow iproute 3/ge0
Slot: 3 Port: ge0
IP AddressMaskGatewayMetricFlags
------------------------------------------------------------------
0.0.0.0 0.0.0.0 30.0.0.1 1
30.0.0.0 255.255.0.0 30.0.127.30 0 Interface
Verifying the network connection
After you assign the IP address and (optionally) add static routes, use the portCmd command to
ping a remote host. This ensures that data packets can be sent to the remote host over the
(Ethernet) network.
NOTE
The GbE port number <port_number> below is entered geX; where X is from 0 through 7.
For example ge1 (see Figure 8 on page 12).
To ping a remote location
1. Connect and log in to the switch.
2. Enter the portCmd - -ping command with the -s operand, where the slot and port numbers are
the configured GbE interface:
switch:admin> portcmd -ping 3/ge0 -s 30.0.127.30 -d 30.0.0.1
Pinging 30.0.0.1 from ip interface 30.0.127.30 on 3/ge0 with 64 bytes of data
Reply from 30.0.0.1: bytes=64 rtt=0ms ttl=255
Reply from 30.0.0.1: bytes=64 rtt=0ms ttl=255
Reply from 30.0.0.1: bytes=64 rtt=0ms ttl=255
Reply from 30.0.0.1: bytes=64 rtt=0ms ttl=255
Ping Statistics for 30.0.0.1:
Packets: Sent = 4, Received = 4, Loss = 0 ( 0 percent loss)
Min RTT = 0ms, Max RTT = 0ms Average = 0ms