Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFrom 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
- Altera_Forum
Honored Contributor
I think you already know that this will work only if both Ethernet links operate in the same mode, which must be full duplex.
Namely they must be both 100Mb full duplex, or both 10Mb full duplex. Moreover you must make sure the phy clocks are synchronized, otherwise rx signals coming from one phy would not be sampled correcly into tx ports of the other phy. You said you don't have a MAC, or you don't want to use it. Anyway you need at least a MDIO interface to configure the PHYs for proper operation. I'm concerned if DE2-115 pcb implements the required strapping pins, since a MAC with MDIO is supposed to be used inside the fpga.