Changes

no edit summary
Line 125: Line 125:  
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 132:     
====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.