Bridged networking is not working
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
When running macos VM on macos with bridged networking the guest wont get IP from dhcp.
The host keeps its connectivity well.
**Configuration**
* UTM Version: 4.5.4 (100)
* macOS Version: Sonoma 14.6.1
* Mac Chip (Intel, M1, ...): M3
**Crash log**
No crash
**Debug log**
Host ifconfig output with shared network
```
lo0: flags=8049 mtu 16384
options=1203
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201
gif0: flags=8010 mtu 1280
stf0: flags=0<> mtu 1280
anpi0: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:af
media: none
status: inactive
anpi1: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:b0
media: none
status: inactive
en3: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:8f
nd6 options=201
media: none
status: inactive
en4: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:90
nd6 options=201
media: none
status: inactive
en1: flags=8963 mtu 1500
options=460
ether 36:2d:83:2e:75:c0
media: autoselect
status: inactive
en2: flags=8963 mtu 1500
options=460
ether 36:2d:83:2e:75:c4
media: autoselect
status: inactive
bridge0: flags=8863 mtu 1500
options=63
ether 36:2d:83:2e:75:c0
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: en1 flags=3
ifmaxaddr 0 port 8 priority 0 path cost 0
member: en2 flags=3
ifmaxaddr 0 port 9 priority 0 path cost 0
nd6 options=201
media:
status: inactive
ap1: flags=8843 mtu 1500
options=6460
ether a6:94:37:d1:6d:66
inet6 fe80::a494:37ff:fed1:6d66%ap1 prefixlen 64 scopeid 0xb
nd6 options=201
media: autoselect ()
status: inactive
en0: flags=8863 mtu 1500
options=6460
ether 84:94:37:d1:6d:66
inet 192.168.3.28 netmask 0xffffff00 broadcast 192.168.3.255
inet6 fe80::1c73:5e08:ce03:fc92%en0 prefixlen 64 secured scopeid 0xc
nd6 options=201
media: autoselect
status: active
awdl0: flags=8843 mtu 1500
options=6460
ether 62:d5:a2:23:c5:0e
inet6 fe80::60d5:a2ff:fe23:c50e%awdl0 prefixlen 64 scopeid 0xd
nd6 options=201
media: autoselect
status: active
llw0: flags=8863 mtu 1500
options=400
ether 62:d5:a2:23:c5:0e
inet6 fe80::60d5:a2ff:fe23:c50e%llw0 prefixlen 64 scopeid 0xe
nd6 options=201
media: autoselect
status: inactive
utun0: flags=8051 mtu 1500
inet6 fe80::3918:ccf0:573b:b2d9%utun0 prefixlen 64 scopeid 0xf
nd6 options=201
utun1: flags=8051 mtu 1380
inet6 fe80::e8f3:8b43:4655:28b2%utun1 prefixlen 64 scopeid 0x10
nd6 options=201
utun2: flags=8051 mtu 2000
inet6 fe80::c0fa:1153:cf02:d81d%utun2 prefixlen 64 scopeid 0x11
nd6 options=201
utun3: flags=8051 mtu 1000
inet6 fe80::ce81:b1c:bd2c:69e%utun3 prefixlen 64 scopeid 0x12
nd6 options=201
vmenet0: flags=8963 mtu 1500
options=60
ether 86:06:a7:77:f5:d5
media: autoselect
status: active
bridge100: flags=8a63 mtu 1500
options=63
ether 86:94:37:1d:b0:64
inet 192.168.64.1 netmask 0xffffff00 broadcast 192.168.64.255
inet6 fe80::8494:37ff:fe1d:b064%bridge100 prefixlen 64 scopeid 0x14
inet6 fdf7:7190:2a5e:c6d8:483:82b0:488a:faf7 prefixlen 64 autoconf secured
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: vmenet0 flags=10803
ifmaxaddr 0 port 19 priority 0 path cost 0
nd6 options=201
media: autoselect
status: active
```
Host ifconfig output with Bridge networking
```
lo0: flags=8049 mtu 16384
options=1203
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201
gif0: flags=8010 mtu 1280
stf0: flags=0<> mtu 1280
anpi0: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:af
media: none
status: inactive
anpi1: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:b0
media: none
status: inactive
en3: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:8f
nd6 options=201
media: none
status: inactive
en4: flags=8863 mtu 1500
options=400
ether 82:ea:37:35:64:90
nd6 options=201
media: none
status: inactive
en1: flags=8963 mtu 1500
options=460
ether 36:2d:83:2e:75:c0
media: autoselect
status: inactive
en2: flags=8963 mtu 1500
options=460
ether 36:2d:83:2e:75:c4
media: autoselect
status: inactive
bridge0: flags=8863 mtu 1500
options=63
ether 36:2d:83:2e:75:c0
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: en1 flags=3
ifmaxaddr 0 port 8 priority 0 path cost 0
member: en2 flags=3
ifmaxaddr 0 port 9 priority 0 path cost 0
nd6 options=201
media:
status: inactive
ap1: flags=8843 mtu 1500
options=6460
ether a6:94:37:d1:6d:66
inet6 fe80::a494:37ff:fed1:6d66%ap1 prefixlen 64 scopeid 0xb
nd6 options=201
media: autoselect ()
status: inactive
en0: flags=8b63 mtu 1500
options=6460
ether 84:94:37:d1:6d:66
inet 192.168.3.28 netmask 0xffffff00 broadcast 192.168.3.255
inet6 fe80::1c73:5e08:ce03:fc92%en0 prefixlen 64 secured scopeid 0xc
nd6 options=201
media: autoselect
status: active
awdl0: flags=8843 mtu 1500
options=6460
ether 62:d5:a2:23:c5:0e
inet6 fe80::60d5:a2ff:fe23:c50e%awdl0 prefixlen 64 scopeid 0xd
nd6 options=201
media: autoselect
status: active
llw0: flags=8863 mtu 1500
options=400
ether 62:d5:a2:23:c5:0e
inet6 fe80::60d5:a2ff:fe23:c50e%llw0 prefixlen 64 scopeid 0xe
nd6 options=201
media: autoselect
status: inactive
utun0: flags=8051 mtu 1500
inet6 fe80::3918:ccf0:573b:b2d9%utun0 prefixlen 64 scopeid 0xf
nd6 options=201
utun1: flags=8051 mtu 1380
inet6 fe80::e8f3:8b43:4655:28b2%utun1 prefixlen 64 scopeid 0x10
nd6 options=201
utun2: flags=8051 mtu 2000
inet6 fe80::c0fa:1153:cf02:d81d%utun2 prefixlen 64 scopeid 0x11
nd6 options=201
utun3: flags=8051 mtu 1000
inet6 fe80::ce81:b1c:bd2c:69e%utun3 prefixlen 64 scopeid 0x12
nd6 options=201
vmenet0: flags=8963 mtu 1500
options=60
ether 86:06:a7:77:f5:d5
media: autoselect
status: active
bridge100: flags=8863 mtu 1500
options=63
ether 86:94:37:1d:b0:64
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: en0 flags=8003
ifmaxaddr 0 port 12 priority 0 path cost 0
member: vmenet0 flags=10003
ifmaxaddr 0 port 19 priority 0 path cost 0
nd6 options=201
media: autoselect
status: active
```
Contributor guide
Assessment
This issue has not been assessed yet.