*Empty MediaWiki Message*
This commit is contained in:
parent
65123f79e2
commit
53470e9291
|
@ -35,10 +35,84 @@ Der zweite Teil der Segmentierung sie wie folgt aus:
|
||||||
== HOST System Einrichtung ==
|
== HOST System Einrichtung ==
|
||||||
|
|
||||||
=== Flatbert (Linux) ===
|
=== Flatbert (Linux) ===
|
||||||
|
|
||||||
|
System auf den aktuellen Stand halten
|
||||||
|
<source lang=bash>
|
||||||
|
apt-get autoclean; apt-get clean; apt-get update; apt-get upgrade
|
||||||
|
</source>
|
||||||
|
|
||||||
|
Umgebungs-/Debugtools installieren
|
||||||
|
<source lang=bash>
|
||||||
|
apt-get install git iptables tcpdump sockstat iputils-ping
|
||||||
|
</source>
|
||||||
|
|
||||||
|
Kernelmodule laden
|
||||||
|
<source lang=bash>
|
||||||
|
vi /etc/modules
|
||||||
|
|
||||||
|
### pppoe routing // ###
|
||||||
|
pppoe
|
||||||
|
ip_tables
|
||||||
|
ip6_tables
|
||||||
|
ip6t_MASQUERADE
|
||||||
|
## ("pkttype" packet type match support) filter multicast
|
||||||
|
xt_pkttype
|
||||||
|
tun
|
||||||
|
### // pppoe routing ###
|
||||||
|
|
||||||
|
modprobe pppoe ip_tables ip6_tables ip6t_MASQUERADE xt_pkttype tun
|
||||||
|
</source>
|
||||||
|
|
||||||
|
Container erstellen
|
||||||
|
<source lang=bash>
|
||||||
|
lxc-fancy create
|
||||||
|
</source>
|
||||||
|
|
||||||
|
Container stoppen und LXC-Container-Config anpassen (für pppoe kernel support)
|
||||||
|
<source lang=bash>
|
||||||
|
lxc-stop -n dropbert1
|
||||||
|
|
||||||
|
vi /var/lib/lxc/dropbert1/config
|
||||||
|
|
||||||
|
#// ppp/pppoe support
|
||||||
|
lxc.cgroup.devices.allow = c 108:0 rwm
|
||||||
|
lxc.mount.entry = /dev/ppp dev/ppp none bind,optional,create=file
|
||||||
|
#// lxc-to-go bridge 1
|
||||||
|
lxc.network.link=vswitch0
|
||||||
|
</source>
|
||||||
|
|
||||||
|
WICHTIG: durch das Flatbert Netzwerkschema muss! vswitch1 nach vswitch0 umgeschrieben werden, damit „dropbert1“ direkt über die erste Bridge angebunden wird und nicht an der zweiten Bridge, die ProxyARP/ProxyNDP verwendet!
|
||||||
|
|
||||||
<source lang=bash>
|
<source lang=bash>
|
||||||
|
|
||||||
</source>
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<source lang=bash>
|
||||||
|
|
||||||
|
</source>
|
||||||
=== FreeNAS/Storage (FreeBSD) ===
|
=== FreeNAS/Storage (FreeBSD) ===
|
||||||
<source lang=bash>
|
<source lang=bash>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user