Changes

no edit summary
Line 98: Line 98:  
In order to test if the configuration if it's working we will use TCP Dump, TCP Dump will let us capture traffic that goes through each interface of the device.
 
In order to test if the configuration if it's working we will use TCP Dump, TCP Dump will let us capture traffic that goes through each interface of the device.
   −
===Installing TCP Dump on RUT2===
+
===Installing TCP Dump on RUT===
    
Firstly, you will need to connect to the '''RUT''' device's '''CLI/SSH'''. You can connect the '''RUT''' device CLI via WebUI by navigating to '''Services → CLI'''. Log in to '''CLI''' with the user name '''root''' and the router's admin password.
 
Firstly, you will need to connect to the '''RUT''' device's '''CLI/SSH'''. You can connect the '''RUT''' device CLI via WebUI by navigating to '''Services → CLI'''. Log in to '''CLI''' with the user name '''root''' and the router's admin password.
Line 115: Line 115:     
----
 
----
 +
 +
===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.
 +
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).
 +
In the first instance, we will let the ping command which will send ICMP requests to '''8.8.8.8''' from '''192.168.3.1(VLAN IP)'''. The command for this will be used: '''''ping -I 192.168.3.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'''''