Community discussions

MikroTik App
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

2 Lines , how to?

Mon Jun 22, 2009 6:01 pm

i have 2 internet lines , i'd like to get people to have internet from 1st line and other people to the 2nd line
here is my cofiguration
please help

IP address :

# ADDRESS NETWORK BROADCAST INTERFACE

0 ;;; WAN Leased Line Addresses
1.1.1.1/28 1.1.1.x 1.1.1.x SWAN

1 ;;; WAN - ADSL
2.2.2.2/29 2.2.2.1 2.2.2.x SABWAN

2 ;;; LAN Address
192.168.1.2/24 192.168.1.0 192.168.1.255 SLAN

Ip Route
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE IN..

0 A S ;;; Forward to Leased Line Router
0.0.0.0/0 r 1.1.1.1 1 SWAN
1 S ;;; Forward to ADSL Router
0.0.0.0/0 r 2.2.2.2 1 SABWAN


Ip Firewall Nat
0 ;;; Source Akram Test dc
chain=srcnat action=src-nat to-addresses=1.1.1.1
src-address=192.168.1.1

1 ;;; Source Akram
chain=srcnat action=src-nat to-addresses=1.1.1.1
src-address=192.168.1.33


2 ;;; Webproxy enabled
chain=dstnat action=dst-nat to-addresses=192.168.1.2 to-ports=8080
protocol=tcp src-address=192.168.1.0/24 dst-port=80

3 ;;; For ADSL
chain=srcnat action=masquerade out-interface=SABWAN
 
User avatar
Egate
Long time Member
Long time Member
Posts: 555
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: 2 Lines , how to?

Mon Jun 22, 2009 11:13 pm

Go search wiki for PCC setup. Setup works great and sort many problems with it, that normal multi wan had. Only from v 3.24