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 <da...@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: da...@vybenetworks.com, VoIP: sip:da...@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.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to