Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


1- create a bridge

2- active the second interface



Solution
create Bridge

Need to install ifupdown2

ifdown enp2s0

ifdown vmbr1


iface vmbr1 inet dhcp

ifup enp2s0

ifup vmbr1

dhcp
root@hp8300:~# more /etc/network/interfaces
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.0.9
        netmask 255.255.255.0
        gateway 192.168.0.1
        bridge_ports eno1
        bridge_stp off
        bridge_fd 0

iface enp2s0 inet manual

auto vmbr1
iface vmbr1 inet dhcp
        bridge_ports enp2s0
        brdige_stp off
p







  • No labels