please add a cmdline option to chose between ipv4, ipv6, or dual-stack network boot

Bug #1631010 reported by LaMont Jones
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Wishlist
Unassigned

Bug Description

Right now, I can boot with "ip=::::hostname:BOOTIF" in the kernel commandline, and (after bug 1621507), I get whatever it came up with for ipv4 and ipv6. If for nothing more than testing on a dual-stack environment, it would be nice to be able to force that to try both (current behavior, and an excellent default), only try IPv4, or only IPv6.

NOT something that needs to be fixed before yakkety, but would be nice to eventually get back to xenial.

LaMont Jones (lamont)
Changed in initramfs-tools (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Scott Moser (smoser) wrote :

I put a branch at https://code.launchpad.net/~smoser/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+ref/lp-1631010 with a fix for this.

other improvements too:
    improvements to dhclient handing of ip= command lines.

    Improvemnts here are:
     a.) do not leave /run/net-* around if dhclient failed
     b.) support ip6= on the kernel cmdline
         ip6=
            off : default. ip= does not mean to do ipv6
            only : only do ipv6 (no ipv4)
            on : always do ipv6 even if ipv4 succeeded.
            iff : do ipv6 if and only if ipv4 fails
     c.) wait for link local address to settle (dad) before
         attempting to dhcp -6
     d.) do not run through the dhcp configure once for each ROUNDTTT

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.