[Bug 270942] FreeBSD Handbook section on VLANs example doesn't up the parent interface

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Apr 2023 22:37:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270942

            Bug ID: 270942
           Summary: FreeBSD Handbook section on VLANs example doesn't up
                    the parent interface
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Website
          Assignee: doc@FreeBSD.org
          Reporter: leres@freebsd.org

I haven't used VLANs with FreeBSD in a bit so I check the handbook to see how
to do it. This is the example that is provided:

    vlans_em0="5"
    ifconfig_em0_5="inet 192.168.20.20/24"

(Which manes use of network.subr helper sh code.) However when I did something
similar it didn't work. I eventually figured out my problem was that the parent
interface was down; once I brought it up things start working.

Would it be reasonable to add:

    ifconfig_em0="up"

to the handbook example?

-- 
You are receiving this mail because:
You are the assignee for the bug.