Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bridge killt internet
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Thu Dec 31, 2015 1:17 am    Post subject: bridge killt internet Reply with quote

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
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Thu Dec 31, 2015 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Thu Dec 31, 2015 6:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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