Dear sir ;
yes now i am using 2.9.27 ,and i am realy thinking to upgrade to 3.6 with level 4 licence .
if you could help to advise me how to manage this with 2.9.27 and how to mange it with 3.x so when i upgrade i will not have to stop the service to clients for long time .
i will write the print command results this day but i am going only to remove the ip .
with best regards .
Hello again ;
here are the information you asked for , i just removed the ISP ip for it
[admin@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 xxx.xxx.xxx.xxx/30 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx iDirect
1 yyy.yyy.yyy.yyy/28 yyy.yyy.yyy.yyy yyy.yyy.yyy.yyy hughes
2 192.168.3.1/24 192.168.3.0 192.168.3.255 lan
3 192.168.4.1/24 192.168.4.0 192.168.4.255 wlan1
4 D 192.168.3.5/32 192.168.3.4 0.0.0.0 <pppoe-zaidtariq>
5 D 192.168.3.3/32 192.168.3.2 0.0.0.0 <pppoe-ahmedali>
6 D 192.168.4.118/32 192.168.4.117 0.0.0.0 <pppoe-mustafaali>
7 D 192.168.4.116/32 192.168.4.115 0.0.0.0 <pppoe-hazimqasim>
8 D 192.168.4.3/32 192.168.4.2 0.0.0.0 <pppoe-waleed>
9 D 192.168.4.104/32 192.168.4.103 0.0.0.0 <pppoe-ahmedbasim>
10 D 192.168.4.9/32 192.168.4.8 0.0.0.0 <pppoe-abuthyaa>
11 D 192.168.4.120/32 192.168.4.119 0.0.0.0 <pppoe-nasernaif>
12 D 192.168.3.102/32 192.168.3.101 0.0.0.0 <pppoe-jinan>
13 D 192.168.4.5/32 192.168.4.4 0.0.0.0 <pppoe-dr.omar>
14 D 192.168.4.106/32 192.168.4.105 0.0.0.0 <pppoe-ahmedjabbar>
xxx.xxx.xxx.xxx the ip from ISP1
yyy.yyy.yyy.yyy the ip from ISP2
i am using two pppoe servers one for lan interface and the second one to wlan interface
for each client i assing two pools , each pool is only one ip , later i'll use this ip's in the simple queue .
[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DIS
0 ADC yyy.yyy.yyy.yyy/28 yyy.yyy.yyy.yyy
1 ADC xxx.xxx.xxx.xxx/30 xxx.xxx.xxx.xxx
2 ADC 192.168.3.2/32 192.168.3.3
3 ADC 192.168.3.4/32 192.168.3.5
4 ADC 192.168.3.101/32 192.168.3.102
5 ADC 192.168.3.0/24 192.168.3.1
6 ADC 192.168.4.2/32 192.168.4.3
7 ADC 192.168.4.4/32 192.168.4.5
8 ADC 192.168.4.8/32 192.168.4.9
9 ADC 192.168.4.103/32 192.168.4.104
10 ADC 192.168.4.105/32 192.168.4.106
11 ADC 192.168.4.115/32 192.168.4.116
12 ADC 192.168.4.117/32 192.168.4.118
13 ADC 192.168.4.119/32 192.168.4.120
14 ADC 192.168.4.0/24 192.168.4.1
15 X S 0.0.0.0/0 r xxx.xxx.xxx.xxx
16 X S 0.0.0.0/0 u yyy.yyy.yyy.yyy
17 A S 0.0.0.0/0 r xxx.xxx.xxx.xxx
you will see that there are two static routes disabled , because i not wish to stop the service to client .
once i enable the two static routes only one terminal work and when i add the GW yyy.yyy.yyy.yyy to the last row in the table which it appear active now , the two terminals start work put the internet stop .
in the table above the route marks not appear .
the row number 15 , with mark route odd
the row number 16 , with mark route even
[admin@MikroTik] > ip firewall filter print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=forward protocol=tcp tcp-flags=syn connection-limit=24,32 action=jump jump-target=drop
1 chain=drop action=drop
as i just installed the server yesterday to another pc machine i only put one rule to limit client connections to internet
later rules will be added
[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 X chain=srcnat src-address=192.168.3.0/24 action=masquerade
1 X chain=srcnat src-address=192.168.4.0/24 action=masquerade
2 chain=srcnat action=masquerade
when i enable the static routes i enable rules 0 & 1 and disable 2
[admin@MikroTik] > ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; wireless odd connection mark
chain=prerouting in-interface=wlan1 connection-state=new nth=1,1,0 action=mark-packet
new-packet-mark=odd passthrough=yes
1 ;;; wireless odd route marking
chain=prerouting in-interface=wlan1 packet-mark=odd action=mark-routing new-routing-mark=odd
passthrough=no
2 ;;; wire odd connection mark
chain=prerouting in-interface=lan connection-state=new nth=1,1,0 action=mark-packet
new-packet-mark=odd passthrough=yes
3 ;;; wire odd route marking
chain=prerouting in-interface=lan packet-mark=odd action=mark-routing new-routing-mark=odd
passthrough=no
4 ;;; wireless even connection mark
chain=prerouting in-interface=wlan1 connection-state=new nth=1,1,1 action=mark-packet
new-packet-mark=even passthrough=yes
5 ;;; wireless even route marking
chain=prerouting in-interface=wlan1 packet-mark=even action=mark-routing new-routing-mark=even
passthrough=no
6 ;;; wire even connection mark
chain=prerouting in-interface=lan connection-state=new nth=1,1,1 action=mark-packet
new-packet-mark=even passthrough=yes
7 ;;; wire even route marking
chain=prerouting in-interface=lan packet-mark=even action=mark-routing new-routing-mark=even
passthrough=no
attached a photo showing the mangle how count the packets
with best regards
You do not have the required permissions to view the files attached to this post.