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]
-=-=-=-=-=-=-=-=-=-=-=-


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

2018-08-15 Thread Aleksander Djuric
Hi Dave,

Thanks for quick reply.

I have updated VPP to v18.10-rc0~174-g6bd197eb

It works.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10171): https://lists.fd.io/g/vpp-dev/message/10171
Mute This Topic: https://lists.fd.io/mt/24533887/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 with bvi interface

2018-08-15 Thread Dave Barach via Lists.Fd.Io
Almost no matter what, vpp shouldn’t crash. Please at share the backtrace. See 
https://wiki.fd.io/view/VPP/BugReports and also 
https://wiki.fd.io/view/VPP/VPP_Home_Gateway for a known-to-work similar BVI / 
IRB configuration.

D.

From: vpp-dev@lists.fd.io  On Behalf Of Aleksander Djuric
Sent: Wednesday, August 15, 2018 9:18 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] VPP crashes with bvi interface

Hi all,

For test purposes I've installed VPP (v18.10-rc0) on 1'st host machine with 4 
lan adapters on it. I trying to setup BVI loopback interface with ip address to 
emulate network switch. 2'nd host with ip address 
192.168.0.2/24 is connected to GigabitEthernet1/0/0. 
Interface GigabitEthernet1/0/1 is connected to router. My config for VPP is 
below:

set int state GigabitEthernet1/0/0 up
set int state GigabitEthernet1/0/1 up
set int l2 bridge GigabitEthernet1/0/0 1
set int l2 bridge GigabitEthernet1/0/1 1
loopback create
set int state loop0 up
set int l2 bridge loop0 1 bvi
set int ip address loop0 192.168.0.1/24

VPP craches in a few seconds after setting loop 0 as bvi.

Is it a bug or it's a feature?
Please help me to correct configuration if I'm wrong.

Thanks in advance,
Aleksander

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

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