Pages

Sunday, March 25, 2018

Juniper LACP and MikoTik Bonding



Juniper LACP (Aggregation / Ether Channel)
---------------------------------------------
** We want to use two port ge3 and ge3 for Juniper LACP

set chassis aggregated-devices ethernet device-count 3

set interfaces ge-0/0/3 ether-options 802.3ad ae1
set interfaces ge-0/0/4 ether-options 802.3ad ae1

set interfaces ae1 description AE-Interface-Tayab
set interfaces ae1 aggregated-ether-options lacp active periodic fast
set interfaces ae1 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae1 unit 0 family ethernet-switching vlan members all


MikroTik Bonding
------------------------
Goto Interface and click Bonding

Goto Tab "Bonding" use Slave Ports and use mode 802.3ad






Thursday, March 1, 2018

Juniper Policy Based Routing ( Upload traffic PBR)



* Create a routing Instance "upstream1" and set gateway
set routing-instances upstream1 instance-type forwarding
set routing-instances upstream1 routing-options static route 0.0.0.0/0 qualified-next-hop 10.10.10.1(Upstream1-Gateway)

* Create PBR name "uplink-pbr" and Allow source IP addresses for pbr

set firewall family inet filter uplink-pbr term 30 from source-address 192.168.100.0/24
set firewall family inet filter uplink-pbr term 30 then routing-instance upstream1
set firewall family inet filter uplink-pbr term default then accept


set routing-options rib-groups pbr-group import-rib inet.0
set routing-options rib-groups pbr-group import-rib upstream1.inet.0
set routing-options interface-routes rib-group inet pbr-group


* Apply "uplink-pbr" to Client Gateway Inernface
set interfaces ge-1/0/6 unit 0 description *****Client-01****
set interfaces ge-1/0/6 unit 0 family inet filter input uplink-pbr