Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #227117
| From | Lucio Crusca <lucio@sulweb.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | libvirt guest bridge configuration |
| Date | 2020-09-19 00:20 +0200 |
| Message-ID | <AQwTv-36T-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
I'm trying to bridge a network interface between host and guest (both
Debian Buster+Bullseye+Sid) so that NAT is not needed.
In the host /etc/network/interfaces I've declared a bridge like this:
auto eno1
iface eno1 inet static
address 2.4.6.8
netmask 255.255.255.224
gateway 2.4.6.1
up route add -net 2.4.6.0 netmask 255.255.255.224 gw 2.4.6.1 dev eno1
auto virbr-dummy
iface virbr-dummy inet manual
pre-up /sbin/ip link add virbr-dummy type dummy
up /sbin/ip link set virbr-dummy address 52:54:00:f0:37:ba
auto virbr10
iface virbr10 inet static
bridge_ports virbr-dummy
bridge_stp on
bridge_fd 2
address 2.4.6.73
netmask 255.255.255.224
gateway 2.4.6.65
broadcast 2.4.6.95
up route add -net 2.4.6.64 netmask 255.255.255.224 gw 2.4.6.65 dev eno1
Please note that 2.4.6.x are not my real IP addresses, but I've been
really assigned 2 IP addresses and I want to use one for the host and
the other for the guest.
Until here it seems to work in that I can ping both addresses. However I
don't know how I should configure my guest VM interface. There is no
nat, no DHCP and if I specify the same IP address for the virtualized
interface as the host bridge it's connecting to, it doesn't even detect
any link.
The guest was created with:
# virt-install --network bridge=virbr10,model=virtio ...
Please help.
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
libvirt guest bridge configuration Lucio Crusca <lucio@sulweb.org> - 2020-09-19 00:20 +0200
Re: libvirt guest bridge configuration Dan Ritter <dsr@randomstring.org> - 2020-09-19 01:00 +0200
Re: libvirt guest bridge configuration Lucio Crusca <lucio@sulweb.org> - 2020-09-19 08:30 +0200
Re: libvirt guest bridge configuration Fabien Roucaute <fabien.roucaute@free.fr> - 2020-09-19 10:10 +0200
Re: libvirt guest bridge configuration Reco <recoverym4n@enotuniq.net> - 2020-09-19 10:20 +0200
Re: libvirt guest bridge configuration Lucio Crusca <lucio@sulweb.org> - 2020-09-19 10:30 +0200
Re: libvirt guest bridge configuration Fabien Roucaute <fabien.roucaute@free.fr> - 2020-09-19 10:50 +0200
Re: libvirt guest bridge configuration Lucio Crusca <lucio@sulweb.org> - 2020-09-19 14:40 +0200
Re: libvirt guest bridge configuration Fabien Roucaute <fabien.roucaute@free.fr> - 2020-09-19 15:30 +0200
Re: libvirt guest bridge configuration Lucio Crusca <lucio@sulweb.org> - 2020-09-19 16:10 +0200
Re: libvirt guest bridge configuration Fabien Roucaute <fabien.roucaute@free.fr> - 2020-09-19 16:50 +0200
[SOLVED] Re: libvirt guest bridge configuration Lucio Crusca <lucio@sulweb.org> - 2020-09-20 12:10 +0200
Re: [SOLVED] Re: libvirt guest bridge configuration Lucas Castro <lucas@gnuabordo.com.br> - 2020-09-21 20:20 +0200
Re: libvirt guest bridge configuration john doe <johndoe65534@mail.com> - 2020-09-19 18:40 +0200
Re: libvirt guest bridge configuration Lucas Castro <lucas@gnuabordo.com.br> - 2020-09-19 23:30 +0200
csiph-web