cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
6,263 Views
Registered: ‎07-22-2013

ip forwarding PL to PS ethernet

hi ,

 

I am using the Xilinx petalinux on zynq.

 

in my project i receive packets from BRAM in the PL area , and send them via the ethernet.

the packets arrive with the ip header, and should be sent as is.( so the dest will know who was the original source sender ).

the packets are not always destined to the subnet my card is connected to, so i want to send it to the default GW.

it's actuall like doing ip forwarding just from the PL to the PS phy..(and not between 2 NIC's ).

 

does someone know what is the right way to do it ?

 

i can write some code to simulate myself as a router ( handle ARP's, tables etc  ) but i thought that might be a way using the standard kernel for this .

 

thanks in advance 

 

Ari.

 

 

0 Kudos
1 Reply
Highlighted
Scholar
Scholar
6,249 Views
Registered: ‎06-14-2012

Hi Ari,

Could you could check this wiki tip? This is a relavant application for your problem.

http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+-+Performance+-+Ethernet+Packet+Inspection+-+Bare+Metal+-+Redirecting++Packets+to+PL+Tech+Tip

 

Hope this helps.

 

Regards

Sikta

0 Kudos