Re: Bhyve Guest Network Troubles

2018-08-10 Thread David Powers via freebsd-virtualization
Good afternoon,

Both the host and guest are freebsd 11.2.
The guest is actually a live CD boot to work out the configuration.
The host does have connectivity to the Internet via its default route.

Host
——
root@FreeBSDHost:~ # uname -a
FreeBSD FreeBSDHost.davehome.local 11.2-RELEASE-p1 FreeBSD 11.2-RELEASE-p1 #0: 
Sun Aug  5 12:04:13 UTC 2018 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
root@FreeBSDHost:~ # ifconfig -a
igb0: flags=8943 metric 0 mtu 
1500

options=6403bb
ether 00:25:90:f4:74:56
hwaddr 00:25:90:f4:74:56
inet 192.168.1.75 netmask 0xff00 broadcast 192.168.1.255 
nd6 options=29
media: Ethernet autoselect (1000baseT )
status: active
igb1: flags=8943 metric 0 mtu 
1500

options=6403bb
ether 00:25:90:f4:74:57
hwaddr 00:25:90:f4:74:57
inet 192.168.10.200 netmask 0xff00 broadcast 192.168.10.255 
nd6 options=29
media: Ethernet autoselect (1000baseT )
status: active
igb2: flags=8c02 metric 0 mtu 1500

options=6403bb
ether 00:25:90:f4:74:58
hwaddr 00:25:90:f4:74:58
nd6 options=29
media: Ethernet autoselect
status: no carrier
igb3: flags=8c02 metric 0 mtu 1500

options=6403bb
ether 00:25:90:f4:74:59
hwaddr 00:25:90:f4:74:59
nd6 options=29
media: Ethernet autoselect
status: no carrier
lo0: flags=8049 metric 0 mtu 16384
options=63
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
inet 127.0.0.1 netmask 0xff00 
nd6 options=21
groups: lo 
vm-snet3: flags=8843 metric 0 mtu 1500
ether fa:59:16:f5:07:43
inet 192.168.3.1 netmask 0xff00 broadcast 192.168.3.255 
nd6 options=1
groups: bridge vm-switch viid-04c92@ 
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: igb1.3 flags=143
ifmaxaddr 0 port 7 priority 128 path cost 55
member: tap0 flags=143
ifmaxaddr 0 port 12 priority 128 path cost 200
vm-cnet2: flags=8843 metric 0 mtu 1500
ether 2e:19:74:e4:3e:dd
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255 
nd6 options=1
groups: bridge vm-switch viid-1e291@ 
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: igb1.2 flags=143
ifmaxaddr 0 port 9 priority 128 path cost 2
igb1.2: flags=8943 metric 0 mtu 
1500
description: vm-vlan-cnet2-igb1.2
options=600303
ether 00:25:90:f4:74:57
inet6 fe80::225:90ff:fef4:7457%igb1.2 prefixlen 64 scopeid 0x9 
nd6 options=21
media: Ethernet autoselect (1000baseT )
status: active
vlan: 2 vlanpcp: 0 parent interface: igb1
groups: vlan vm-vlan viid-dd265@ 
vm-gnet5: flags=8843 metric 0 mtu 1500
ether 02:48:27:ed:e7:d2
inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255 
nd6 options=1
groups: bridge vm-switch viid-13459@ 
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: igb1.5 flags=143
ifmaxaddr 0 port 11 priority 128 path cost 2
igb1.5: flags=8943 metric 0 mtu 
1500
description: vm-vlan-gnet5-igb1.5
options=600303
ether 00:25:90:f4:74:57
inet6 fe80::225:90ff:fef4:7457%igb1.5 prefixlen 64 scopeid 0xb 
nd6 options=21
media: Ethernet autoselect (1000baseT )
status: active
vlan: 5 vlanpcp: 0 parent interface: igb1
groups: vlan vm-vlan viid-2eab2@ 
tap0: flags=8943 metric 0 mtu 
1500
description: vmnet-testvm-0-snet3
options=8
ether 00:bd:69:70:fb:00
hwaddr 00:bd:69:70:fb:00
inet6 fe80::2bd:69ff:fe70:fb00%tap0 prefixlen 64 tentative scopeid 0xc 
nd6 options=29
media: Ethernet autoselect
status: active
groups: tap vm-port 
Opened by PID 3343
igb1.3: flags=8943 metric 0 mtu 
1500
description: vm-vlan-snet3-igb1.3
options=21
ether 00:25:90:f4:74:57
inet6 fe80::225:90ff:fef4:7457%igb1.3 prefixlen 64 scopeid 0x7 
nd6 options=21
media: Ethernet autoselect (1000baseT )
status: active
vlan: 3 vlanpcp: 0 parent interface: igb1
groups: vlan vm-vlan viid-20a6f@ 
vm-inet1: flags=8843 metric 0 mtu 1500
ether 86:21:60:0f:9c:f1
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 
  

