I’m wondering if it is possible to create a synthetic ethernet device called eth1.
To be clear my system has a physical network card called eth0.
I’ve read howots describing how to create devices tap0, tap1, etc that could be routed through eth0 (the only actual network interface).
Is it a simple case of simply changing the name from tap0 to eth1?
I’m wondering if that won’t break things?
So essentially I have a system with eth0, and would like one that has eth0 and eth1 present.
The software is along the lines of Rocks cluster stack. During installation it want to interfaces, one to make public and one to treat as private. Would it be possible to make a eth1 that tunneled through eth0. I can see the components, just not if or how they can be used to get a synthetic device.
BTW, to see what I have in mind see the synthetic device in eCOS.
Cluster software, sure, those often require a second interface for communication between cluster members. You could use an alias interface but of course the packets are really using the same physical interface connecting to the same LAN. But you could put them in different VLANs. If there is no problem with time sensitive packets encountering packet delays on the shared LAN, that would be an acceptable solution.
A tunneled device requires a process at both ends to maintain the tunnel, e.g. VPN software. The Linux tap/tun device is designed to be used for such tunneling. It wouldn’t be appropriate for a cluster since you would have to install this extra layer on all participants. Plus there would be more delays in the path.