Jump to content
Калькуляторы

Проблема с 2 wwan

Подскажите почему не получается организовать выход абонентов с двух провайдеров ? (isp2 82.194.x.x выходить со второго провайдера)
Делаю через ip firewall mangle пакетов  с меткой но траф не льется

 

/ip address
add address=10.100.100.1/29 interface=sfp4-BILL network=10.100.100.0
add address=185.233.x.x/29 interface=UPLINK_3124 network=185.233.x.x

add address=82.194.16.114/28 interface=82.194.x.x \
    network=82.194.16.112

/ip firewall address-list

add address=82.194.x.x-82.194.x.x list=another_ISP2
add address=100.64.0.0/10 list=Main_adr_list

/ip firewall mangle
add action=mark-routing chain=prerouting comment=Main in-interface=UPLINK_3124 \
    new-routing-mark=MAIN_internet passthrough=yes src-address-list=\
    Main_adr_list
add action=mark-routing chain=prerouting comment="another_ISP2 CHIXISHI" \
    connection-state=new in-interface=82.194.x.x_ISP2909 \
    new-routing-mark=another_ISP2/82.194.x.x passthrough=yes src-address-list=\
    another_ISP2


/ip route
add comment="another_ISP2 default gw" distance=2 gateway=82.194.16.113 \
    routing-mark=another_ISP2/82.194.x.x
add comment="another_ISP2 default gw" disabled=yes distance=10 gateway=\
    82.194.x.x routing-mark=another_ISP2/82.194.x.x
add comment=Main_backup disabled=yes distance=1 gateway=185.233.x.x \
    routing-mark=Main_internet
add distance=1 gateway=185.233.x.x
add distance=1 dst-address=10.10.10.0/24 gateway=*1F
/ip route rule
add action=lookup-only-in-table disabled=yes routing-mark=main table=\
    Main_internet
add action=lookup-only-in-table disabled=yes routing-mark=another_ISP2/82.194.х.х \
    table=another_ISP2/82.194.х.х

 

Edited by shafiev

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.