View previous topic :: View next topic |
Author |
Message |
Treborius Guru
Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Thu Dec 31, 2015 1:17 am Post subject: bridge killt internet |
|
|
Hi,
irgendwie bin ich zu doof für advanced networking
ich möchte einen lxc container mit dem internet verbinden.
Allerdings möchte ich über iptables genau regeln können, welche ports der container benutzen darf.
Also habe ich hiermit angefangen :
https://wiki.gentoo.org/wiki/Network_bridge
ich habe nun in /etc/conf.d/network folgendes stehen :
Code: |
bridge_br0="eth0"
config_br0="dhcp"
|
eth0 hatte vorher garnix drin stehen ==> default = dhcp, hat funktioniert.
Wenn ich nun aber br0 starte, wird das bridge interface ordnungsgemäß erstellt,
allerdings komme ich nichtmehr über eth0 raus. Kein ping, kein dns nix ...
Jemand eine Ahnung wodran das liegt?
Falsche route?
Oder sollte ich für mein Anliegen gleich mit vlan interfaces anfangen? _________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router |
|
Back to top |
|
|
py-ro Veteran
Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
Posted: Thu Dec 31, 2015 6:30 pm Post subject: |
|
|
Noch mal den Wiki Eintrag lesen und evtl. nachlesen was eine Bridge ist.
Ein Interface was du in eine Bridge hängst kann nicht anderweitig genutzt werden. |
|
Back to top |
|
|
Treborius Guru
Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Thu Dec 31, 2015 6:55 pm Post subject: |
|
|
py-ro wrote: | Noch mal den Wiki Eintrag lesen und evtl. nachlesen was eine Bridge ist.
Ein Interface was du in eine Bridge hängst kann nicht anderweitig genutzt werden. |
Das war in etwa die Lösung ... ich musste eth0 deaktivieren ... _________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|