ifupdown_0.8.17ubuntu1.1 doesn't assign static ipv4 and ipv6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Upgraded from 16.06 to 18.04.5. 1 interface has issues coming up. The only thing that is different is that this interface has both ipv4 and ipv6 addresses.
eg
auto eth6
iface eth6 inet6 static
address 2001:1ffb:
gateway 2001:1ffb:ffe:1::1
iface eth6 inet static
address 10.155.240.122/29
gateway 10.155.240.121
# dns-nameservers 8.8.8.8
If I comment out either the v6 or v4 config, then it works.
Also v6 seems to show dadfailed tentative until I down and up the link, then the ip address is gone
jsvm-1a-de:~$ ip -c address list dev eth6
8: eth6: <BROADCAST,
link/ether 52:54:00:9e:f3:76 brd ff:ff:ff:ff:ff:ff
inet6 2001:1ffb:
valid_lft forever preferred_lft forever
inet6 fe80::5054:
valid_lft forever preferred_lft forever
jsvm-1a-de:~$ ip link set dev eth6 down
RTNETLINK answers: Operation not permitted
jsvm-1a-de:~$ sudo ip link set dev eth6 down
jsvm-1a-de:~$ sudo ip link set dev eth6 up
jsvm-1a-de:~$ ip -c address list dev eth6
8: eth6: <BROADCAST,
link/ether 52:54:00:9e:f3:76 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5054:
I believe this is due to https:/
as if I add pre-up echo 0 > /proc/sys/
the link come up with both addresses.
valid_lft forever preferred_lft forever
jsvm-1a-de:~$
jsvm-1a-de:~$ sudo apt list --installed | grep net-tools
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
net-tools/
jsvm-1a-de:~$ sudo apt list --installed | grep ifupdown
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
ifupdown/
jsvm-1a-de:~$