aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ip_pipeline/config/l3fwd.sh
blob: 27740103fd688fe3a0a344cdc8c54b803beb29ff (plain)
1
2
3
4
5
6
7
8
9
################################################################################
# Routing: encap = ethernet, arp = off
################################################################################
p 1 route add default 4 #SINK0
p 1 route add 0.0.0.0 10 port 0 ether a0:b0:c0:d0:e0:f0
p 1 route add 0.64.0.0 10 port 1 ether a1:b1:c1:d1:e1:f1
p 1 route add 0.128.0.0 10 port 2 ether a2:b2:c2:d2:e2:f2
p 1 route add 0.192.0.0 10 port 3 ether a3:b3:c3:d3:e3:f3
p 1 route ls