Date: Fri, 22 May 2020 21:44:42 +0700 From: Victor Sudakov <vas@sibptus.ru> To: freebsd-questions@freebsd.org Subject: Re: debian in bhyve on freebsd Message-ID: <20200522144442.GA91589@admin.sibptus.ru> In-Reply-To: <60e7d910e1eb13643ee3c60080e96766.squirrel@webmail.harte-lyne.ca> References: <60e7d910e1eb13643ee3c60080e96766.squirrel@webmail.harte-lyne.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable James B. Byrne via freebsd-questions wrote: > debian-10.4.0-amd64 > FreeBSD-12.1-RELEASE-p5-amd64 > vm-bhyve-1.4.2 >=20 > This is so tedious. Ok, I need to test rsync on Debian in relation to an= other > problem. I have created a bhyve vm for this OS, an OS I have never before > used, and find that the networking does not, work. Works fine for me (Debian GNU/Linux 10 (buster) under bhyve/FreeBSD 12.1).= =20 >=20 > On the debian byhyve console I see this: > ip a show > . . . > 2: enp0s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast st= ate UP > group default qlen 1000 > link/ether 58:9c:fc:06:84:ab brd ff:ff:ff:ff:ff:ff > inet 192.168.8.165/24 brd 192.168.8.255 scope global enp0s5 > valid_lft forever preferred_lft forever > inet6 fe80::5a9c:fcff:fe06:84ab/64 scope link > valid_lft forever preferred_lft forever >=20 > I do not recognize the i/f name enp0s5. I expected something like vtnet0 > instead. I am sure that this has something to do with systemd but whatev= er the > cause I cannot get this vm to talk to the network. Who cares how the interface is called? It has the same name in my virtual Debian: 2: enp0s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast stat= e UP group default qlen 1000 link/ether 58:9c:fc:09:55:61 brd ff:ff:ff:ff:ff:ff inet 192.168.246.52/24 brd 192.168.246.255 scope global dynamic enp0s5 valid_lft 78243sec preferred_lft 78243sec inet6 2001:470:ecba:2:5a9c:fcff:fe09:5561/64 scope global dynamic mngtm= paddr=20 valid_lft 2591870sec preferred_lft 604670sec inet6 fe80::5a9c:fcff:fe09:5561/64 scope link=20 valid_lft forever preferred_lft forever but it works fine and even got an autoconfigured IPv6 address from the FreeBSD host, as you see. >=20 > The config for this vm is: My config: loader=3D"uefi" cpu=3D2 memory=3D1G network0_type=3D"virtio-net" network0_switch=3D"main" disk0_type=3D"virtio-blk" disk0_name=3D"disk0" disk0_dev=3D"zvol" # VNC graphics=3D"yes" graphics_wait=3D"auto" graphics_res=3D"1280x720" #graphics_port=3D"5909" =20 graphics_listen=3D"192.168.4.1" xhci_mouse=3D"yes" uuid=3D"2069962f-78b3-11ea-a89e-5404a6b49a66" network0_mac=3D"58:9c:fc:09:55:61" >=20 > What should the virtual interface be called? How do I get this set prope= rly?=20 > Is this a byhyve problem? A debian problem? I don't give a @#$ how it is called while it works. Linux has always had interface names quite different from *BSD. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJex+VaAAoJEA2k8lmbXsY0/8oH+gPDMb/u+dWNwnTbgnRFHtVA FddamsMNiN+npyaM8MI3A46NBiHC5sn+S9p6cvLoi0+gxsp71SGzPaQBWcYs4lKv MFATyzAxAclezhdhPBd/Ovw7hDpNnNSjtaQRymL3ZyaksA1WIaZ+pNd3RjHaCVG9 SbNr5gzc6EuRiIj755pBL35vVWz4oSUQAnTN/upatG7+KdI/Ip7LJPC8AUYTcWXU OCqEWOcRsfPPKTEQ9lvPRnQB1jT48HnRuM3IkK3zEmu856OYbPl6vnWU8CfpeLjf 8LnRKRCgHUUWomPuTb1etVAcY0hJjRjdwz6qcK1hJ8OJ6vqxM83ce+O5QZpW4Vg= =5ueb -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200522144442.GA91589>