I used the ready made .ISO image from freebsd.org for the Hyper-V machine. I have issues with unstable networking. The network sometimes works, sometimes doesn't. I have no idea why.
When it doesn't work, if I try
Oh, and when it doesn't work... if I leave it alone, after a while, it works again! Very strange!
Strange thing I noticed, when the network doesn't work, if I write "netstat -r", it takes a long time, maybe 10-20 seconds for it to answer... but when it works, "netstat -r" responds very quickly, less than a second.
Any ideas what to do?
Ps. I'm sorry I post screenshots instead of text but I have no idea how to copy/paste from Hyper-V console.
When things "work", this is what I see:
My resolv.conf



When it doesn't work, if I try
ifconfig de0 down/up
and dhclient de0
it comes up... works for a while then if I leave the machine a few minutes, it goes down again. For example ping google.com
won't work at all. Strange thing is everything shows "OK". The screenshots here I provide is from "ifconfig""resolve.conf""netstat -r", these are taken while "ping google.com" does NOT work.Oh, and when it doesn't work... if I leave it alone, after a while, it works again! Very strange!
Strange thing I noticed, when the network doesn't work, if I write "netstat -r", it takes a long time, maybe 10-20 seconds for it to answer... but when it works, "netstat -r" responds very quickly, less than a second.
Any ideas what to do?

Ps. I'm sorry I post screenshots instead of text but I have no idea how to copy/paste from Hyper-V console.

Code:
ifconfig_de0="SYNCDHCP"
When things "work", this is what I see:
Code:
root@freebsd.home:~ # ifconfig
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:5d:01:57:0b
inet 192.168.1.81 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Code:
root@freebsd.home:~ # netstat -r
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.1 UGS de0
localhost link#2 UH lo0
192.168.1.0 link#1 U de0
192.168.1.81 link#1 UHS lo0
Internet6:
Destination Gateway Flags Netif Expire
:: localhost UGRS lo0
localhost link#2 UH lo0
::ffff:0.0.0.0 localhost UGRS lo0
fe80:: localhost UGRS lo0
fe80::%lo0 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff01::%lo0 localhost U lo0
ff02:: localhost UGRS lo0
ff02::%lo0 localhost U lo0
Code:
# Generated by resolvconf
search lan
# nameserver 192.168.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4



Last edited by a moderator: