Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
titleHow to perform the same task using CLI commands
Expand
titleCommands list
Code Block
languagetext
themeEmacs
Master's device configuration:
Step 1
ifc eth0 192.168.1.1/24
ifc rf5.0 172.16.0.1/29
Step 2
netstat -r
Step 4
netstat -r

Slave's device configuration:
Step 1
ifc rf5.0  172.16.0.2/29
Step 2
netstat -r
Step 3
route add 192.168.1.0/24 172.16.0.1
Step 3a
route add default 172.16.0.1
Step 4
netstat -r
Step 4a
netstat -r

Routing configuration

...

for the data traffic

...

using a point-to-point scheme

Let's look at the task of performing the routing configuration for the data traffic at the using a PtP scheme (Figure 2). Within For this task, the connectivity between the PC-1 and the PC-2 devices should be organized established using routing, as PC-1 and PC-2 belong to different subnets.

Center

Figure 2 - Scheme of the data traffic routing configuration for the InfiLINK 2x2 , / InfiMAN 2x2 families of devices

Let's look at the step-by-step configuration of the Master and Slave devices using the Web interface:

...

DescriptionAdd the IP addresses to the interfaces of the devices interfaces in accordance with according to the scheme.
Master

Slave

Step 2
DescriptionAnalyze the routing table: after adding IP addresses to the device devices' interfaces, the routing tables were filled up with entries about specifying the directly connected networks (mark C).
Master

Slave

...

Description

Add static routes for the connection between PC-1 and PC-2.

There is no route to towards the PC-2's subnet on the Master device, and no route to towards the PC-1's subnet on the Slave. Let's add these routes.

Master

Slave

...

DescriptionA default route can be configured on the Master and on the Slave devices instead of routes to towards the PC networks of the PCs.
Master

Slave

Step 4
DescriptionAnalyze the routing table: a static entry (mark marked with S) has been added to the Masrer Master's and to the Slave's devices routing tables.
Master

Slave

...

DescriptionIf a default route has been added in step 3a, a corresponding entry (mark marked with S) will be added to the routing tables.
Master

Slave

...

DescriptionThe task has been solved: the connectivity between PC-1 and PC-2 was successfully established. Note , that along with the data traffic routing, the management traffic routing was also organizedconfigured.
Tip
titleThe How to solve the same task solving using the CLI commands
Expand
titleCommands list
Code Block
languagetext
themeEmacs
Master's device configuration:
Step 1
ifc eth0 192.168.1.1/24
ifc rf5.0 172.16.0.1/29
Step 2
netstat -r
Step 3
route add 192.168.2.0/24 172.16.0.2
Step 3a
route add default 172.16.0.2
Step 4
netstat -r
Step 4a
netstat -r

Slave's device configuration:
Step 1
ifc eth0 192.168.2.2/24
ifc rf5.0 172.16.0.2/29
Step 2
netstat -r
Step 3
route add 192.168.1.0/24 172.16.0.1
Step 3a
route add default 172.16.0.1

Step 4
netstat -r
Step 4a
netstat -r

...