Re: [vpp-dev] VPP crashes using bvi interface

2019-05-29 Thread Uzzam Javed

Yes we need the bvi part for routing.Following is journalctl -xe when vpp crashes:May 24 05:51:57 localhost.localdomain sudo[40264]: pam_unix(sudo:session): session opened for user root by root(uid=0)May 24 05:51:57 localhost.localdomain sudo[40264]: pam_unix(sudo:session): session closed for user rootMay 24 05:53:32 localhost.localdomain vnet[40086]: /root/vpp/src/vlib/log.c:153 (vlib_log) assertion `vlib_get_thread_index () == 0' failsMay 24 05:53:32 localhost.localdomain vnet[40086]: received signal SIGABRT, PC 0x7f6db850d207May 24 05:53:32 localhost.localdomain vnet[40086]: #0 0x7f6db9ec4fc2 unix_signal_handler + 0x24cMay 24 05:53:32 localhost.localdomain vnet[40086]: #1 0x7f6db97bb5d0 0x7f6db97bb5d0May 24 05:53:32 localhost.localdomain vnet[40086]: #2 0x7f6db850d207 gsignal + 0x37May 24 05:53:32 localhost.localdomain vnet[40086]: #3 0x7f6db850e8f8 abort + 0x148May 24 05:53:32 localhost.localdomain vnet[40086]: #4 0x00407811 vhost_user_unmap_all + 0x0May 24 05:53:32 localhost.localdomain vnet[40086]: #5 0x7f6db92b823f debugger + 0x1cMay 24 05:53:32 localhost.localdomain vnet[40086]: #6 0x7f6db92b867a _clib_error + 0x2d2May 24 05:53:32 localhost.localdomain vnet[40086]: #7 0x7f6db9e56287 vlib_log + 0x2ceMay 24 05:53:32 localhost.localdomain vnet[40086]: #8 0x7f6d73300f5e snat_det_in2out_node_fn + 0x170fMay 24 05:53:32 localhost.localdomain vnet[40086]: #9 0x7f6db9e67122 dispatch_node + 0x2b8May 24 05:53:32 localhost.localdomain vnet[40086]: #10 0x7f6db9e67702 dispatch_pending_node + 0x372May 24 05:53:32 localhost.localdomain vnet[40086]: #11 0x7f6db9e69394 vlib_main_or_worker_loop + 0x8fdMay 24 05:53:32 localhost.localdomain vnet[40086]: #12 0x7f6db9e69bb0 vlib_worker_loop + 0x2cMay 24 05:53:32 localhost.localdomain vnet[40086]: #13 0x7f6db9e9bc8e vlib_worker_thread_fn + 0x120May 24 05:53:32 localhost.localdomain vnet[40086]: #14 0x7f6db92db524 0x7f6db92db524May 24 05:53:32 localhost.localdomain abrt-hook-ccpp[40282]: Process 40086 (vpp) of user 0 killed by SIGABRT - dumping coreThe crash happens when traffic is forwarded through the path. I see the packets are received on loop0 interface but are not forwarded to loop1 interface. Regards,Uzzam Javed
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13179): https://lists.fd.io/g/vpp-dev/message/13179
Mute This Topic: https://lists.fd.io/mt/31730575/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] VPP crashes using bvi interface

2019-05-24 Thread Neale Ranns via Lists.Fd.Io
Hi Uzzam,

I have already tried using the command 'sudo vppctl set interface l2 bridge 
loopX 1 bvi' but the vpp crashes after few seconds.

Can we see a back trace, please?

While on the other hand when I use the command 'sudo vppctl set interface l2 
bridge loopX 1', loop1 does not receive traffic.

So you need the ‘bvi’ part 



/neale

Following is the diagram of our architecture:

[cid:607bf4bf1198454881731ffbdd203f61@Open-Xchange]



Let me know how I can prevent bvi mode from crashing.





Regards,

Uzzam Javed
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13137): https://lists.fd.io/g/vpp-dev/message/13137
Mute This Topic: https://lists.fd.io/mt/31730575/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] VPP crashes using bvi interface

2019-05-23 Thread Neale Ranns via Lists.Fd.Io

Hi Uzzam,

All these:
  sudo vppctl set interface l2 bridge loopX 1
Should be:
  sudo vppctl set interface l2 bridge loopX 1 bvi

/neale

De :  au nom de Uzzam Javed 
Répondre à : Uzzam Javed 
Date : jeudi 23 mai 2019 à 14:50
À : "vpp-dev@lists.fd.io" 
Cc : "b...@xflowresearch.com" 
Objet : [vpp-dev] VPP crashes using bvi interface


Hi All,

I using 1901 build in CentOS 7.6 and am facing a crash after few seconds when 
adding loopback interface in bvi.

My config for VPP is below:

sudo vppctl create loopback interface
sudo vppctl create loopback interface
sudo vppctl set interface state loop0 up
sudo vppctl set interface state loop1 up
sudo vppctl set interface l2 bridge loop0 1
sudo vppctl set interface l2 bridge loop1 2
sudo vppctl set interface l2 bridge tap0 1
sudo vppctl set interface l2 bridge TenGigabitEthernet41/0/0 1
sudo vppctl set interface l2 bridge TenGigabitEthernet41/0/1 2
sudo vppctl set interface nat44 in loop0 out loop1
sudo vppctl nat44 deterministic add in 192.168.0.0/24 out 172.31.0.0/30

Please guide me if there is a mistake in my configurations.



Regards,

Uzzam Javed
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13126): https://lists.fd.io/g/vpp-dev/message/13126
Mute This Topic: https://lists.fd.io/mt/31730575/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] VPP crashes using bvi interface

2019-05-23 Thread Uzzam Javed

Hi All,I using 1901 build in CentOS 7.6 and am facing a crash after few seconds when adding loopback interface in bvi. My config for VPP is below:sudo vppctl create loopback interfacesudo vppctl create loopback interfacesudo vppctl set interface state loop0 upsudo vppctl set interface state loop1 upsudo vppctl set interface l2 bridge loop0 1sudo vppctl set interface l2 bridge loop1 2sudo vppctl set interface l2 bridge tap0 1sudo vppctl set interface l2 bridge TenGigabitEthernet41/0/0 1sudo vppctl set interface l2 bridge TenGigabitEthernet41/0/1 2sudo vppctl set interface nat44 in loop0 out loop1sudo vppctl nat44 deterministic add in 192.168.0.0/24 out 172.31.0.0/30Please guide me if there is a mistake in my configurations.Regards,Uzzam Javed
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13125): https://lists.fd.io/g/vpp-dev/message/13125
Mute This Topic: https://lists.fd.io/mt/31730575/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-