Re: [vpp-dev] #vpp Switching exercise task - VPP progressive tutorial

2018-03-14 Thread Hamid via Lists.Fd.Io
Here are my bridge-domain details:

vagrant@localhost:~$ sudo vppctl -s /run/vpp/cli-vpp1.sock show bridge-domain 1 
detail
  BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd  UU-Flood  Flooding  
ARP-Term  BVI-Intf
    1       1      0     off        on        on        on        on       off  
     N/A
 
           Interface           If-idx ISN  SHG  BVI  TxFlood        
VLAN-Tag-Rewrite
         host-vpp1out            1     3    0    -      *                 none
         host-vpp1vpp2           2     3    0    -      *                 none

vagrant@localhost:~$ sudo vppctl -s /run/vpp/cli-vpp2.sock show bridge-domain 1 
detailssudo vppctl -s /run/vpp/cli-vpp2.sock show bridge-domain 1 detail
  BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd  UU-Flood  Flooding  
ARP-Term  BVI-Intf
    1       1      0     off        on        on        on        on       off  
    loop0
 
           Interface           If-idx ISN  SHG  BVI  TxFlood        
VLAN-Tag-Rewrite
             loop0               2     1    0    *      *                 none
         host-vpp2vpp1           1     1    0    -      *                 none

And here are the l2fib for vpp1 and vpp2. These seem different than the ones in 
tutorial:

vagrant@localhost:~$ sudo vppctl -s /run/vpp/cli-vpp1.sock show l2fib verbose
    Mac-Address     BD-Idx If-Idx BSN-ISN Age(min) static filter bvi         
Interface-Name   
 5e:87:5a:55:e1:50    1      1      0/3      -       -      -     -           
host-vpp1out    
L2FIB total/learned entries: 1/1  Last scan time: 8.9449e-4sec  Learn limit: 
4194304

vagrant@localhost:~$ sudo vppctl -s /run/vpp/cli-vpp2.sock show l2fib verbose
    Mac-Address     BD-Idx If-Idx BSN-ISN Age(min) static filter bvi         
Interface-Name   
 de:ad:00:00:00:00    1      2      0/0      -       *      -     *             
  loop0       
L2FIB total/learned entries: 1/0  Last scan time: 0.e0sec  Learn limit: 
4194304

Can anyone guide, starting with why I am not able to ping the loopback 
interface?


Re: [vpp-dev] #vpp Switching exercise task - VPP progressive tutorial

2018-03-12 Thread Hamid via Lists.Fd.Io
Hi Burt,

I don't know much about the modules yet. But thanks for trying it out. There 
were no bridge-domain listed (domain 0 is present in the tutorial) so I had to 
view the reference on how to create one.
The tutorial might be a bit old but its Wiki page has been updated a few times 
recently so I thought I could get the implementation details.

Hamid.


Re: [vpp-dev] #vpp Switching exercise task - VPP progressive tutorial

2018-03-12 Thread Burt Silverman
You have progressed further than I have, Hamid; I am wondering why
vpp_api_test_plugins are able to be loaded early in the tutorial; I guess
that is from 2016, or I don't know what is wrong with my plugins in the
install tree. I mean, their source code does not have VLIB_PLUGIN_REGISTER
like the non test plugins. Anybody can explain it?

Burt

On Mon, Mar 12, 2018 at 2:40 AM, Hamid via Lists.Fd.Io <
14mseesrasool=seecs.edu...@lists.fd.io> wrote:

> Hi,
>
> I am having some issues with the switching exercise of the VPP
> progressive tutorial
> . I have created
> the veth interface between vpp1 and vpp2 the same way it was created
> between vpp1 and host. I also had to create bridge-domain 1 to get the
> output as shown. The problem I am facing is that I cannot get the host, or
> even vpp2 CLI to ping the loop0 interface 10.10.1.2.
>
> Please assist in the matter.
>
> Regards,
> Hamid
> 
>
>


[vpp-dev] #vpp Switching exercise task - VPP progressive tutorial

2018-03-11 Thread Hamid via Lists.Fd.Io
Hi,

I am having some issues with the switching exercise of the VPP progressive 
tutorial ( https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial ). I have 
created the veth interface between vpp1 and vpp2 the same way it was created 
between vpp1 and host. I also had to create bridge-domain 1 to get the output 
as shown. The problem I am facing is that I cannot get the host, or even vpp2 
CLI to ping the loop0 interface 10.10.1.2.

Please assist in the matter.

Regards,
Hamid