Community discussions

MikroTik App
 
ERNEST
just joined
Topic Author
Posts: 13
Joined: Sun Dec 06, 2009 12:08 pm

Mikrotik to Cisco Gre tunnel and PPC load balancing

Thu Jan 14, 2010 8:48 pm

I want to make GRE tunnel between Cisco and mikrotik. On mikrotik i have 2 ISP. I make PCC load balancing and it works just fine. when i take a look in IP FI CONNECTIONS i see that the ip-encap tunnel to the cisco router have Public2 connection mark, but it should go trohgh Public. when i stop the rules in IP FIREWALL MANGLE that marks the connections and packets to the different ISP the tunnel works fine and i have ping, traceroute etc... After enabeling the rules everything stops!
How can i make the router to use only Public Interface to make the GRE tunnel?
edit: in Interface IPIP a have set my ip of the first ISP 83.228.X.X
You do not have the required permissions to view the files attached to this post.
Last edited by ERNEST on Thu Jan 14, 2010 9:02 pm, edited 1 time in total.
 
netrat
Member
Member
Posts: 402
Joined: Thu Jun 07, 2007 1:16 pm
Location: Virginia

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Thu Jan 14, 2010 8:49 pm

You can't make plain gre tunnels with RouterOS. :(

You can make a PPTP tunnel or IPsec though.
 
ERNEST
just joined
Topic Author
Posts: 13
Joined: Sun Dec 06, 2009 12:08 pm

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Thu Jan 14, 2010 8:59 pm

colleagues from the office opposite only want it, L2TP or PPTP are not currently an option
 
ERNEST
just joined
Topic Author
Posts: 13
Joined: Sun Dec 06, 2009 12:08 pm

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Fri Jan 15, 2010 9:35 am

Can someone help
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8716
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Fri Jan 15, 2010 10:44 am

You can't make plain gre tunnels with RouterOS
 
ERNEST
just joined
Topic Author
Posts: 13
Joined: Sun Dec 06, 2009 12:08 pm

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Fri Jan 15, 2010 10:45 am

like IPIP tunnel?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8716
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Fri Jan 15, 2010 11:11 am

IPIP - yes
/interface ipip add
 
ERNEST
just joined
Topic Author
Posts: 13
Joined: Sun Dec 06, 2009 12:08 pm

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Fri Jan 15, 2010 1:42 pm

thast what i'm trying to do. but no result. the connection to the cisco is market as Public2 connection / in firewall Connection - Conn Mark / but it should bi only public conn.
how can i make some ip-addresses to go trought only one ISP, and not getting hit by PCC
 #     NAME                                                                           MTU   LOCAL-ADDRESS   REMOTE-ADDRESS 
 0  R  IP-IP                                                                            1400  83.228.X.X   84.242.X.X
the connection goes trought the 10.81.12.101
Sorry for my bad english.!
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8716
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Fri Jan 15, 2010 4:22 pm

so mark it as public in output chain before it gets marked as Public2
 
ERNEST
just joined
Topic Author
Posts: 13
Joined: Sun Dec 06, 2009 12:08 pm

Re: Mikrotik to Cisco Gre tunnel and PPC load balancing

Fri Jan 15, 2010 5:38 pm

Connection is not marked at the beginning?
 0   ;;; Mark Incoming (to router itself) connections so their reply packets get routed to the interface the connections c>
    in
     chain=input action=mark-connection new-connection-mark=Public_conn passthrough=yes connection-state=new 
     in-interface=ADSL 

 1   chain=input action=mark-connection new-connection-mark=Public2_conn passthrough=yes connection-state=new 
     in-interface=Public2