1

i want to get a network device working as a multiplexer.

for example, only the data sent to port A would be forwarded to port B completely. and the data of port B have to be forwarded to port A also. it seems like there is a virtual twister line between port A and port B.

after some configuration, i can dismiss the virtual line of A<=>B. the other virtual line C<=>B can be established.

i need four separate virtual lines described above concurrently. also 20 ports are a base line.

the first solution comes to my mind is a switch with VLAN. but VLAN would involve some tags. any good idea or switch model suggestion?(1Gb ether needed)

Readon Shaw
  • 111
  • 2
  • Please clarify your question. Are you looking for something specifically that will not forward A and C through B at the same time? Or are you saying you want to "combine" the traffic of A and C through B? –  Sep 26 '10 at 00:27
  • it has been edited. –  Sep 26 '10 at 02:43
  • 3
    Sorry, but your edited question still doesn't make sense to me. – hotei Sep 26 '10 at 03:13
  • it was mirigated from site to site. still have no results. – Readon Shaw Sep 26 '10 at 08:59

4 Answers4

1

get a dot1q-aware switch and use the port-based vlan feature

quaie
  • 1,124
  • 6
  • 13
0

Can you describe it with more detail and concrete application examples?

If you want to communicate from a host to a whole network but have another port receive everything what the first one transmits/receives; but what you describe has some resemblance to port mirroring; most manged switches can do it. Keep in mind this is layer 2, so to get the data you will need promiscuous mode and an application that can understand this. Just another instance of a Tcp/ip application will not magically make it receive duplicate data.

Joris
  • 5,939
  • 1
  • 15
  • 13
  • a network test experiment, i have a network analyzer plug in switch, it will send out and receive data from net.and i want to choose which port is being tested by program. so dynamic virtual line is needed. – Readon Shaw Sep 27 '10 at 00:53
  • Then port mirroring is for you – Joris Sep 27 '10 at 05:51
  • port mirroring just mirror the data from ports to mirroring port, but i need it forward the the data from mirroring port to normal port. – Readon Shaw Sep 27 '10 at 10:51
0

If I read the question correctly, you just need a managed switch that will support port based VLANs. You don't need to worry about tagging or 802.1q. Simply configure the switch with two VLANs. Put port A in the first VLAN and port C in the second VLAN. Then assign port B to the first or second VLAN based on if you want it to connect to port A or port C.

The cheapest switch that I think would meet this that I can find is on newegg.

Jed Daniels
  • 7,172
  • 2
  • 33
  • 41
-2

i want to get a network device working as a multiplexer. for example, only the data sent to port A would be forwarded to port B completely.

alt text

ta.speot.is
  • 842
  • 5
  • 9