Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Filter based routing and layer 2 Interface

$
0
0

Hi everyone

Please consider the following scenario:

EX SW is EX 4300, with vlan 100, RVI: vlan.10:   10.10.10.1/24, f1/f2 are access port in vlan 10

H1 10.10.10.10-------- f1  EX SW F3 30.30.30.1-----30.30.30.2 R2
H2 10.10.10.20-------- f2        F4 40.40.40.1-----40.40.40.2

EX 4300
vlan.10 family inet 10.10.10.1/24

set interface f1/1.0 family ethernet-switching vlan-member 10

set interface f2/1.0 family ethernet-switching vlan-member 10

set routing-options static route 50.50.50.0/24  next-hop 30.30.30.2

We want to do following on EX SW

All traffic sourced from 10.10.10.20, destined to 50.50.50.2 should be forwarded via F4 not F3.

We can use Filter base forwarding, my question is if we use that under f2, will it do the trick? I know it will do the trick if applied under vlan.10 but  I am just curious what if we apply under f2.



Thanks and have a nice evening.


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>