Hi, I have a problem with my microtik RB750Gr3- RouterOS: 6.40.9 (bugfix)
I have 1 LAN (with IP : 192.168.10.0/24 - Interface: ethernet 1) and 2 WAN ( with Dynamic ip 181.45.x.x - interface: ethernet 4 and 181.47.x.x - interface:ethernet 4, I configured both with the DHCP Client)
In the IP route configuration:
Dst. Address: 0.0.0.0/0 gateway: 181.47.X.X
Dst Address: 0.0.0.0/0 gateway:181.45.X.X (In blue)
In firewall-Nat configuration:
*Chain: srcnat - Out interface:Ethernet 3 - Action:Mascarade
*Chain: Srcnat - Out interface:Ethernet 4 - Action:Mascarade
the problem Is that I want the gateway 181.45.X.X for the IP 192.168.10.205
But when I created the Route, the server lost the internet connection
Also I can´t ping out with the interface with the 181.45.X.X IP
Bit confusing…
"I have 1 LAN (with IP : 192.168.10.0/24 - Interface: ethernet 1) and 2 WAN ( with Dynamic ip 181.45.x.x - interface: ethernet 4 and 181.47.x.x - interface:ethernet 4 , I configured both with the DHCP Client) "
Assuming you probably meant eth3 and eth4…
Try this,
Make sure its the first route rule…
/ip route add routing-mark=forceIP gateway=181.45.X.X
/ip route rule add src-address=192.168.10.205 action=lookup-only-in-table table=forceIP
Hi, thank you for the answers,
Tomorrow I will try to configure the 2 rules Anav
And yes I mean ethernet 3 and ethernet 4
another things that confused me was that I can Ping out of my network(google for example) from ehternet 3, but I can´t from ethernet 4
Hi, I did the setup, but it isn’t work
How I post the configuration?
The problem could it be that The ethernet 4 is inactive? because the IP route is in blue and I can’t Ping Out from the interface
When I disconnect the cable from thernet 3 The IP route is active and I can ping out fro ethernet 4
Follow the hint in my automatic signature, you can add file=somename to the /export hide-sensitive to export the configuration to a file called somename.rsc rather than to screen. When posting, either switch to the Attachments tab under the text editing field to attach the file, or place the contents as text between [code] and [/code] tags to the body of the post.
You go to winbox go to terminal
type in /export hide-sensitive file=anynameyouwish
you will see the file created in files.
Then right click it and download it to your desktop
Then use notepadd++ to open remove your WANIP and WAN gateway if showing.
Then post here in the thread once pasted, then highlight it with the code tags above (to the right of the B I U for example)
Its the black square with white brackets