Community discussions

MikroTik App
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

combine two ADSL lines

Sat May 08, 2010 12:30 am

Hello , I have Mikrotic 4.9 with hotspot users accounts. Is there a newand effecient way to combine two 10mbps ADSL lines.

I have user with different speeds 256kbps to 2Mbps. I want to add another ADSL to add user with the same LAN network.

I have intel PC with two ethernet card ( I will add another for the second line). TWO ADSL lines each with its modem.
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: combine two ADSL lines

Mon May 10, 2010 12:59 pm

 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: combine two ADSL lines

Mon May 10, 2010 1:41 pm

so it is the same as 3.30 , nothing new

What do you thing about using a dual WAN router like this one http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 2759.l1259

which is more stable?
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: combine two ADSL lines

Mon May 10, 2010 2:01 pm

With RouterOS you can combine all types of balancing, or add exceptions. You have more control.
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: combine two ADSL lines

Mon May 10, 2010 3:09 pm

With RouterOS you can combine all types of balancing, or add exceptions. You have more control.
What I need just to combine two line effectively and easily without complex steps. I know it is cheaper to just buy another ethernet PCI for the computer and have a second WAN. and use a code like this one:
/ip firewall address-list
add list=exempt-from-pcc address=192.168.9.168/32
add list=exempt-from-pcc address=192.168.3.168/32
/ip firewall mangle
add chain=prerouting dst-address-list=exempt-from-pcc action=accept


/ip address
add address=192.168.9.60/24 broadcast=192.168.9.255 comment="" disabled=no interface=wan1 network=192.168.9.0
add address=192.168.3.60/24 broadcast=192.168.3.255 comment="" disabled=no interface=wan2 network=192.168.3.0
add address=192.168.1.168/24 broadcast=192.168.1.255 comment="" disabled=no interface=lan network=192.168.1.0
/ip firewall mangle
add action=mark-connection chain=input comment="" disabled=no in-interface=wan1 new-connection-mark=wan1_conn passthrough=yes    
add action=mark-connection chain=input comment="" disabled=no in-interface=wan2 new-connection-mark=wan2_conn passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=wan1_conn disabled=no new-routing-mark=wan1 passthrough=yes    
add action=mark-routing chain=output comment="" connection-mark=wan2_conn disabled=no new-routing-mark=wan2 passthrough=yes
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=lan new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0  
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=lan new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-routing chain=prerouting comment="" connection-mark=wan1_conn disabled=no in-interface=lan new-routing-mark=wan1 passthrough=yes    
add action=mark-routing chain=prerouting comment="" connection-mark=wan2_conn disabled=no in-interface=lan new-routing-mark=wan2 passthrough=yes
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.9.168 routing-mark=wan1 scope=30 target-scope=10    
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.3.168 routing-mark=wan2 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.9.168 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=192.168.3.168 scope=30 target-scope=10
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan1
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan2
/ip dns set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 
Last edited by namo on Sun Jul 10, 2011 4:51 am, edited 1 time in total.
 
nokia
just joined
Posts: 7
Joined: Tue Feb 15, 2011 11:35 am

Re: combine two ADSL lines

Fri Feb 25, 2011 1:45 am

namo: does it work with pppoe to? i mean 2 inputs are not LAN, are pppoe connection, do i need to change something in these commands?
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: combine two ADSL lines

Fri Feb 25, 2011 10:01 am

namo: does it work with pppoe to? i mean 2 inputs are not LAN, are pppoe connection, do i need to change something in these commands?
This is not my code. It is from Forum so It is better to ask them

Who is online

Users browsing this forum: No registered users and 17 guests