Changes

no edit summary
Line 1: Line 1:  
==Introduction==
 
==Introduction==
 +
 +
<span style="color: red;">The information on this page is updated in accordance with firmware version <span style="color: #0054A6;"><b>00.07.02.7</b></span>.</span>
    
In this example, we will examine Load Balancing rules and policies and we will set up rules where all traffic from one LAN port will be going through the Mobile interface and all the traffic from the second port will be going through the Wireless WAN/Wired WAN or the Second Sim card (if used with RUTX12).
 
In this example, we will examine Load Balancing rules and policies and we will set up rules where all traffic from one LAN port will be going through the Mobile interface and all the traffic from the second port will be going through the Wireless WAN/Wired WAN or the Second Sim card (if used with RUTX12).
Line 32: Line 34:  
===Topology===
 
===Topology===
   −
Placeholder
+
[[File:Networking rutxxx configuration examples load balancing topology v1.png|border|class=tlt-border|1100px]]
    
==Configurating RUTX12 device==
 
==Configurating RUTX12 device==
Line 85: Line 87:  
===LAN1 configuration===
 
===LAN1 configuration===
   −
[[File:Networking rut configuration mwan new policy rut2 wwan v3.jpg|border|class=tlt-border|1100px]]
+
[[File:Networking rut configuration mwan new policy rut2 wwan v4.jpg|border|class=tlt-border|1100px]]
    
* '''Source address''' - input your '''LAN''' network address in this example '''192.168.1.0/24'''
 
* '''Source address''' - input your '''LAN''' network address in this example '''192.168.1.0/24'''
Line 119: Line 121:  
===Testing the configuration via TCPDUMP===
 
===Testing the configuration via TCPDUMP===
   −
The simplest way to test the configuration via '''tcpdump''' would be to use two commands from the same device. The first one would be ping to google DNS (from 192.168.1.1 and 192.168.3.1 IPs) and the other would be to '''tcpdump''' the correct interface. I will be using the setup of '''Configurating Device with one modem''' for this example, the '''RUTX12''' testing is almost identical.
+
The simplest way to test the configuration via '''tcpdump''' would be to use two commands from the same device. The first one would be ping to google DNS (from 192.168.1.1 and 192.168.3.1 IPs) and the other would be to '''tcpdump''' the correct interface. I will be using the setup of '''Configurating RUTX12 device''' for this example, testing devices with one modem is almost identical.
    
We will do this by opening two instances of your device's '''CLI/SSH''', to access it, login to one of the routers' WebUI and navigate to '''Services → CLI'''. Log in to CLI with the user name '''root''' and the router's admin password (Open two instances of CLI).
 
We will do this by opening two instances of your device's '''CLI/SSH''', to access it, login to one of the routers' WebUI and navigate to '''Services → CLI'''. Log in to CLI with the user name '''root''' and the router's admin password (Open two instances of CLI).
Line 125: Line 127:  
In the first instance, we will let the ping command which will send ICMP requests to '''8.8.8.8''' from '''192.168.1.1(LAN IP)'''. The command for this will be used: '''''ping -I 192.168.1.1 8.8.8.8'''''
 
In the first instance, we will let the ping command which will send ICMP requests to '''8.8.8.8''' from '''192.168.1.1(LAN IP)'''. The command for this will be used: '''''ping -I 192.168.1.1 8.8.8.8'''''
   −
On the second instance, we will run TCPDUMP on interface '''wlan0''' to capture if packets are coming through '''WiFi WAN'''. The command for this will be used: '''''tcpdump -i wlan0 -n'''''
+
On the second instance, we will run TCPDUMP on interface '''wwan0''' to capture if packets are coming through '''Mobile WAN'''. The command for this will be used: '''''tcpdump -i wwan0 icmp -n'''''  
 +
We will also only look at ICMP requests since the Mobile will have a lot of different packets coming in and out.
 
----
 
----
 
====Output of Ping command====
 
====Output of Ping command====
Line 131: Line 134:     
====Output of TCPDUMP command====
 
====Output of TCPDUMP command====
[[File:Networking rut configuration mwan tcpdump v1.jpg|border|class=tlt-border|1100px]]
+
[[File:Networking rut configuration mwan tcpdump v2.jpg|border|class=tlt-border|1100px]]
    
----
 
----
   −
After that test the '''192.168.3.1''' interface and if its traffic goes through the '''SIM1''' interface then the configuration is working.
+
You should see in the '''tcpdump''' output that we have ICMP requests going out of the '''WWAN0''' interface, this means that the configuration is working, and '''192.168.1.1/24''' interface traffic goes through the correct interface, you should also test this on another SIM card(interface).
 +
You can also stop the ping on your device and you should see that '''ICMP''' requests stop appearing in the '''tcpdump''' output.
 +
[[Category:Router control and monitoring]]

Navigation menu