Date: Sun, 15 May 2022 12:32:49 +0000 From: Benoit Chesneau <benoitc@enki-multimedia.eu> To: "freebsd-net@FreeBSD.org" <freebsd-net@FreeBSD.org> Subject: tap0 don't receive anything in a vm Message-ID: <kp7ZKmZfegE1lJU7OybWGBgBN5Oo8FkJNM25vZBEzM6hrU0km9iRKIwICKlo6Wt5e29pACahMKGWCX2fuGHTNDDZ7U3gnn6fGeZRX-12zuE=@enki-multimedia.eu>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] My goal is to setup a p2p connection between the host and a guest vm and use the host as the nethop for the vm. I'm uskng bhyve for this setup: 1. on the host i create a tap tap0 interface and assign to it the IP 10.1.0,1 2. i create and start the vm using vm-bhyve. 3. in the vm I set the vtnet0 interface to 10.1.0.2 and set the default router to 10.1.0.1. i can ping the host but nothing up. When i run tcpdump on the host for this interface i can see the ping reply coming but it doesn't go to the guest. Any idea what's wrong? could it be related to the setup of the console port in bhyve? -l com1,stdio . Thoughts? Benoît [-- Attachment #2 --] <html><head></head><body> <div>My goal is to setup a p2p connection between the host and a guest vm and use the host as the nethop for the vm. I'm uskng bhyve for this setup:</div><div><br></div><div>1. on the host i create a tap tap0 interface and assign to it the IP 10.1.0,1</div>2. i create and start the vm using vm-bhyve.<div>3. in the vm I set the vtnet0 interface to 10.1.0.2 and set the default router to 10.1.0.1. </div><div><br></div><div>i can ping the host but nothing up. When i run tcpdump on the host for this interface i can see the ping reply coming but it doesn't go to the guest. Any idea what's wrong? could it be related to the setup of the console port in bhyve? -l com1,stdio . </div><div><br></div><div>Thoughts?</div><div><br></div><div><br></div><div> <div id="protonmail_mobile_signature_block"><div>Benoît<caret></caret></div></div></div></body></html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kp7ZKmZfegE1lJU7OybWGBgBN5Oo8FkJNM25vZBEzM6hrU0km9iRKIwICKlo6Wt5e29pACahMKGWCX2fuGHTNDDZ7U3gnn6fGeZRX-12zuE=>
