Community discussions

MikroTik App
 
rajput88
just joined
Topic Author
Posts: 8
Joined: Thu Dec 28, 2017 5:13 pm

2 wan connection with 1 lan pppoe and dhcp

Sat Sep 08, 2018 8:00 pm

I tried to search the solution for this situation but didn't find one.
i have a 2 wan connection for example
wan 1 an ip 1.1.1.1/24
wan 2 have pppoe 2.2.2.2/24
and 1 lan have 10.10.10.1/24 dhcp-server, and pppoe server with different pool 12.12.12.2-12.12.12.254
how i config LAN dhcp-server traffic goes through wan 1 with a specific network 10.10.10.1/24 and wan 2 traffic goes through specific pppoe-server pool 12.12.12.2-12.12.12.254 (or specific network)
notice that there have no concern with both 10.10.10.1 and 12.12.12.2-12.12.12.254(or specific network) if wan 1 goes down then no effect to the other hand pppoe-server and only dhcp-server effected by wan 1 and pppoe-server effected only when wan2 goes down

i already have dhcp and pppoe-server with 1 LAN via wan 1(dhcp-client) it is working correctly
sorry for my bad english
You do not have the required permissions to view the files attached to this post.
 
rajput88
just joined
Topic Author
Posts: 8
Joined: Thu Dec 28, 2017 5:13 pm

Re: 2 wan connection with 1 lan pppoe and dhcp

Sun Sep 09, 2018 2:45 pm

ohk let me tell you with my knowledge i try to config this with mangle marking route but when i enable the address(or interface) of wan2 internet will extremely slow down that disturb DHCP-server
here is rule
chain=prerouting action=mark-routing new-routing-mark=BIRDGE1TOWAN passthrough=yes src-address=("pppoe-pool") log=no log-prefix="" 

  chain=prerouting action=mark-routing new-routing-mark=LANTOFIBBER passthrough=yes src-address=("LAn-network")  log=no log-prefix=""
there have no bridge just for writing
i have also fast track dummy rule in mangle

Who is online

Users browsing this forum: No registered users and 108 guests