XEN Bridges with Debian: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Ich verwende die folgende Netzwerkkonfiguration mit XEN: * br0intern -> internal LAN (GREEN) * br1extern -> WAN (RED) * br2dmz -> DMZ (ORANGE) * br3wlan -> WLA…“) |
Keine Bearbeitungszusammenfassung |
||
Zeile 6: | Zeile 6: | ||
* br4off -> no network connection | * br4off -> no network connection | ||
File: /etc/network/interfaces.d/xenbridges | File: '''/etc/network/interfaces.d/xenbridges''' | ||
<pre> | <pre> | ||
root@corsair:/etc/network# cat interfaces.d/xenbridges | root@corsair:/etc/network# cat interfaces.d/xenbridges |
Version vom 6. Dezember 2020, 12:48 Uhr
Ich verwende die folgende Netzwerkkonfiguration mit XEN:
- br0intern -> internal LAN (GREEN)
- br1extern -> WAN (RED)
- br2dmz -> DMZ (ORANGE)
- br3wlan -> WLAN (BLUE)
- br4off -> no network connection
File: /etc/network/interfaces.d/xenbridges
root@corsair:/etc/network# cat interfaces.d/xenbridges # interfaces(5) file used by ifup(8) and ifdown(8) # Included from /etc/network/interfaces # settings for all XEN bridges iface xenbridge inet manual pre-up brctl addbr $IFACE bridge_fd 0 bridge_stp off bridge_hello 1 bridge_maxwait 0 bridge_waitport 0 post-up ip link set $IFACE promisc off post-down brctl delbr $IFACE # eth0 -> intern, the internal lan iface br0intern inet static inherits xenbridge address 192.168.2.5/24 gateway 192.168.2.12 bridge_ports eth0 # eth1 -> extern, the internet/router iface br1extern inet manual inherits xenbridge # bridge_ports eth1 # none -> dmz, firewall-zone only iface br2dmz inet manual inherits xenbridge # wlan -> eth3 or none=firewsall zone iface br3wlan inet manual inherits xenbridge # bridge_ports eth3 # none -> offline zone iface br4off inet manual inherits xenbridge