-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The ip address of the switch is missing. #435
Comments
You should add you physical interface to this bridge like that: |
Since bridge does not work with wlan interfaces, I use nat from this documentation |
Ok, so this may be different problem. I have never used this setup so maybe @churchers could chime in. |
Hi all! I can confirm this issue. Following the steps mentioned in [1], both when starting the VM and when shutting it down, the IP of the bridge is lost and it is necessary to execute again But I'm not sure if this is a
[1] https://github.com/churchers/vm-bhyve/wiki/NAT-Configuration |
I question why you would even want an IP address on the bridge, just adding your 10 gigabit ethernet card to it, and letting vm-bhyve handle adding tap devices to it should be enough. Vlans should be handled on the switch itself as I've never seen a point to do a software vlan with virtualized guests. |
Me-too comment. As soon as the vm is started, bridge's IP address is gone, and guests's access to the network with it, Once added again via |
I will show you how I do it where I don't have any problems with IPV6 or anything making sure bridge has auto_linklocal set. /etc/rc.conf:
#manually create switch named "services" with vm-bhyve
|
@syleishere thanks you. this plus dnsmasq got my vm getting an ip |
I am using 13.0-RELEASE-p4 and vm-bhyve v1.4.2 (rev. 104002)
When starting the system the bridge interface vm-public is up with an ip address of 192.168.8.1
Switch settings:
When I start the virtual machine with the config
ip address is missing on the vm-public interface
and I cannot connect to my vm. I have to add the address manually. How can this be fixed?
The text was updated successfully, but these errors were encountered: