question

Anon avatar image
Anon asked kashif commented

Some arps not resolved

Hi All,

I am new to spirent. I installed spirent test center application. I tried to do a basic setup.

From chassis I selected 2 ports, configured 2 devices with ipv4 addressess, None(traffic only device)

When I click on start ARP/ND, I get the error some ARPS failed to resolve

Please help

Thanks

Spirent TestCenter (STC)arparp resolution
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kashif avatar image kashif commented ·

I am doing the same experiment, and I am testing an Ethernet switch implemented on an FPGA board, I configure a stream with UDP header appended too. There are two ports 1 & 2, on slot 1, on the Spirent TC, so I connected 1 port with the FPGA via 10G Ethernet port Eth1, through fiber optic cable, and another port of Spirent TC to the Eth2 of FPGA, I reserved two ports 2/1 and 2/2. I want to send traffic from port1 to port2 via my FPGA. But it still gives ARP resolution problem. What MAC addresses should I give while configuring devices? or what could be the reasons?

0 Likes 0 ·
sreerag.parameswaran avatar image
sreerag.parameswaran answered kashif commented

The ARP results would depend on your test port connectivity. The ports that you selected in application needs to be wired with another device's L3 port or to each other.

When you start ARP, there will be an ARP request broadcast packet from the source port which will go to the destination port depending on the physical connection. This will be querying the "IPv4 gateway address" configured on device.

If the destination port can reply to the ARP request, the ARP will be reported as "resolved", else would fail as you have seen.

So if you have those 2 ports connected to each other, make sure that the device 1 (IP1, GW1) acts as the gateway for the device 2 (IP2, GW2) and vice versa.

or IP1 = GW2

and IP2 = GW1

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kashif avatar image kashif commented ·

I am doing the same experiment, and I am testing an Ethernet switch implemented on an FPGA board, I configure a stream with UDP header appended too. There are two ports 1 & 2, on slot 1, on the Spirent TC, so I connected 1 port with the FPGA via 10G Ethernet port Eth1, through fiber optic cable, and another port of Spirent TC to the Eth2 of FPGA, I reserved two ports 2/1 and 2/2. I want to send traffic from port1 to port2 via my FPGA. But it still gives ARP resolution problem. What MAC addresses should I give while configuring devices? or what could be the reasons?

0 Likes 0 ·
sreerag.parameswaran avatar image
sreerag.parameswaran answered kashif commented

@kashif

Based on your comment, 2x10Gig ports from Spirent TC Slot 1 are wired to your FPGA board.

But ports 2/1 and 2/2 are reserved in GUI to configure traffic, they are ports from Slot 2.

Please make sure that you reserved the correct set of ports.

Assuming you are reserving the correct ports in GUI

a. Do you see the Link coming UP in GUI?

b. In your FPGA board, are there any extra configurations like VLAN? Are both ports configured in same VLAN or for trunking?

c. To switch between both the FPGA interfaces, are there any parameters other than MAC addresses required?

If this is L2 connectivity, ARP wouldn't be required.

Right click on the devices/generator and finish 'L2 learning', which should be enough for MAC updates.

If the devices created on Spirent have L3 stack, make sure that each device is configured to behave as the L3 gateway for the other one.

3 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kashif avatar image kashif commented ·

@Sreerag, Hi

yeah, that was a typo, it is slot 2, and ports reserved are 2/1 and 2/2 in GUI correctly.

Yeah, Links are UP and there are also GREEN balls shown.

No VLAN configured.

I don't think there are other parameter required. But for your info sir, the Ethernet switch I implemented on FPGA extracts 104 bits FiveTuple (Source & Dest IPs, Src & Dest Ports, Protocol) key from the packet headers for packet forwarding. But that is used by the Data Plane for packet forwarding, and I think it does not have concern with the ARP resolution problem.

And I didn't get what you really mean by the L3 stack in Spirent devices, but I can tell you that I also tested it with to change the gateway IPs of both the devices to the IPs of another, e.g.

Device1_Gateway = Device2_IP and Device2_Gateway = Device1_IP

I am wondering that do we really need to resolve ARP for this kinda experiments or may be we do not need in this case?

0 Likes 0 ·
sreerag.parameswaran avatar image sreerag.parameswaran ♦ kashif commented ·

Hi,

How does the FPGA process broadcast MAC packets for switching?

Just to understand the ARP flow here.

Also I suggest you to report your issue to support@spirent.com so that our team would reach out and help you resolve this faster.

1 Like 1 ·
kashif avatar image kashif sreerag.parameswaran ♦ commented ·

I configured the FPGA with the general Enterprise switch data plane e.g. to process Ethernet, IPv4/6, UDP/TCP headers and extract 104 bits five_tuple key for match and action/forwarding stages, using Xilinx SDNet specification and Verilog, and in simulation it can process packets successfully. And now I want to test it on hardware/FPGA using Spirent TC. Upon connecting, 10G Ethernet ports are up and it is working. Flow tables entries are also inserted successfully in to the switch IP module. As mentioned above, in Spirent TC, ports are Up and balls turn green upon connecting. Everything works fine, but ARP resolution fails.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.