-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: How to pass a PHYSICAL NIC ? #885
Comments
Hi @kroese , Before you say it, this is related to #564 . But I need your help to improve it. First of all, the file Second, it's how to connect two interfaces to the vDSM. At time we can do that (assuming eth1 on the host is the target lan network):
With these commands we create a MACVLAN network for the independent IP in the LAN, and one BRIDGE regular network. We need to define both because is not possible to run one user and one system. And very relevant it's the name. The assigned interfaces order (eth1, eth2, ethX) is based on the alfabetical order of the names. So for this reason I recommend With this config the macvlan will be the eth0 in the container, and a bridge (host) will be eth1. Therefore, when starting the container the LAN address (in the example And to add this secondary network to the vDSM, I'm using (manually, before the
As you can imagine, the IP address in the bridge of the container are not necessary. But it could be useful when testing. So as the vDSM will be connected to that bridge, a different address in the same network will be used. Finally the command to attach will be: And the interfece will be available inside the vDSM. Nice! 😆 However the problems are:
And why all of this? This is the objective:
However, we need to solve some of the problems. So first of all, could you please fix the problem with the missing Waiting for your feedback. |
Is your question not already answered in the FAQ?
Is this a general question and not a technical issue?
Question
Hi,
I want to know if it's possible to pass a physical network adapter instead of using the docker networking. The idea is to provide more low level access to a physical network. I know that with qemu we can pass through physical nic ports. But the question is if this is supported inside vDSM.
Any idea?
The text was updated successfully, but these errors were encountered: