Hi,
I'm examining a domain that's connected to the 'default' network
# virsh net-dumpxml default
<network connections='1'>
<name>default</name>
<uuid>c757baa7-2b31-4794-9dfb-0df384575602</uuid>
<forward mode='nat'>
<nat>
<port start='1024' end='65535'/>
</nat>
</forward>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address='52:54:00:37:b7:92'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
</dhcp>
</ip>
</network>
using a device as follows:
<interface type='network'>
<mac address='52:54:00:ed:06:2e'/>
<source network='default' portid='83db8ca9-baed-47f3-ba0d-1a967ee86aa5'
bridge='virbr0'/>
<target dev='vnet19'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</interface>
The domain is running but apparently without an IP address:
# virsh domifaddr podvm-podsandbox-totok-8f10756a
Name MAC address Protocol Address
-------------------------------------------------------------------------------
The requisite host-side interfaces look good (to me anyway :-)):
10: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb state UP
group default qlen 1000
link/ether 52:54:00:37:b7:92 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
[...]
35: vnet19: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master
virbr0 state UNKNOWN group default qlen 1000
link/ether fe:54:00:ed:06:2e brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc54:ff:feed:62e/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
I can share more information about the setup if necessary but I'll stop
here for now since I feel this must be just a simple stupid oversight on my
part. Please let me know if you'd like to have additional info.
Thanks in advance,
pvl