I’m re-posting my question to this board looking for answers:
I get to know VyOS 5 min ago. Feel excited about what this project is offering.
As post title indicated, my first question is: is VyOS able to force all the traffic (except to localhost port 127.0.0.1) onto physical port?
For example, if the computer has eth0 and eth1 with mac/ip address of Mac1/IP1 and Mac2/IP2 correspondingly. On regular computer/linux, when I send a packet from eth1 port (using IP1 address) to IP2 address, it’ll be routed internally without the packet going onto the physical eth0/eth1 port. What I want is all the packets/traffic can be sent out onto physical ports no matter it’s internally routed or not.
Take it further:
I have eth0 as 10.10.1.1/24 and eth1 as 10.10.2.2/24 in the same box using static ip. Eth0 and eth1 direct connect back-to-back. On regular linux i.e, centos or debian, if my application create a socket using eth0’s ip as source IP and set destination ip as eth1’s ip address, Linux kernel won’t send the packet off the box. There will be no real packet transmitted over the Ethernet cable.
My question is: whether vyos is able to send packets onto the real Ethernet cable?