From owner-freebsd-net@freebsd.org Thu Oct 29 11:02:34 2020 Return-Path: Delivered-To: freebsd-net@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 558A844B973 for ; Thu, 29 Oct 2020 11:02:34 +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 4CMMwT6BYtz4Y0L for ; Thu, 29 Oct 2020 11:02:33 +0000 (UTC) (envelope-from darcy@druid.net) Received: from imp.druid.net (unknown [38.64.181.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id 789044023D for ; Thu, 29 Oct 2020 07:02:02 -0400 (EDT) To: freebsd-net@freebsd.org References: 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: Network woes Message-ID: <4598d9be-4be8-9b54-9128-d840c8283f73@druid.net> Date: Thu, 29 Oct 2020 07:02:01 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="krnHktJ64e7ZyFuZa6XbbC10ix0eHMO1Q" X-Rspamd-Queue-Id: 4CMMwT6BYtz4Y0L 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 [-2.02 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.91)[-0.906]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain,application/pgp-keys]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_SPAM_SHORT(0.89)[0.891]; DMARC_NA(0.00)[druid.net]; NEURAL_HAM_MEDIUM(-0.90)[-0.901]; 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]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net] X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2020 11:02:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --krnHktJ64e7ZyFuZa6XbbC10ix0eHMO1Q Content-Type: multipart/mixed; boundary="gdYkeuhfP48xuX6g6PEuxrOn3BymUjtwi"; protected-headers="v1" From: D'Arcy Cain To: freebsd-net@freebsd.org Message-ID: <4598d9be-4be8-9b54-9128-d840c8283f73@druid.net> Subject: Network woes References: In-Reply-To: --gdYkeuhfP48xuX6g6PEuxrOn3BymUjtwi Content-Type: multipart/mixed; boundary="------------62E6E453749F568BC4716551" Content-Language: en-US This is a multi-part message in MIME format. --------------62E6E453749F568BC4716551 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable NOTE: Was "Bridge woes" On 10/25/20 1:32 PM, D'Arcy Cain wrote: > I have been trying to solve this problem for a week now.=C2=A0 I have b= een=20 > emailing the virtualization list (Re: When is a switch not a switch?)=20 > because it had to do with vm-bhyve but now I am wondering if it is some= thing=20 > else.=C2=A0 Maybe some of the network experts here can help. Turns out it has nothing to do with virtualization. It never occurred to= me=20 to test that the host could access the Internet since I had no problem=20 connecting and logging in. However, everything I described for the VM=20 applies to the host as well. Here is my current setup. In rc.conf I have this: hostname=3D"vm01.vex.net" me=3D41 # last octet of IP in hex I then include a common rc.conf that includes this: set -- $(/sbin/ifconfig -l ether); eth0=3D$1 eth1=3D$2 eval "ifconfig_${eth0}_name=3D\"eth0\"" eval "ifconfig_${eth1}_name=3D\"eth1\"" ifconfig_eth0=3D"inet 0x629e8b${me}/27 up" ifconfig_eth1=3D"inet 0xc0a897${me}/24 up" ifconfig_eth0_ipv6=3D"inet6 2605:2600:1001::${me}/64 up" ifconfig_eth1_ipv6=3D"inet6 fc00:97:97::${me}/64 up" defaultrouter=3D"98.158.139.94" ipv6_defaultrouter=3D2605:2600:1001::1 So I can now connect, by IP address, to 98.158.139.77 but to no other ser= ver=20 on my network. They all have no trouble connecting to this host. No oth= er=20 server in my network has this problem. Here is eth0 which started out as bge0: bge0: mem=20 0x92b90000-0x92b9ffff,0x92ba0000-0x92baffff,0x92bb0000-0x92bbffff at device 0.0 numa-domain 0 on pci15 bge0: APE FW version: NCSI v1.3.7.0 bge0: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E eth0: flags=3D8843 metric 0 mtu 1= 500 options=3D80088 ether 14:02:ec:31:60:d0 inet 98.158.139.65 netmask 0xffffffe0 broadcast 98.158.139.95 inet6 fe80::1602:ecff:fe31:60d0%eth0 prefixlen 64 scopeid 0x1 inet6 2605:2600:1001::41 prefixlen 64 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D21 And here is one that works fine: bge0: =20 mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci4 bge0: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E eth0: flags=3D8843 metric 0 mtu 1= 500 options=3D8009b ether 00:21:9b:fc:d4:8b inet 98.158.139.92 netmask 0xffffffe0 broadcast 98.158.139.95 inet6 fe80::221:9bff:fefc:d48b%eth0 prefixlen 64 scopeid 0x1 inet6 2605:2600:1001::5c prefixlen 64 media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D21 Surprisingly, although I have other HPs, this is the only one that has a = network card labelled HP. Could it be that HP needs something special = in=20 the network setup? =20 =20 --=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. --------------62E6E453749F568BC4716551-- --gdYkeuhfP48xuX6g6PEuxrOn3BymUjtwi-- --krnHktJ64e7ZyFuZa6XbbC10ix0eHMO1Q Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnoEABYIACMWIQSQJTNYM0vv3aTmBCs/5DDweYZnXQUCX5qhKQUDAAAAAAAKCRA/5DDweYZnXZYT APUXVj+yiZS1Kmpx0J/SSlpwoGfUuY9SAtakdZfS+FEDAQCHjOucrNwjY3SBMg5k6k76l7KSTbsl F8KcreU6oPthDA== =p/A/ -----END PGP SIGNATURE----- --krnHktJ64e7ZyFuZa6XbbC10ix0eHMO1Q--