10.2.2.2. Static-route setting

Operation Confirmed Version:
 Brocade 5600vRouter Version4.2R1S1
Brocade 5600vRouter allows to set a static route.
For a static route, routing setting is to be made which directly specifies, in configuration, a connected router as a packet-forwarding destination.
This setting allows routing processing when packets forwarded to a different network or host from own one are received.

Note

The default route can be set through the Customer Portal.

Setting a static route having a host (IP address) specified for a destination

Set a static route having a host (IP address) specified for a destination.

Presumed case for sample setting

  • To enable Brocade 5600 vRouter “192.168.1.60” and virtual server “192.168.3.3” to communicate, through static-route setting

Note

Assume that routing settings have been properly made on devices which are present on the route.

Configuration diagram
Fig1

Setting flow in a presumed case

1.Setting destination network address “192.168.3.0/24” and address “192.168.1.50” of the adjacent Brocade 5600vRouter

Command to be entered with CLI

set protocols static route 192.168.3.3/32 next-hop '192.168.1.50'
The configuration after completion of appropriate settings is as follows.
protocols {
       static {
               route 192.168.3.3/32 {
                       next-hop 192.168.1.50
               }
       }
}

Operation check result

The verification result log below allows to recognize that communications forwarded from Brocade 5600vRouter in the verification configuration diagram to virtual server “192.168.3.3” succeeded and thus allows to confirm that the static-route settings have been made properly.
user-admin@FW01# ping 192.168.3.3 -c 5
PING 192.168.3.3 (192.168.3.3) 56(84) bytes of data.
64 bytes from 192.168.3.3: icmp_seq=1 ttl=63 time=1.97 ms
64 bytes from 192.168.3.3: icmp_seq=2 ttl=63 time=1.03 ms
64 bytes from 192.168.3.3: icmp_seq=3 ttl=63 time=1.33 ms
64 bytes from 192.168.3.3: icmp_seq=4 ttl=63 time=0.954 ms
64 bytes from 192.168.3.3: icmp_seq=5 ttl=63 time=1.40 ms

--- 192.168.3.3 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 0.954/1.341/1.972/0.358 ms

Setting a static route having a network address specified for a destination

Set a static route having a network address specified for a destination.

Note

The default route can be set through the Customer Portal.

Presumed case for sample setting

  • To communicate with server “192.168.3.3” under the network of “192.168.3.0”

  • To make settings which allow communications also after future addition of a server to the network of “192.168.3.0/24”

Note

Assume that routing settings have been properly made on devices which are present on the route.

Configuration diagram
Fig1

Setting flow in a presumed case

1.Setting destination network address “192.168.3.0/24” and address “192.168.1.50” of the adjacent Brocade 5600vRouter

Command to be entered with CLI

set protocols static route 192.168.3.0/24 next-hop '192.168.1.50'
The configuration after completion of appropriate settings is as follows.
protocols {
       static {
               route 192.168.3.0/24 {
                       next-hop 192.168.1.50
               }
       }
}

Operation check result

The verification result log below allows to recognize that communications forwarded from Brocade 5600vRouter in the verification configuration diagram to virtual server B “192.168.3.3” and thus allows to confirm that the static-route settings have been made properly.
user-admin@FW01# ping -c 5 192.168.3.3
PING 192.168.3.3 (192.168.3.3) 56(84) bytes of data.
64 bytes from 192.168.3.3: icmp_seq=1 ttl=63 time=4.63 ms
64 bytes from 192.168.3.3: icmp_seq=2 ttl=63 time=2.58 ms
64 bytes from 192.168.3.3: icmp_seq=3 ttl=63 time=2.72 ms
64 bytes from 192.168.3.3: icmp_seq=4 ttl=63 time=2.93 ms
64 bytes from 192.168.3.3: icmp_seq=5 ttl=63 time=2.41 ms

--- 192.168.3.3 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 2.410/3.058/4.635/0.808 ms
[edit]

Setting a static route which shares the same interface between InputIF and OutputIF

Set a static route for which the same interface (dp0s4) is shared between input packets and output packets.

Presumed case for sample setting

  • To set a static route for which the same interface (dp0s4) is shared between input packets and output packets

Configuration diagram
Fig2

Setting flow in a presumed case

1.Setting destination IP address “192.168.3.0/24” and adjacent router (next-hop) “192.168.1.50”

Command to be entered with CLI

set protocols static route 192.168.3.0/24 next-hop '192.168.1.50'
The configuration after completion of appropriate settings is as follows.
protocols {
       static {
               route 192.168.3.0/24 {
                       next-hop 192.168.1.50
               }
       }
}

Operation check result

The verification result log below allows to recognize that communications forwarded from virtual server “192.168.2.12” in the verification configuration diagram to virtual server “192.168.3.3” succeeded and thus allows to confirm that the static-route settings have been made properly.
#From A(192.168.2.12)to B(192.168.3.3)

test@ubu01:~$ traceroute 192.168.3.3
traceroute to 192.168.3.3 (192.168.3.3), 30 hops max, 60 byte packets
 1  192.168.1.60 (192.168.1.60)  5.797 ms  5.766 ms  5.733 ms
 2  192.168.1.50 (192.168.1.50)  8.271 ms  8.276 ms  4.675 ms
 3  192.168.3.3 (192.168.3.3)  12.782 ms  12.760 ms  13.264 ms


#From A(192.168.2.12) to B(192.168.3.3)

test@ubu01:~$ ping 192.168.3.3
PING 192.168.3.3 (192.168.3.3) 56(84) bytes of data.
64 bytes from 192.168.3.3: icmp_seq=1 ttl=63 time=5.11 ms
64 bytes from 192.168.3.3: icmp_seq=2 ttl=63 time=0.973 ms
64 bytes from 192.168.3.3: icmp_seq=3 ttl=63 time=1.08 ms
64 bytes from 192.168.3.3: icmp_seq=4 ttl=63 time=0.986 ms
64 bytes from 192.168.3.3: icmp_seq=5 ttl=63 time=53.7 ms
64 bytes from 192.168.3.3: icmp_seq=6 ttl=63 time=1.29 ms
^C
--- 192.168.3.3 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5006ms
rtt min/avg/max/mdev = 0.973/10.533/53.742/19.379 ms