When is a switch not a switch?
D'Arcy Cain
darcy at druid.net
Fri Oct 23 12:40:58 UTC 2020
On 10/22/20 6:50 PM, Paul Vixie wrote:
> here's how i do it, per years-ago documentation to this effect:
>
>> autobridge_interfaces="bridge0" autobridge_bridge0="tap* igb1"
Will that work if I have two networks?
autobridge_interfaces="bridge0" autobridge_bridge0="tap* bge0"
autobridge_interfaces="bridge1" autobridge_bridge1="tap* bge1"
Seems like it would get confused about which tap to assign to which bridge.
>> ifconfig_igb1="up media 1000baseTX fib 1" cloned_interfaces="bridge0 tap0
>> tap1 tap2 tap3 tap4 tap5 tap6 tap7"
Again, they aren't all assigned to one bridge. Probably the even taps would
go to one and the odd taps to the other but that's not guaranteed.
>> ifconfig_bridge0="inet 24.104.150.210/27 fib 1"
>> ifconfig_bridge0_ipv6="inet6 2001:559:8000:cd::2/64 fib 1 auto_linklocal up"
>> ifconfig_tap0="up fib 1"
>> ifconfig_tap1="up fib 1"
>> ifconfig_tap2="up fib 1"
>> ifconfig_tap3="up fib 1"
>> ifconfig_tap4="up fib 1"
>> ifconfig_tap5="up fib 1"
>> ifconfig_tap6="up fib 1"
>> ifconfig_tap7="up fib 1"
>
> note, fib 1 is a detail here, just gives me a different default route for
> 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.
--
D'Arcy J.M. Cain <darcy at 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 at VybeNetworks.com, VoIP: sip:darcy at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20201023/ce8b80e0/attachment.sig>
More information about the freebsd-virtualization
mailing list