On 08/14/18 07:38, Tom Horsley wrote:
On Mon, 13 Aug 2018 17:54:20 -0400
Bob Goodwin wrote:
> Is this the result of my having made a wrong selection when creating the
> VM from virt-manager? If so, I could go through the process again and
> see what the new network[scripts should look like since if I understand
> what I've read that is what needs to be changed.
>
Bridge is sort of a pain because virt-manager won't let you
choose it unless you already have a bridge setup on your system.
See
https://www.linux-kvm.org/page/Networking#Public_Bridge for some
very terse instructions. I remember it look a while for me to
get it working when I first did it.
Your information seems out of date.
Before running virt-manager and starting a VM.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode
DEFAULT group default qlen 1000
link/ether 40:61:86:7c:2b:db brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode
DORMANT group default qlen 1000
link/ether 66:d3:3f:8d:76:29 brd ff:ff:ff:ff:ff:ff
4: wlp0s29u1u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode
DORMANT group default qlen 1000
link/ether cc:e1:d5:3e:88:e7 brd ff:ff:ff:ff:ff:ff
After....
[egreshko@meimei etc]$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode
DEFAULT group default qlen 1000
link/ether 40:61:86:7c:2b:db brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode
DORMANT group default qlen 1000
link/ether 96:94:90:9c:0c:1b brd ff:ff:ff:ff:ff:ff
4: wlp0s29u1u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode
DORMANT group default qlen 1000
link/ether cc:e1:d5:3e:88:e7 brd ff:ff:ff:ff:ff:ff
5: macvtap0@enp2s0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
fq_codel
state UP mode DEFAULT group default qlen 500
link/ether 52:54:00:e9:37:ee brd ff:ff:ff:ff:ff:ff
This is with macvtap selected on the NIC with a source mode of Bridge.
The interface can then get a 192.168.1.X address from a router on the network. 2
caveats.
1. You won't be able to make a connection between the host and the guest.
virt-manager warns you about this.
2. If you're using IPV6 you'll need to set the macvtap interface on the host to
promiscuous.
--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.