Re: Bhyve Guest Network Troubles

2018-08-10 Thread Jakub Chromy

...

does your WAN (eg. internet) interface have any IP assigned...?

I mean your bhyve hypervisor...

--


   regards / s pozdravem


Jakub Chromy


CGI Systems div.

CGI CZ s.r.o.
sa...@cgi.cz
775 144 257
234 697 102
www.cgi.cz

On 10.8.2018 11:29, David Powers via freebsd-virtualization wrote:

Good morning,

I am sure this is a common issue, but I was unable to find a way to search the 
list archives in an attempt to find a potential answer.

I have a test vm running in Bhyve that is able to reach all interfaces on its 
host via icmp.
However, the guest is unable to reach the default route of the host, and thus 
no Internet.
I was hoping that someone might be able to help take a look at my config and 
spot the potential issue(s), but not sure what information would be most 
helpful.
When I run a tcpdump I can see the traffic on the tap and bridge that the guest 
is attached to.
However, I never observe the traffic on any of the physical interfaces.

Blessings,

David Powers


Ephesians 2 14-16

For he himself is our peace, who has made the two groups one and has destroyed 
the barrier, the dividing wall of hostility, by setting aside in his flesh the 
law with its commands and regulations. His purpose was to create in himself one 
new humanity out of the two, thus making peace, and in one body to reconcile 
both of them to God through the cross, by which he put to death their hostility.

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve Guest Network Troubles

2018-08-10 Thread Farid Joubbi
I had a similar problem. I had to turn off TCP offloading and other
hardware offloading features on the NIC for it to work.

On Fri, Aug 10, 2018, 12:31 David Powers via freebsd-virtualization <
freebsd-virtualization@freebsd.org> wrote:

> Good morning,
>
> I am sure this is a common issue, but I was unable to find a way to search
> the list archives in an attempt to find a potential answer.
>
> I have a test vm running in Bhyve that is able to reach all interfaces on
> its host via icmp.
> However, the guest is unable to reach the default route of the host, and
> thus no Internet.
> I was hoping that someone might be able to help take a look at my config
> and spot the potential issue(s), but not sure what information would be
> most helpful.
> When I run a tcpdump I can see the traffic on the tap and bridge that the
> guest is attached to.
> However, I never observe the traffic on any of the physical interfaces.
>
> Blessings,
>
> David Powers
>
>
> Ephesians 2 14-16
>
> For he himself is our peace, who has made the two groups one and has
> destroyed the barrier, the dividing wall of hostility, by setting aside in
> his flesh the law with its commands and regulations. His purpose was to
> create in himself one new humanity out of the two, thus making peace, and
> in one body to reconcile both of them to God through the cross, by which he
> put to death their hostility.
>
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscr...@freebsd.org"
>
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve Guest Network Troubles

2018-08-10 Thread Patrick M. Hausen
Hi,

> Am 10.08.2018 um 11:29 schrieb David Powers via freebsd-virtualization 
> :
> I have a test vm running in Bhyve that is able to reach all interfaces on its 
> host via icmp.
> However, the guest is unable to reach the default route of the host, and thus 
> no Internet.
> I was hoping that someone might be able to help take a look at my config and 
> spot the potential issue(s), but not sure what information would be most 
> helpful.

What OS is the guest running?

Please provide

ifconfig -a
netstat -rn

of both host and guest.

Kind regards,
Patrick
-- 
punkt.de GmbH   Internet - Dienstleistungen - Beratung
Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe i...@punkt.de   http://punkt.de
AG Mannheim 108285  Gf: Juergen Egeling

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Bhyve Guest Network Troubles

2018-08-10 Thread David Powers via freebsd-virtualization
Good morning,

I am sure this is a common issue, but I was unable to find a way to search the 
list archives in an attempt to find a potential answer.

I have a test vm running in Bhyve that is able to reach all interfaces on its 
host via icmp.
However, the guest is unable to reach the default route of the host, and thus 
no Internet.
I was hoping that someone might be able to help take a look at my config and 
spot the potential issue(s), but not sure what information would be most 
helpful.
When I run a tcpdump I can see the traffic on the tap and bridge that the guest 
is attached to.
However, I never observe the traffic on any of the physical interfaces.

Blessings,

David Powers


Ephesians 2 14-16

For he himself is our peace, who has made the two groups one and has destroyed 
the barrier, the dividing wall of hostility, by setting aside in his flesh the 
law with its commands and regulations. His purpose was to create in himself one 
new humanity out of the two, thus making peace, and in one body to reconcile 
both of them to God through the cross, by which he put to death their hostility.

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"