hardus
February 22, 2013, 12:36pm
1
Hi,
What I want is NOT load balancing, thats all I can get info on thats related to my issue.
Normally I would have used 2 routers + and ADSL modem to accomplish this, I would like to replace all this with my one mikrotik and 1 adsl modem.
I want to have 2 Sperate WAN (PPOE) Connections and 2 LAN Connections:
LAN1 192.168.88.0/24 Gets internet from WAN1
LAN2 192.168.10.0/24 Gets internet from WAN2
PPOE goes through port 1 on the mikrotik.
LAN1 Uses Port 2
LAN2 Uses Port 3
Someone told me to use route marking, but im not exactly sure to do this.
Thanks in advance.
Are the WAN ips static or dhcp issued?
hardus
February 23, 2013, 6:08am
3
The WAN’s is 2 PPPoE Connections, they get all their information automatically from the ISP. DHCP yes, Teh LAN’s I will also run on DHCP, 2 seperate ones.
I have managed to create the 2 PPPoE Connections and 2 LANS, just connecting them together is the probelm, to tell LAN 1 to use WAN1, etc.
I haven’t tried this with dhcp, but it worked with static ips.
/ip route
add gateway=WAN1 src-address=192.168.88.0/24
add gateway=WAN2
Change WAN1 and WAN2 to the appropriate interface names. This should route the 192.168.88.0/24 net out WAN1, and everything else out WAN2.