Re: [vpp-dev] VRRP issue when using VRs in different VLANs

2022-02-21 Thread Mechthild Buescher via lists.fd.io
Hi Matt,

Thanks for the fast reply. Yes, I can confirm that the patch solves this issue.

Thanks again,

BR/Mechthild

From: Matthew Smith 
Sent: Friday, 18 February 2022 22:43
To: Mechthild Buescher 
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] VRRP issue when using VRs in different VLANs

Hi Mechthild,

It looks like you are running version 21.06 of VPP. This patch was merged last 
month and may resolve the issue - 
https://gerrit.fd.io/r/c/vpp/+/34815.
 Can you try applying that patch to your build?

Let me know if that helps.

Thanks,
-Matt


On Fri, Feb 18, 2022 at 3:06 PM Mechthild Buescher via 
lists.fd.io
 mailto:ericsson@lists.fd.io>> 
wrote:
Hi all,

We are using VPP on two nodes and run VRRP on them. This works fine as long as 
we use one VLAN. But if we configure VRs in different VLANs we see strange 
behavior: Every 4 seconds, the backup  VRRP VR shortly changes to master and 
sends an advertisement message to the master and then it changes back to master.

The symptom:
# while true; do date; vppctl show vrrp vr | grep state; echo; sleep 1; done
Fri Feb 18 20:33:15 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Backup flags: preempt no accept yes unicast no

Fri Feb 18 20:33:16 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Backup flags: preempt no accept yes unicast no

Fri Feb 18 20:33:17 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Backup flags: preempt no accept yes unicast no

Fri Feb 18 20:33:18 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Master flags: preempt no accept yes unicast no

Fri Feb 18 20:33:19 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Backup flags: preempt no accept yes unicast no

Fri Feb 18 20:33:20 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Backup flags: preempt no accept yes unicast no

Fri Feb 18 20:33:21 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Backup flags: preempt no accept yes unicast no

Fri Feb 18 20:33:22 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Master flags: preempt no accept yes unicast no

Fri Feb 18 20:33:23 UTC 2022
   state Backup flags: preempt no accept yes unicast no
   state Backup flags: preempt no accept yes unicast no

# tcpdump -nve -r /tmp/my_vppExt0_2vrid_2vlan.pcap | grep -B1 "vrid 232”
00:02:25.805841 00:00:5e:00:01:e8 > 01:00:5e:00:00:12, ethertype 802.1Q 
(0x8100), length 50: vlan 102, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 0, 
offset 0, flags [none], proto VRRP (112), length 32)
172.17.2.2 > 
224.0.0.18:
 vrrp 172.17.2.2 > 
224.0.0.18:
 VRRPv3, Advertisement, vrid 232, prio 100, intvl 100cs, length 12, addrs: 
172.17.2.3
--
00:02:26.190168 00:00:5e:00:01:e8 > 01:00:5e:00:00:12, ethertype 802.1Q 
(0x8100), length 60: vlan 102, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 0, 
offset 0, flags [none], proto VRRP (112), length 32)
172.17.2.3 > 
224.0.0.18:
 vrrp 172.17.2.3 > 
224.0.0.18:
 VRRPv3, Advertisement, vrid 232, prio 200, intvl 100cs, length 12, addrs: 
172.17.2.3
--
00:02:27.194227 00:00:5e:00:01:e8 > 01:00:5e:00:00:12, ethertype 802.1Q 
(0x8100), length 60: vlan 102, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 0, 
offset 0, flags [none], proto VRRP (112), length 32)
172.17.2.3 > 
224.0.0.18:
 vrrp 172.17.2.3 > 
224.0.0.18:
 VRRPv3, Advertisement, vrid 232, prio 200, intvl 100cs, length 12, addrs: 
172.17.2.3

The configuration:
BACKUP system:
ip table add 26
ip table add 27
set interface state Ext-0 up
create sub-interfaces Ext-0 101
create sub-interfaces Ext-0 102
set interface 

Re: [vpp-dev] Facing issue with forming packets in dpdk-testpmd.

2022-02-21 Thread Benoit Ganne (bganne) via lists.fd.io
This is a question for https://mails.dpdk.org/listinfo/users
We are mostly using trex but still, there is a --tx-ip option documented in 
https://doc.dpdk.org/guides/testpmd_app_ug/run_app.html#testpmd-command-line-options

ben

> -Original Message-
> From: vpp-dev@lists.fd.io  On Behalf Of Pragya Nand
> Bhagat
> Sent: lundi 21 février 2022 07:20
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Facing issue with forming packets in dpdk-testpmd.
> 
> Hi All,
> 
> 
> I'm trying to form a specific traffic flow with dpdk-testpmd before
> starting traffic using "start tx_first".
> I'm able to configure the destination mac using " set eth-peer (port_id)
> (peer_addr)".
> I was not able to find a similar command for setting the destination ip
> address.
> 
> 
> I also found :
> testpmd> set fwd (io|mac|macswap|flowgen| \
> rxonly|txonly|csum|icmpecho|noisy)
>   • flowgen: Multi-flow generation mode. Originates a number of flows
> (with varying destination IP addresses), and terminate receive traffic.
> 
> but I could not find any example usage .
> If someone could please point out how to use this option or how to
> configure dst-ip for a traffic originating from dpdk-testpmd.
> 
> Thank You
> Pragya Nand Bhagat
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20884): https://lists.fd.io/g/vpp-dev/message/20884
Mute This Topic: https://lists.fd.io/mt/89288568/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-