Date: Thu, 11 Jul 2024 17:06:18 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Suddenly unable to access VMs Message-ID: <CAAdA2WMaO8PPnFErZa0gcN-VPD6My4RtJB3u27BYi=8CWMZK=A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000007ef20c061cf946be Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My bhyve VMs have been all fine until now. I can't ping them and can't SSH into them. However, I can connect to them with VNCViewer from a remote host (my PC from my house) :-( I haven't done any changes on the host at all. dnsmasq is running, but seems like the VMs aren't getting the IPs for some reason. ``` cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5" ifconfig_bridge0_name=3D"vmbridge" ifconfig_vmbridge=3D"addm em1 addm tap0 addm tap1 addm tap2 addm tap3 addm tap4 addm tap5 up" ifconfig_vmbridge_alias0=3D"inet 172.16.0.1 netmask 255.255.255.0" ``` What might have happened? root@gw:/home/wash # ifconfig vmbridge vmbridge: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500 options=3D0 ether 58:9c:fc:10:df:1d inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap5 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 10 priority 128 path cost 2000000 member: tap4 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 9 priority 128 path cost 2000000 member: tap3 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 8 priority 128 path cost 2000000 member: tap2 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 7 priority 128 path cost 2000000 member: tap1 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 6 priority 128 path cost 2000000 member: tap0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 5 priority 128 path cost 2000000 member: em1 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 2 priority 128 path cost 55 groups: bridge nd6 options=3D9<PERFORMNUD,IFDISABLED> root@gw:/home/wash # ssh 172.16.0.99 ssh: connect to host 172.16.0.99 port 22: Permission denied root@gw:/home/wash # ssh 172.16.0.100 ssh: connect to host 172.16.0.100 port 22: Permission denied root@gw:/home/wash # ping 172.16.0.100 PING 172.16.0.100 (172.16.0.100): 56 data bytes ping: sendto: Permission denied ping: sendto: Permission denied ping: sendto: Permission denied ping: sendto: Permission denied ^C --- 172.16.0.100 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss root@gw:/home/wash # ping 172.16.0.99 PING 172.16.0.99 (172.16.0.99): 56 data bytes ping: sendto: Permission denied ping: sendto: Permission denied ping: sendto: Permission denied ^C --- 172.16.0.99 ping statistics --- 3 packets transmitted, 0 packets received, 100.0% packet loss root@gw:/home/wash # service dnsmasq status dnsmasq is running as pid 4190. root@gw:/home/wash # --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --0000000000007ef20c061cf946be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">My bhyve VMs have been all fine until=C2=A0now.<div>I can&= #39;t ping them and can't SSH into them. However, I can connect to them= with VNCViewer from a remote host (my PC from my house) :-(</div><div><br>= </div><div>I haven't done any changes on the host at all.</div><div>dns= masq is running, but seems like the VMs aren't getting the IPs for some= reason.</div><div><br></div><div>```</div><div>cloned_interfaces=3D"b= ridge0 tap0 tap1 tap2 tap3 tap4 tap5"<br>ifconfig_bridge0_name=3D"= ;vmbridge"<br>ifconfig_vmbridge=3D"addm em1 addm tap0 addm tap1 a= ddm tap2 addm tap3 addm tap4 addm tap5 up"<br>ifconfig_vmbridge_alias0= =3D"inet 172.16.0.1 netmask 255.255.255.0"</div><div>```<br><div>= What might have happened?</div><div><br></div><div><br></div><div>root@gw:/= home/wash # ifconfig vmbridge<br>vmbridge: flags=3D1008843<UP,BROADCAST,= RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500<br>=C2=A0 =C2=A0 = =C2=A0 =C2=A0 options=3D0<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 58:9c:fc:10:= df:1d<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 172.16.0.1 netmask 0xffffff00 bro= adcast 172.16.0.255<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 id 00:00:00:00:00:00 pri= ority 32768 hellotime 2 fwddelay 15<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 maxage 2= 0 holdcnt 6 proto rstp maxaddr 2000 timeout 1200<br>=C2=A0 =C2=A0 =C2=A0 = =C2=A0 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0<br>=C2=A0 = =C2=A0 =C2=A0 =C2=A0 member: tap5 flags=3D143<LEARNING,DISCOVER,AUTOEDGE= ,AUTOPTP><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ifm= axaddr 0 port 10 priority 128 path cost 2000000<br>=C2=A0 =C2=A0 =C2=A0 =C2= =A0 member: tap4 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP><br>= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ifmaxaddr 0 port 9 = priority 128 path cost 2000000<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 member: tap3 = flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP><br>=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ifmaxaddr 0 port 8 priority 128 path= cost 2000000<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 member: tap2 flags=3D143<LE= ARNING,DISCOVER,AUTOEDGE,AUTOPTP><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ifmaxaddr 0 port 7 priority 128 path cost 2000000<br>= =C2=A0 =C2=A0 =C2=A0 =C2=A0 member: tap1 flags=3D143<LEARNING,DISCOVER,A= UTOEDGE,AUTOPTP><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ifmaxaddr 0 port 6 priority 128 path cost 2000000<br>=C2=A0 =C2=A0 =C2= =A0 =C2=A0 member: tap0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP&g= t;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ifmaxaddr 0 p= ort 5 priority 128 path cost 2000000<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 member:= em1 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP><br>=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ifmaxaddr 0 port 2 priority 128 = path cost 55<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: bridge<br>=C2=A0 =C2=A0= =C2=A0 =C2=A0 nd6 options=3D9<PERFORMNUD,IFDISABLED><br>root@gw:/hom= e/wash # ssh 172.16.0.99<br>ssh: connect to host 172.16.0.99 port 22: Permi= ssion denied<br>root@gw:/home/wash # ssh 172.16.0.100<br>ssh: connect to ho= st 172.16.0.100 port 22: Permission denied<br>root@gw:/home/wash # ping 172= .16.0.100<br>PING 172.16.0.100 (172.16.0.100): 56 data bytes<br>ping: sendt= o: Permission denied<br>ping: sendto: Permission denied<br>ping: sendto: Pe= rmission denied<br>ping: sendto: Permission denied<br>^C<br>--- 172.16.0.10= 0 ping statistics ---<br>4 packets transmitted, 0 packets received, 100.0% = packet loss<br>root@gw:/home/wash # ping 172.16.0.99<br>PING 172.16.0.99 (1= 72.16.0.99): 56 data bytes<br>ping: sendto: Permission denied<br>ping: send= to: Permission denied<br>ping: sendto: Permission denied<br>^C<br>--- 172.1= 6.0.99 ping statistics ---<br>3 packets transmitted, 0 packets received, 10= 0.0% packet loss<br>root@gw:/home/wash # service dnsmasq status<br>dnsmasq = is running as pid 4190.<br>root@gw:/home/wash #<br></div><div><br></div><di= v><br clear=3D"all"><div><br></div><span class=3D"gmail_signature_prefix">-= - </span><br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"g= mail_signature"><div dir=3D"ltr"><div dir=3D"ltr"><div>Best regards,<br>Odh= iambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223</div><= div><span style=3D"color:rgb(34,34,34)">=C2=A0In=C2=A0</span><span style=3D= "color:rgb(34,34,34)">an Internet failure case, the #1 suspect is a constan= t: DNS.</span><br>"<span style=3D"font-size:12.8px">Oh, the cruft.</sp= an><span style=3D"font-size:12.8px">",=C2=A0</span><span style=3D"font= -size:12.8px">egrep -v '^$|^.*#'=C2=A0</span><span style=3D"backgro= und-color:rgb(34,34,34);color:rgb(238,238,238);font-family:"Lucida Con= sole",Consolas,"Courier New",monospace;font-size:13.6px">=C2= =AF\_(=E3=83=84)_/=C2=AF</span><span style=3D"font-size:12.8px">=C2=A0:-)</= span></div><div><span style=3D"font-size:12.8px">[How to ask smart question= s:=C2=A0</span><span style=3D"font-size:12.8px"><a href=3D"http://www.catb.= org/~esr/faqs/smart-questions.html" target=3D"_blank">http://www.catb.org/~= esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div></di= v></div> --0000000000007ef20c061cf946be--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WMaO8PPnFErZa0gcN-VPD6My4RtJB3u27BYi=8CWMZK=A>