So I want some help regarding that suppose,
If we are implementing the basic forwading program given in exercise it works like if we send the packet with custom source and destination address it just forwards it from source → destination defined in packets.
But what if I want to forward some packets arriving at my ethernet port 1 and want to send it to ethernet port2 what should I do because the packets arriving on ethernet port 1 will have destination address of my machine so it will not forward to port 2 {correct me if I am wrong}.
sudo simple_switch -i 0@eth0 -i 1@eth1 basic.json --log-console
Does the tunneling or source routing program given in the tutorials help?