Skip to content

Assign a Secondary NIC to Jail? #106

Closed Answered by wolffstarr
wolffstarr asked this question in Q&A
Discussion options

You must be logged in to vote

Well, they say there's no idiot like an old idiot, and here I am proving it. After I posted I realized all I had searched on was Jailmaker, not systemd-nspawn itself - so I tried that and got the answer. You can bind existing interfaces with --network-interface=<ifname>.

So the short version is, yes, you can assign a physical interface to a jail. Sorry for the noise, hopefully it helps someone else out down the road.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wolffstarr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant