I have two processes and I am trying to simulate the situation where the two processes represent two switches
which are connected by a wire. I want to be able to send a packet from one process to the other. Another use case is, each of these processes can be hooked up to a packet generator also.
I am new to networking and came across TUN/TAP interfaces and seemed to be the logical interface to use here. However, I am a little confused about one thing:
- Will the two processes each have their own interfaces ? when I have to send packet from process A to B, will I be sending a packet to B-interface ?
OR
- What if the two processes attach to the same interface ? How will that work ?
<switch ID> ifconfig
in Mininet. In this simulation, should I still need a network bridge? – Anvil