-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
A network restart is leading missing IP address on vm-public #568
Comments
As a workaround one's can create bridge interface with |
Just to make that a bit more clear, so
Is there anything needs to add/change in |
Something like this in
and then |
That doesn't work. Also, it would be great to avoid using |
Generally speaking if you need to configure This configuration works for me:
|
Thanks. I've decided to use |
I was just wondering why assign an IP to a switch? |
For example if hypervisor is a gateway for VM's network. |
I'm not an expert but I understand some. So do you have bunch of different networks? I've only figured out how to use the physical router with the switch and then some other virtual switches but for those I have VMs running as routers. I haven't figured out how to do pf to do routing on the host. It would be nice to have website dedicated to bhyve showcase of people's setup. |
Yes, in some cases hardware router or router in VM may be a little overhead. pf nat on hypervisor also can do it. Even more, for example we have a lot of customers vm's running inside vnet jails with custom pf rules and ip addressing. Each jail has an internal bridge for vm's network with ip address assigned which acts as a gateway. |
Hi,
I've figured our that
service netif restart
removes IP address from thevm-public
interface, and there's no way (except the manual one) to assign IP address to the interface back, i.e.:Would that be good idea to move
vm-public
initialization to/etc/rc.conf
and make that explicitly.The text was updated successfully, but these errors were encountered: