Jump to content

unRaid 6.12.5 LXC und Netzwerk


Recommended Posts

Guten Morgen, ich beschäftige mich seit neustem mit LXC und stoße so an meine Grenzen.

 

Ich habe in meinem Gerät 2 Netzwerkschnittstellen. 1 für haupt IP vom Server und eine so konfiguriert, dass sie aktiv ist aber keine IP bezieht.

Nun möchte ich das LXC kein macvlan bridge über diese Schnittstelle macht, sondern für jeden Container eine viertuelle Schnittstelle eth0 bereitstellt im IP Bereich 192.168.178.170 - 2xx

 

Wie kann ich das einstellen und wo?

Link to comment

Moin,

 

also ich hab folgendes. lxc gibt meinem container eine IP adresse vom router... das will ich nicht, da ich einen anderen Bereich nutzen möchte. Im Route rist für DHCP nur bis  100 reserviert.

Ich möchte, dass LXC einen IP-Bereich von 150 bis xxx nimmt.

 

Dann habe ich versucht in der Container config die IP direkt zu definieren.

config-lxc_container.thumb.png.76cea5c9eb60dfefbd2db8cc4add563e.png

 

Jetzt der AH Effect. Plötzlich hat der Container 2 IPs.... Warum?

ip-lxc_container.thumb.png.0a9f945fbb400d6cd8f3ddde18a49d96.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...