Date: Fri, 23 Oct 2020 08:40:49 -0400 From: D'Arcy Cain <darcy@druid.net> To: Paul Vixie <paul@redbarn.org> Cc: Jason Tubnor <jason@tubnor.net>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: When is a switch not a switch? Message-ID: <e6936bf5-1344-e7e7-afdb-1e9c6323f37c@druid.net> In-Reply-To: <42e3d3f2-7cf3-568e-8714-086c699e9c33@redbarn.org> References: <57c32e6d-5572-3d3b-1a57-f3064bee7dc2@druid.net> <20201020065630.GE8272@funkthat.com> <CF189122-7D85-4BF1-9172-75D3EE0E77FB@punkt.de> <3ed627e2-d99a-107e-4135-8aef1ad4ec71@druid.net> <30A67F82-312E-4651-A5E7-2E2AD926FF24@punkt.de> <973b1b56-817f-6976-e5d3-34cfbc373b13@druid.net> <A075C069-1F89-428C-BDB7-7A9F44A4E283@punkt.de> <723CA318-80E9-4A6B-91ED-E791A40CC2C0@punkt.de> <6267599d-bc0c-6d63-bb19-1fc695e53997@druid.net> <CACLnyCJmLcRe-19iy2eZY8gxF9PGbzvaudTGEFcAHaMidL8XAw@mail.gmail.com> <b39bb54e-dd49-e7b6-5493-41f40a9ee74a@druid.net> <42e3d3f2-7cf3-568e-8714-086c699e9c33@redbarn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ORceTUgHN3bXMRtDXkn9hbBpzQi3eKQYr Content-Type: multipart/mixed; boundary="BZFN6xPDtys8019u320h7O067Cyy26GQs"; protected-headers="v1" From: D'Arcy Cain <darcy@druid.net> To: Paul Vixie <paul@redbarn.org> Cc: Jason Tubnor <jason@tubnor.net>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Message-ID: <e6936bf5-1344-e7e7-afdb-1e9c6323f37c@druid.net> Subject: Re: When is a switch not a switch? References: <57c32e6d-5572-3d3b-1a57-f3064bee7dc2@druid.net> <20201020065630.GE8272@funkthat.com> <CF189122-7D85-4BF1-9172-75D3EE0E77FB@punkt.de> <3ed627e2-d99a-107e-4135-8aef1ad4ec71@druid.net> <30A67F82-312E-4651-A5E7-2E2AD926FF24@punkt.de> <973b1b56-817f-6976-e5d3-34cfbc373b13@druid.net> <A075C069-1F89-428C-BDB7-7A9F44A4E283@punkt.de> <723CA318-80E9-4A6B-91ED-E791A40CC2C0@punkt.de> <6267599d-bc0c-6d63-bb19-1fc695e53997@druid.net> <CACLnyCJmLcRe-19iy2eZY8gxF9PGbzvaudTGEFcAHaMidL8XAw@mail.gmail.com> <b39bb54e-dd49-e7b6-5493-41f40a9ee74a@druid.net> <42e3d3f2-7cf3-568e-8714-086c699e9c33@redbarn.org> In-Reply-To: <42e3d3f2-7cf3-568e-8714-086c699e9c33@redbarn.org> --BZFN6xPDtys8019u320h7O067Cyy26GQs Content-Type: multipart/mixed; boundary="------------1D50B990EDBAF03DA8D636CB" Content-Language: en-US This is a multi-part message in MIME format. --------------1D50B990EDBAF03DA8D636CB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 10/22/20 6:50 PM, Paul Vixie wrote: > here's how i do it, per years-ago documentation to this effect: >=20 >> autobridge_interfaces=3D"bridge0" autobridge_bridge0=3D"tap* igb1"=20 Will that work if I have two networks? autobridge_interfaces=3D"bridge0" autobridge_bridge0=3D"tap* bge0" autobridge_interfaces=3D"bridge1" autobridge_bridge1=3D"tap* bge1" Seems like it would get confused about which tap to assign to which bridg= e. >> ifconfig_igb1=3D"up media 1000baseTX fib 1" cloned_interfaces=3D"bridg= e0 tap0=20 >> tap1 tap2 tap3 tap4 tap5 tap6 tap7" Again, they aren't all assigned to one bridge. Probably the even taps wo= uld=20 go to one and the odd taps to the other but that's not guaranteed. >> ifconfig_bridge0=3D"inet 24.104.150.210/27 fib 1"=20 >> ifconfig_bridge0_ipv6=3D"inet6 2001:559:8000:cd::2/64 fib 1 auto_linkl= ocal up" >> ifconfig_tap0=3D"up fib 1" >> ifconfig_tap1=3D"up fib 1" >> ifconfig_tap2=3D"up fib 1" >> ifconfig_tap3=3D"up fib 1" >> ifconfig_tap4=3D"up fib 1" >> ifconfig_tap5=3D"up fib 1" >> ifconfig_tap6=3D"up fib 1" >> ifconfig_tap7=3D"up fib 1" >=20 > note, fib 1 is a detail here, just gives me a different default route f= or=20 > the virtual machines. In my case I want to make the default route the same as the host's. > autobridge_* (rc.conf(5)) is what you'll need for that. See above. --=20 D'Arcy J.M. Cain <darcy@druid.net> | 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. --------------1D50B990EDBAF03DA8D636CB-- --BZFN6xPDtys8019u320h7O067Cyy26GQs-- --ORceTUgHN3bXMRtDXkn9hbBpzQi3eKQYr Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQSQJTNYM0vv3aTmBCs/5DDweYZnXQUCX5LPUQUDAAAAAAAKCRA/5DDweYZnXVUU AP9RbWav2skChlghoGaU3WlMxa399TQqY2bB8s//1ipxQwD+JuY2yZM7cHxsLGuAsz7Axb1GPsIl L/wo82xiP8kyiQg= =2iKu -----END PGP SIGNATURE----- --ORceTUgHN3bXMRtDXkn9hbBpzQi3eKQYr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e6936bf5-1344-e7e7-afdb-1e9c6323f37c>