Hi Victor, On Wed, Nov 4, 2015 at 10:45 AM, Victor Sudakov <v...@mpeks.tomsk.su> wrote: > Victor Sudakov wrote: >> Julian Elischer wrote: >> > > >> > > I am experimenting with bhyve which uses tap(4) for network access. >> > > >> > > I don't want to bridge tap0 with any of the hosts's real NICs. How can >> > > I create a private network just between the host and the guest? >> > you are thinking too hard! >> > >> > tap IS the interface.. >> > >> > ifconfig tap0 $address... >> > and in the VM, ifconfig vtnet0 ${some_other_address} >> >> Thank you, Julian! It works. I felt I was missing something obvious. > > For some reason, after a guest is shutdown or rebooted, the IP address > on the host's tap0 interface is deleted. >
Try using 'vmnet0' instead of 'tap0'. It will retain the IP address even after a guest reboot/shutdown. best Neel > It's kind of inconvenient. > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > sip:suda...@sibptus.tomsk.ru > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"