i have a rb5009 with a particular internet connection,
With my config , the clients connected to the mikotik all have acces to internet without issues , but the mikrotik himself doesn't.
here is the anonymised config
Code: Select all
# may/06/2022 11:27:06 by RouterOS 7.2.2
# model = RB5009UG+S+
/ip address
add address=192.168.16.1/24 interface=br-lan network=192.168.16.0
add address=198.198.198.50 comment="interco private network" interface=ether1 network=198.198.198.51
add address=109.109.109.110 comment="ip pub 1" interface=ether1 network=109.109.109.110
add address=109.109.109.111 comment="ip pub 2" interface=ether1 network=109.109.109.111
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=198.198.198.51 pref-src=109.109.109.110 routing-table=main suppress-hw-offload=no
/ip firewall nat
add action=src-nat chain=srcnat out-interface=ether1 src-address=192.168.0.0/16 to-addresses=109.109.109.110/31
I ping my Gateway fine , and my 2 public IP's are pingable from the wan.
my nat is working fine and my client are all accessing internet without issue ,
the problem is with the pref-src in the /ip route section
when i try to ping 1.1.1.1 from my RB3011
Code: Select all
[root@5009] > ping 1.1.1.1
SEQ HOST SIZE TTL TIME STATUS
0 1.1.1.1 timeout
1 1.1.1.1 timeout
2 1.1.1.1 timeout
Code: Select all
[root@5009] > tool/sniffer/quick ip-address=1.1.1.1
Columns: INTERFACE, TIME, NUM, DIR, SRC-MAC, DST-MAC, SRC-ADDRESS, DST-ADDRESS, PROTOCOL, SIZE, CPU
INTERFACE TIME NUM DIR SRC-MAC DST-MAC SRC-ADDRESS DST-ADDRESS PROTOCOL SIZE CPU
ether1 0.198 1 -> DC:2C:6E:3C:E4:A9 F0:4A:02:F5:43:F4 198.198.198.50 1.1.1.1 ip:icmp 70 1
ether1 1.201 2 -> DC:2C:6E:3C:E4:A9 F0:4A:02:F5:43:F4 198.198.198.50 1.1.1.1 ip:icmp 70 1
ether1 2.202 3 -> DC:2C:6E:3C:E4:A9 F0:4A:02:F5:43:F4 198.198.198.50 1.1.1.1 ip:icmp 70 2
ether1 3.203 4 -> DC:2C:6E:3C:E4:A9 F0:4A:02:F5:43:F4 198.198.198.50 1.1.1.1 ip:icmp 70 2
ether1 4.205 5 -> DC:2C:6E:3C:E4:A9 F0:4A:02:F5:43:F4 198.198.198.50 1.1.1.1 ip:icmp 70 2
do you guy's have any idéa how can i change my source address on that router ?