Hi guys,
I'm testing routing load balance. There is a question : When I configured 1:2 ,
the actual effect 3:5. My configuration and more info is shown below:
configuration:
ip route add 4.1.1.1/24 via ip4-address 1.1.1.2 interface host-eth0 weight 1
ip route add 4.1.1.1/24 via ip4-address 2.1.1.2 interface host-eth4 weight 2
The actual effect:
4.1.1.0/24
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:22 buckets:8 uRPF:29 to:[0:0]]
[0] [@5]: ipv4 via 2.1.1.2 host-eth4: 000c296db08c2c534a0393540800
[1] [@5]: ipv4 via 2.1.1.2 host-eth4: 000c296db08c2c534a0393540800
[2] [@5]: ipv4 via 2.1.1.2 host-eth4: 000c296db08c2c534a0393540800
[3] [@5]: ipv4 via 2.1.1.2 host-eth4: 000c296db08c2c534a0393540800
[4] [@5]: ipv4 via 2.1.1.2 host-eth4: 000c296db08c2c534a0393540800
[5] [@5]: ipv4 via 1.1.1.2 host-eth0: 000c296db078fc4dd4dad8af0800
[6] [@5]: ipv4 via 1.1.1.2 host-eth0: 000c296db078fc4dd4dad8af0800
[7] [@5]: ipv4 via 1.1.1.2 host-eth0: 000c296db078fc4dd4dad8af0800
How can I make the actual effect the same as my configuration?
Thanks,
Xyxue
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev