abo nassar
تعاليق : الجنس : الابراج : الأبراج الصينية : عدد المساهمات : 827 نقاط : 3116 السٌّمعَة : 24 تاريخ التسجيل : 10/08/2011 العمر : 36 الموقع : https://elsinbad.mam9.com العمل/الترفيه : سندباتى المزاج : متغـــير احيانا
| موضوع: رول دمج 3 خطوط غير متسويين بريدج 2+2+4 الأربعاء أغسطس 20, 2014 2:01 am | |
| رول دمج 3 خطوط غير متسويين بريدج 2+2+4 رول دمج 3 خطوط غير متسويين بريدج 2+2+4 رول دمج 3 خطوط غير متسويين بريدج 2+2+4 رول دمج 3 خطوط غير متسويين بريدج 2+2+4 رول دمج 3 خطوط غير متسويين بريدج 2+2+4 رول دمج 3 خطوط غير متسويين بريدج 2+2+4 الكود pcc - الكود:
-
/interface ethernet set 0 name=in1 set 1 name=in2 set 2 name=in3 set 3 name=out
/interface pppoe-client add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \ dial-on-demand=no disabled=no interface=in1 max-mru=1480 max-mtu=1480 \ mrru=disabled name=pppoe-out1 password=pass profile=default \ service-name="" use-peer-dns=no user=user add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \ dial-on-demand=no disabled=no interface=in2 max-mru=1480 max-mtu=1480 \ mrru=disabled name=pppoe-out2 password=pass profile=default \ service-name="" use-peer-dns=no user=user add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \ dial-on-demand=no disabled=no interface=in3 max-mru=1480 max-mtu=1480 \ mrru=disabled name=pppoe-out3 password=pass profile=default \ service-name="" use-peer-dns=no user=user /ip address add address=10.5.50.2/24 disabled=no interface=out network=10.5.50.0
/ ip firewall mangle add chain=input in-interface=in1 action=mark-connection hotspot=auth new-connection-mark=in1_conn add chain=input in-interface=in2 action=mark-connection hotspot=auth new-connection-mark=in2_conn add chain=input in-interface=in3 action=mark-connection hotspot=auth new-connection-mark=in3_conn add chain=output connection-mark=in1_conn action=mark-routing hotspot=auth new-routing-mark=in1 add chain=output connection-mark=in2_conn action=mark-routing hotspot=auth new-routing-mark=in2 add chain=output connection-mark=in3_conn action=mark-routing hotspot=auth new-routing-mark=in3 add chain=prerouting dst-address-type=!local in-interface=out per-connection-classifier=both-addresses-and-ports:4/0 action=mark-connection hotspot=auth new-connection-mark=in1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=out per-connection-classifier=both-addresses-and-ports:4/1 action=mark-connection hotspot=auth new-connection-mark=in2_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=out per-connection-classifier=both-addresses-and-ports:4/2 action=mark-connection hotspot=auth new-connection-mark=in3_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=out per-connection-classifier=both-addresses-and-ports:4/3 action=mark-connection hotspot=auth new-connection-mark=in1_conn passthrough=yes add chain=prerouting connection-mark=in1_conn in-interface=out action=mark-routing hotspot=auth new-routing-mark=in1 add chain=prerouting connection-mark=in2_conn in-interface=out action=mark-routing hotspot=auth new-routing-mark=in2 add chain=prerouting connection-mark=in3_conn in-interface=out action=mark-routing hotspot=auth new-routing-mark=in3 /ip firewall nat add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \ disabled=yes add action=masquerade chain=srcnat disabled=no out-interface=in1 add action=masquerade chain=srcnat disabled=no out-interface=in2 add action=masquerade chain=srcnat disabled=no out-interface=in3
/ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\ pppoe-out1 routing-mark=in1 scope=30 target-scope=10 add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\ pppoe-out2 routing-mark=in2 scope=30 target-scope=10 add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\ pppoe-out3 routing-mark=in3 scope=30 target-scope=10 add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\ pppoe-out1 scope=30 target-scope=10 add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=\ pppoe-out2 scope=30 target-scope=10 add check-gateway=ping disabled=no distance=3 dst-address=0.0.0.0/0 gateway=\ pppoe-out3 scope=30 target-scope=10
/ip dns set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4
| |
|