You are not logged in.
After following the steps on the Arch wiki to set up a network bridge (https://wiki.archlinux.org/index.php/Ne … h_iproute2) for my QEMU virtual machine, I can no longer connect to the internet on the host machine; pinging any domain tells me "Destination host unreachable". On the guest machine I can still connect absolutely fine however (that's how I'm writing this). The problem appeared to arise when I assigned an IP to the bridge. The bridge shares an IP with my physical connection, which is possibly an issue, but otherwise I cannot get my guest machine to connect. I presume I need to assign one thing to another something or other?
Any help is greatly appreciated; I've been trying to set up this bridge for hours and hours and this is as close as I have gotten. If you want me to provide anything else, I will.
Here is the output of 'ip a':
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000
link/ether d8:cb:8a:c5:22:04 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.4/24 brd 192.168.0.255 scope global dynamic enp3s0
valid_lft 82390sec preferred_lft 82390sec
inet6 fdc9:98:bb7c:0:1596:7cfe:b044:30f6/64 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::6863:3cec:9bee:1b7b/64 scope link
valid_lft forever preferred_lft forever
5: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether d8:cb:8a:c5:22:04 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.4/24 scope global br0
valid_lft forever preferred_lft forever
inet6 fdc9:98:bb7c:0:2273:6eb0:381:486/64 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::eecc:54e4:d6aa:36e8/64 scope link
valid_lft forever preferred_lft forever
8: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UNKNOWN group default qlen 1000
link/ether fe:1c:5e:39:cb:f0 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc1c:5eff:fe39:cbf0/64 scope link
valid_lft forever preferred_lft foreverOffline
What are the output of ip route ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
You need to move the IP to the bridge (only).
https://wiki.archlinux.org/index.php/Ne … IP_address
Last edited by jsoy9pQbYVNu5nfU (2016-08-15 14:24:36)
Offline
Ok so I assigned the IP to the bridge only and I've got exactly the same problem.
Here is my 'ip a' again:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000
link/ether d8:cb:8a:c5:22:04 brd ff:ff:ff:ff:ff:ff
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether d8:cb:8a:c5:22:04 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.4/24 scope global br0
valid_lft forever preferred_lft forever
inet6 2a02:c7f:7629:4b00:dacb:8aff:fec5:2204/64 scope global mngtmpaddr dynamic
valid_lft 2805sec preferred_lft 2802sec
inet6 fdc9:98:bb7c:0:dacb:8aff:fec5:2204/64 scope global mngtmpaddr dynamic
valid_lft forever preferred_lft forever
inet6 fe80::bc45:dff:fea9:63ec/64 scope link
valid_lft forever preferred_lft forever
8: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UNKNOWN group default qlen 1000
link/ether fe:a9:37:69:67:9c brd ff:ff:ff:ff:ff:ffAnd here is 'ip route':
192.168.0.0/24 dev br0 proto kernel scope link src 192.168.0.4---
As a related sidenote, the network interfaces seem to "factory reset" when I reboot, in that the physical interface regains its IP, and the bridge and tap are deleted.
Offline
Ok so I fixed it. I don't particularly like the fix, so I don't really want to mark this as solved yet.
I started Gnome NetworkManager, went into the settings for the physical adapter and turned off ipv4 and ipv6. This seems a little odd as they didn't actually have IPs attached.
What is the command equivalent of this?
Offline