Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

From one Ethernet to the other

First of all, I don't want to use TSE, I know that is easier but the thing is that I don't want to use the mac address, only take the data without changes and resend.

The only thing that I want is:

- I have two ethernet ports in de de2-115 board with their marvel chips, and I want to connect one port to one computer (computer A) and the other one (computer B) to another computer

- Inside of the fpga I would like to bridge the conections of the two connectors, I mean, for example, the reception of the ETH0 connected to the transmision of the ETH1, and the transmision of the ETH0 connected with the reception of the ETH1 and the same with the other port. This should be like a wire, if I tried to send data from the computer A to the B the fpga should do nothing, only resend.

For this purpose I'm connecting the in MII mode:

- The pins PHY0_RXD[3..0] with the PHY1_TXD[3..0]

- The pins PHY0_RXDV[3..0] with the PHY1_TXE[3..0]

- The pins PHY1_RXD[3..0] with the PHY0_TXD[3..0]

- The pins PHY1_RXDV[3..0] with the PHY0_TXE[3..0]

I'm only wirig this and I thought that could work but... if I try to ping from one computer to the other I get nothing :S

If you could help me it will be great, thanks =)

11 Replies