Hi Pierre
    Thanks for your reply.
    For example, i have one interface called Ethernet0/1/0 which is managed by 
vpp.

    then, we create two gre tunnel interfaces, gre0 and gre1.
    e.g.
    Ethernet0/1/0 has two ip addresses 10.0.1.1/24 and 10.0.2.1/24.
    There are two hosts connect to Ethernet0/1/0, and its ip address is 
10.0.1.2/24 and 10.0.2.2/24
    gre0:  remote ip address 10.0.1.2, local ip address 10.0.1.1
    gre1:  remote ip address 10.0.2.2, local ip address 10.0.2.2
  
    ip address of gre0: 192.168.1.1/24
    ip address of gre1: 192.168.2.1/24
  
    LB configuration:
    lb conf 10.0.2.1
    lb vip 192.168.3.1
    lb as 192.168.3.2, 192.168.3.3, 192.168.3.4


   There question:
    1. which interface the vip should configure to?
    2. Can vip and as belong to two different subnet?

    3.  Is the above configuration right?




在 2017-01-11 21:45:33,"Pierre Pfister (ppfister)" <ppfis...@cisco.com> 写道:





Le 11 janv. 2017 à 14:42, 黄登辉 <denghuihu...@163.com> a écrit :


Yes, I read the doc and maglev, one question , do we need to create two 
interfaces? One is for VIP , the other is for communicating as?



No. It's all encap/decap. So it should work with a single interface.


- Pierre




发自网易邮箱手机版



在2017年01月11日 20:16 ,Pierre Pfister (ppfister)写道:


Hello,


Are you familiar with MagLev ?
Did you take a look at 
https://git.fd.io/vpp/tree/src/plugins/lb/lb_plugin_doc.md ?


Cheers,


- Pierre


Le 11 janv. 2017 à 12:52, 黄登辉 <denghuihu...@163.com> a écrit :


Hi  all
     There is lb plugin available in vpp. I want to test it, could you please 
to tell me how to setup topology for testing?


发自网易邮箱手机版
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev



_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to