Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2020 10:21:26 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   debian in bhyve on freebsd
Message-ID:  <60e7d910e1eb13643ee3c60080e96766.squirrel@webmail.harte-lyne.ca>

next in thread | raw e-mail | index | archive | help
debian-10.4.0-amd64
FreeBSD-12.1-RELEASE-p5-amd64
vm-bhyve-1.4.2

This is so tedious.  Ok, I need to test rsync on Debian in relation to another
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.

On the debian byhyve console I see this:
ip a show
. . .
2: enp0s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 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

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 whatever the
cause I cannot get this vm to talk to the network.

The config for this vm is:

loader="grub"
cpu=4
memory=8G
network0_type="virtio-net"
network0_switch="public"
disk0_type="ahci-hd"
disk0_name="disk0.img"
grub_run_partition="1"
grub_run_dir="/boot/grub"
uuid="79d40e25-9b67-11ea-aba7-7085c2da884f"
network0_mac="58:9c:fc:06:84:ab"

What should the virtual interface be called?  How do I get this set properly? 
Is this a byhyve problem? A debian problem?




-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60e7d910e1eb13643ee3c60080e96766.squirrel>