XEN-Netzwerk mit Debian

Aus Neobikers Wiki
Version vom 8. Dezember 2020, 21:26 Uhr von Neobiker (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ <pre> # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d rename e…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen


# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

rename enp0s25=eth0
rename enp2s0=eth1
rename enp3s0=eth2
rename eth2.1=vlanintern
rename eth2.178=vlanextern

auto lo /eth*=eth xennetwork

# The loopback network interface
iface lo inet loopback

# The primary network interfaces
iface eth inet manual
#        pre-up /sbin/ethtool -K $IFACE gso off gro off tso off

# interfaces.d/xenbridges:
# br0intern, br1extern, br2dmz, br3wlan, br4off
iface xennetwork inet manual
       #pre-up ifdown /vlan* || true
        up ifup br0intern br2dmz br3wlan br4off
        down ifdown br0intern br2dmz br3wlan br4off

iface vlanintern inet static
       #pre-up ifdown xennetwork || true
        address 192.168.2.5/24
        gateway 192.168.2.12

iface vlanextern inet static
       #pre-up ifdown xennetwork || true
        address 192.168.178.5/24
        gateway 192.168.178.1