Changes

no edit summary
Line 23: Line 23:  
[[File:LAN TO WAN02.jpg|border|class=tlt-border]]
 
[[File:LAN TO WAN02.jpg|border|class=tlt-border]]
   −
<ul>
   
After you clicked '''“Add New”''' new configuration window will pop-up, there you leave as default and press '''“Save”.'''
 
After you clicked '''“Add New”''' new configuration window will pop-up, there you leave as default and press '''“Save”.'''
 
[[File:LAN to WAN04.jpg|border|class=tlt-border|600px]]
 
[[File:LAN to WAN04.jpg|border|class=tlt-border|600px]]
  −
</ul>
      
After saving settings, you will be redirected back to '''Network -> VLAN -> LAN Network''', now you need to open VLAN Network tab in the same window and you will need to:
 
After saving settings, you will be redirected back to '''Network -> VLAN -> LAN Network''', now you need to open VLAN Network tab in the same window and you will need to:
<li>1. Select VLAN mode: Port based</li>
+
<ul>
<li>2. Currently LAN interface:</li>
+
<li>Select VLAN mode: Port based</li>
 +
<li>Currently LAN interface:<br>
 
- Enable wireless access<br>
 
- Enable wireless access<br>
 
- Select your currently LAN interface.<br>
 
- Select your currently LAN interface.<br>
- Turn off LAN port 3 '''(which will be used as WAN port)'''<br>
+
- Turn off LAN port 3 <i>(which will be used as WAN port)</i><br>
- Press “Save”.
+
- Press '''“Save”'''.</li>
<div style="color: red;"> '''Note: Make sure that you are not connected to that LAN port which you going to disable.'''</div>
+
<i> '''Note: Make sure that you are not connected to that LAN port which you going to disable.'''</i>
<li>3. New LAN_WAN interface:</li>
+
<li>New LAN_WAN interface:<br>
 
- Click '''“Add”''' and new row will appear.<br>
 
- Click '''“Add”''' and new row will appear.<br>
 
- Turn off LAN ports 1-2 and leave only LAN port 3 on.<br>
 
- Turn off LAN ports 1-2 and leave only LAN port 3 on.<br>
- Select “lan_wan” in the LAN section and press '''“Save”'''.
+
- Select “lan_wan” in the LAN section and press '''“Save”'''.</li><br>
 
[[File:LAN TO WAN05.jpg|border|class=tlt-border|600px]]
 
[[File:LAN TO WAN05.jpg|border|class=tlt-border|600px]]
 +
</ul>
   −
==='''Using a Static IP'''===
+
===Using a Static IP===
<li>'''Note:''' Just if you want to use a Static IP, see the instructions below.</li>
+
<li style="color: red;">'''Note: Just if you want to use a Static IP, see the instructions below.'''</li>
    
'''Static IP need to be set as router’s WAN IP.'''
 
'''Static IP need to be set as router’s WAN IP.'''
Static IP should be in the same subnet as gateway’s LAN interface. For example: if gateway’s LAN subnet is 192.168.10.1, then router’s WAN IP could be for example '''192.168.10.125'''</div>
+
Static IP should be in the same subnet as gateway’s LAN interface.<br>
 +
For example: if gateway’s LAN subnet is 192.168.10.1, then router’s WAN IP could be for example '''192.168.10.125'''</div>
 
[[File:LAN TO WAN03.jpg|border|class=tlt-border]]
 
[[File:LAN TO WAN03.jpg|border|class=tlt-border]]
   Line 63: Line 63:  
command in SSH:
 
command in SSH:
   −
<li>vi /etc/config/network press latter “i” to be able to edit.</li>
+
<li>vi /etc/config/network press latter '''i''' to be able to edit.</li>
    
Using arrows navigate and find '''config interface 'lan_wan'''' and add two options:  
 
Using arrows navigate and find '''config interface 'lan_wan'''' and add two options:  
 
<li>1. option gateway ‘192.168.10.1’</li>
 
<li>1. option gateway ‘192.168.10.1’</li>
 
<li>2. option dns ‘8.8.8.8’</li>
 
<li>2. option dns ‘8.8.8.8’</li>
 +
<li>option backup '1'</li>
 +
<li>option metric '10'</li>
 
[[File:LAN TO WAN08.jpg|border|class=tlt-border|400px]]<br>
 
[[File:LAN TO WAN08.jpg|border|class=tlt-border|400px]]<br>
   −
Press '''Esc''' and write ''':wq”'''.
+
Press '''Esc''' and write ''':wq'''.
 
After that you will need to restart network service on the router, for this use command:
 
After that you will need to restart network service on the router, for this use command:
 
<li>'''/etc/init.d/network restart'''</li><br>
 
<li>'''/etc/init.d/network restart'''</li><br>
Line 80: Line 82:  
[[File:LAN TO WAN10.jpg|border|class=tlt-border|400px]]<br>
 
[[File:LAN TO WAN10.jpg|border|class=tlt-border|400px]]<br>
   −
If you did the steps in the right way, the your end device should have internet connection according the scheme.<br>
+
==Testing the configuration==
 +
If you did the steps in the right way, your end device should have internet connection according the scheme.<br>
 
[[File:LAN TO WAN00.jpg|border|class=tlt-border]]
 
[[File:LAN TO WAN00.jpg|border|class=tlt-border]]
==Setting a Static WAN IP==
  −
==Testing the configuration==
   
[[Category:{{{name}}} Configuration Examples]]
 
[[Category:{{{name}}} Configuration Examples]]

Navigation menu