Community discussions

MikroTik App
 
User avatar
patagonia
newbie
Topic Author
Posts: 27
Joined: Mon Jul 24, 2006 8:22 pm
Location: Rawson - Chubut

2 gateway - http traffics for one and antother traffic to 2g

Mon Jul 24, 2006 9:20 pm

Hi, i want to route the http traffics to the gateway 1 ans another traffics to the other gateway (2). The question is how to mangle that traffics with mark-packet, mark-connection, or mark routing ?

______________MIKROTIK____________NETWORKS________ROUTER
LAN local-------192.168.1.2/24---------192.168.1.200~254
LAN Wifi----------10.0.0.2/24------------10.0.0.200~254
WAN1-----------192.168.11.2/24-----------------------------192.168.11.1/24
WAN2-----------192.168.10.2/24-----------------------------192.168.10.1/24

i have dhcp in the rango 200~254 in both lan.
i try to read the manual, but my englesh is too bad :cry:
thanks......
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Jul 25, 2006 8:38 am

To mark http traffic from the users,
ip firewall mangle add chain=prerouting src-address=client_subnet_network_address dst-port=80 protocol=tcp action=mark-routing new-routing-mark=HTTP
Set routing-mark to alternative route entry.
 
User avatar
patagonia
newbie
Topic Author
Posts: 27
Joined: Mon Jul 24, 2006 8:22 pm
Location: Rawson - Chubut

Tue Jul 25, 2006 6:37 pm

Thanks !! Serjegs, but i don`t know how to route this traffics for only one internet connection. Really i have 2 connection to internet using pppoe client in ether2 and ether3, and now i route all the traffic to ether2. Just want to separate de http traffic to ether3.

Thanks..
 
jo2jo
Forum Guru
Forum Guru
Posts: 1007
Joined: Fri May 26, 2006 1:25 am

Wed Jul 26, 2006 7:32 am

look into:

ip> routes and filter using a packet mark

Who is online

Users browsing this forum: coreywithne, yhfung and 29 guests