From owner-freebsd-virtualization@freebsd.org Thu Oct 22 02:47:57 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 491D943B86D for ; Thu, 22 Oct 2020 02:47:57 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [98.158.139.68]) by mx1.freebsd.org (Postfix) with ESMTP id 4CGsGz6KJxz4DZm for ; Thu, 22 Oct 2020 02:47:55 +0000 (UTC) (envelope-from darcy@druid.net) Received: from imp.druid.net (unknown [98.158.128.36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id 9FE733CCE4; Wed, 21 Oct 2020 22:47:47 -0400 (EDT) To: "Patrick M. Hausen" Cc: freebsd-virtualization@freebsd.org References: <57c32e6d-5572-3d3b-1a57-f3064bee7dc2@druid.net> <20201020065630.GE8272@funkthat.com> <3ed627e2-d99a-107e-4135-8aef1ad4ec71@druid.net> <30A67F82-312E-4651-A5E7-2E2AD926FF24@punkt.de> <973b1b56-817f-6976-e5d3-34cfbc373b13@druid.net> <723CA318-80E9-4A6B-91ED-E791A40CC2C0@punkt.de> From: D'Arcy Cain Autocrypt: addr=darcy@druid.net; keydata= xjMEXu32OxYJKwYBBAHaRw8BAQdAD839OEQVMqCs45KVwLKg4srvl51WsVhMpTGOd9z3Ym3N HUQnQXJjeSBDYWluIDxkYXJjeUBkcnVpZC5uZXQ+wpYEExYIAD4WIQSQJTNYM0vv3aTmBCs/ 5DDweYZnXQUCXu32OwIbAwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRA/5DDw eYZnXWAxAP9cDL1j4koUFRBNQyC4iMp/cx5KnozmtsFtiTrWdZBrIwD6A2rLFx60tJryd/qp SZpXk7UPDLH/PY1hstjx9WUbXQjOOARe7fY7EgorBgEEAZdVAQUBAQdAbK0SOaTRrkI2QAWz rCz29D2RDOgGTvEbDpyWiyA5RhQDAQgHwn4EGBYIACYWIQSQJTNYM0vv3aTmBCs/5DDweYZn XQUCXu32OwIbDAUJCWYBgAAKCRA/5DDweYZnXaNOAQDC77ymNjoMZQVgDCcmgZEk6IZxn45k nyW17OYCpRctvgD9Fg3aocAbHK7V9AhmSbDPxLNQygQUPjjU7Cyn97b1cQs= Subject: Re: When is a switch not a switch? Message-ID: <6267599d-bc0c-6d63-bb19-1fc695e53997@druid.net> Date: Wed, 21 Oct 2020 22:47:46 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: <723CA318-80E9-4A6B-91ED-E791A40CC2C0@punkt.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9VWmIojpVNM5X2IX12FC5MMzT25Cz4Atj" X-Rspamd-Queue-Id: 4CGsGz6KJxz4DZm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of darcy@druid.net has no SPF policy when checking 98.158.139.68) smtp.mailfrom=darcy@druid.net X-Spamd-Result: default: False [-1.65 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.69)[-0.685]; NEURAL_HAM_LONG(-0.98)[-0.978]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain,application/pgp-keys]; DMARC_NA(0.00)[druid.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.12)[0.116]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:+,5:~]; ASN(0.00)[asn:19842, ipnet:98.158.139.0/24, country:CA]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_COUNT_TWO(0.00)[2] X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 02:47:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9VWmIojpVNM5X2IX12FC5MMzT25Cz4Atj Content-Type: multipart/mixed; boundary="yd7Jtb4AgJcLURycmM9kV28eMgqUwZlUx"; protected-headers="v1" From: D'Arcy Cain To: "Patrick M. Hausen" Cc: freebsd-virtualization@freebsd.org Message-ID: <6267599d-bc0c-6d63-bb19-1fc695e53997@druid.net> Subject: Re: When is a switch not a switch? References: <57c32e6d-5572-3d3b-1a57-f3064bee7dc2@druid.net> <20201020065630.GE8272@funkthat.com> <3ed627e2-d99a-107e-4135-8aef1ad4ec71@druid.net> <30A67F82-312E-4651-A5E7-2E2AD926FF24@punkt.de> <973b1b56-817f-6976-e5d3-34cfbc373b13@druid.net> <723CA318-80E9-4A6B-91ED-E791A40CC2C0@punkt.de> In-Reply-To: <723CA318-80E9-4A6B-91ED-E791A40CC2C0@punkt.de> --yd7Jtb4AgJcLURycmM9kV28eMgqUwZlUx Content-Type: multipart/mixed; boundary="------------2417412F780BCE09EB82A2CF" Content-Language: en-US This is a multi-part message in MIME format. --------------2417412F780BCE09EB82A2CF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 10/20/20 7:52 AM, Patrick M. Hausen wrote: > What you need to configure depends on your hardware. > I made a table for the various interfaces we use at our place: >=20 > em: -rxcsum -txcsum -lro -vlanmtu -vlanhwcsum -vlanhwfilter -vlanhwtag= up > igb: -rxcsum -rxcsum6 -txcsum -txcsum6 -tso -vlanhwtag -vlanhwtso up I have bge(4) cards. This seems to be the correct one for me. It still doesn't work. Here is the relevant lines from my rc.conf. I ma= y=20 as well use the actual values. This is verbatim. ifconfig_eth0=3D"-rxcsum -rxcsum6 -txcsum -txcsum6 -tso -vlanhwtag=20 -vlanhwtso up" cloned_interfaces=3D"bridge0 bridge1" ifconfig_bridge0_name=3D"public" ifconfig_public=3D"addm eth0 up" ifconfig_public_alias0=3D"inet 0x629e8b${me}/27" ifconfig_public_alias0_ipv6=3D"inet6 2605:2600:1001::${me}/64" defaultrouter=3D"98.158.139.94" ipv6_defaultrouter=3D2605:2600:1001::1 Note that "me" is set to the hex value of the last octet, 65 in this case= =2E Here is what the interfaces look like: eth0: flags=3D8943 metric= 0=20 mtu 1500 options=3D80088 ether 14:02:ec:31:60:d0 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 public: flags=3D8843 metric 0 mtu= 1500 ether 02:9d:b2:b8:78:00 inet 98.158.139.65 netmask 0xffffffe0 broadcast 98.158.139.95 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: eth0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 55 groups: bridge nd6 options=3D9 tap0: flags=3D8843 metric 0 mtu 1= 500 description: vmnet-BASE-0-public options=3D80000 ether 00:bd:5f:56:f8:00 groups: tap vm-port media: Ethernet autoselect status: active nd6 options=3D29 Opened by PID 3679 In the VM I set the IP to 71 on the same network. Here is what that look= s like: vtnet0: flags=3D8943 metr= ic 0=20 mtu 1500 options=3D80028 ether 22:22:22:22:22:00 inet 98.158.139.71 netmask 0xffffffe0 broadcast 98.158.139.95 media: Ethernet 10Gbase-T status: active nd6 options=3D29 Everything looks correct but I can't even ping between the host and the V= M. --=20 D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net Disclaimer: By sending an email to ANY of my addresses you are agreeing that: 1. I am by definition, "the intended recipient". 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it where I please. 3. I may take the contents as representing the views of your company if I so wish. 4. This overrides any disclaimer or statement of confidentiality that may be included or implied in your message. --------------2417412F780BCE09EB82A2CF-- --yd7Jtb4AgJcLURycmM9kV28eMgqUwZlUx-- --9VWmIojpVNM5X2IX12FC5MMzT25Cz4Atj Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQSQJTNYM0vv3aTmBCs/5DDweYZnXQUCX5Dy0gUDAAAAAAAKCRA/5DDweYZnXcj7 AQDFzKjc7jNBPjQIuy/Z5sijlKJgg4xUazq4vugZR+sDhQEAnuXV1aknXHs8IZr9Ws37gPrHiJZ5 uVS4J4is5xT5AAM= =n+GF -----END PGP SIGNATURE----- --9VWmIojpVNM5X2IX12FC5MMzT25Cz4Atj--