0
$\begingroup$

I am building a setup for performing a bandwidth test on custom cabling that carries two gigabit Ethernet channels. I have a working setup that includes two computers and two network switches to which the custom Ethernet cabling connects (see wiring diagram).

While not apparent in the wiring diagram, the network switches are included in the setup so that the fixture can accommodate several cabling configurations. Each cabling configuration includes two Ethernet channels (ETH0 and ETH1) and both channels are tested simultaneously. Only one cabling configuration is tested at a time - therefore four ETH0 and four ETH1 ports are used during a test. enter image description here

Is there any way to make this setup work with one network switch? The aim is to configure the switch so that traffic between Computers 1 and 2 travels on the custom cabling under test. I must prevent traffic from simply travelling between the switch ports to which the Computer Ethernet interfaces connect (as this would bypass the custom cabling under test).

Many thanks.

$\endgroup$
0
$\begingroup$

I got the setup working with one network switch by creating four VLANs - two VLANs per subnet. All ports are set as "Untagged." I also disabled STP.

I can force ETH0 traffic to traverses the custom cable by connecting one end of the cable to a port that is a member of VLAN1 and the other end of the cable to a port that is a member of VLAN2.

Likewise, ETH1 traffic traverses the custom cable when it is connected between one port that is a member of VLAN3 and another port that is a member of VLAN4.

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.