---Problem Description---
Bond interface with automatic ipv4 mode and manual ipv6 mode fails to get automatic ipv4 assigned from dhcp server.
---uname output---
Linux NetworkTest 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 13:42:17 UTC 2018 s390x s390x s390x GNU/Linux
Machine Type = s390x
---Debugger---
A debugger is not configured
---Steps to Reproduce---
When user configures ipv4 as automatic and ipv6 as manual for bond interface automatic ipv4 is not getting assigned.
Looks like dhcp client request for ipv4 is not done to dhcp server after maunal ipv6 is assigned quickly to bond interface
This issue will not happen in below cases:
1)with ipv4 automatic and ipv6 manual configuration for ethernet or vlan interface.
2)with ipv4 automatic and ipv6 automatic configuration for bond interface
3)with ipv4 automatic and ipv6 disabled configuration for bond interface
Configuration:
Bond interface, ipv4 automatic mode and ipv6 automatic mode
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPDISCOVER on test_bond to 255.255.255.255 port 67 interval 3 (xid=0x5e04bf1e)
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPREQUEST of 10.2.3.55 on test_bond to 255.255.255.255 port 67 (xid=0x5e04bf1e)
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPOFFER of 10.2.3.55 from 10.2.3.1
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPACK of 10.2.3.55 from 10.2.3.1
root@NetworkTest:/etc/NetworkManager/system-connections# ip a s test_bond
28: test_bond: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 02:00:00:b3:b5:22 brd ff:ff:ff:ff:ff:ff
inet 10.2.3.55/24 brd 10.2.3.255 scope global dynamic noprefixroute test_bond
valid_lft 353sec preferred_lft 353sec
inet6 fe80::ff:feb3:b522/64 scope link
valid_lft forever preferred_lft forever
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Bond interface, ipv4 automatic mode and ipv6 manual mode
No automatic ip assigned to ipv4 and no requests to dhcp server seen in /var/log/syslog
root@NetworkTest:/etc/NetworkManager/system-connections# ip a s test_bond
29: test_bond: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 02:00:00:b3:b5:22 brd ff:ff:ff:ff:ff:ff
inet6 fe81::32a5:bc5f:287f:8db8/64 scope link noprefixroute
valid_lft forever preferred_lft forever
---Problem Description---
Bond interface with automatic ipv4 mode and manual ipv6 mode fails to get automatic ipv4 assigned from dhcp server.
---uname output---
Linux NetworkTest 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 13:42:17 UTC 2018 s390x s390x s390x GNU/Linux
Machine Type = s390x
---Debugger---
A debugger is not configured
---Steps to Reproduce---
When user configures ipv4 as automatic and ipv6 as manual for bond interface automatic ipv4 is not getting assigned.
Looks like dhcp client request for ipv4 is not done to dhcp server after maunal ipv6 is assigned quickly to bond interface
This issue will not happen in below cases:
1)with ipv4 automatic and ipv6 manual configuration for ethernet or vlan interface.
2)with ipv4 automatic and ipv6 automatic configuration for bond interface
3)with ipv4 automatic and ipv6 disabled configuration for bond interface
Configuration:
Bond interface, ipv4 automatic mode and ipv6 automatic mode
root@NetworkTes t:/etc/ NetworkManager/ system- connections# cat test_bond 5135-47ac- a954-b861c3937b e2 name=test_ bond 1537944121
[connection]
id=test_bond
uuid=63e54542-
type=bond
interface-
permissions=
timestamp=
[ethernet] blacklist=
mac-address-
[bond] reselect= always
downdelay=0
fail_over_mac=none
miimon=100
mode=active-backup
num_grat_arp=0
primary_
updelay=0
[ipv4]
dns-search=
method=auto
[ipv6] mode=stable- privacy
addr-gen-
dns-search=
method=auto
From /var/log/syslog, we can see ip got assigned:
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPDISCOVER on test_bond to 255.255.255.255 port 67 interval 3 (xid=0x5e04bf1e)
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPREQUEST of 10.2.3.55 on test_bond to 255.255.255.255 port 67 (xid=0x5e04bf1e)
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPOFFER of 10.2.3.55 from 10.2.3.1
Sep 26 06:26:26 NetworkTest dhclient[8663]: DHCPACK of 10.2.3.55 from 10.2.3.1
root@NetworkTes t:/etc/ NetworkManager/ system- connections# ip a s test_bond MULTICAST, MASTER, UP,LOWER_ UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 feb3:b522/ 64 scope link
28: test_bond: <BROADCAST,
link/ether 02:00:00:b3:b5:22 brd ff:ff:ff:ff:ff:ff
inet 10.2.3.55/24 brd 10.2.3.255 scope global dynamic noprefixroute test_bond
valid_lft 353sec preferred_lft 353sec
inet6 fe80::ff:
valid_lft forever preferred_lft forever
+++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++
Bond interface, ipv4 automatic mode and ipv6 manual mode
root@NetworkTes t:/etc/ NetworkManager/ system- connections# cat test_bond a6e4-48fb- aa04-f0b8cb549b ab name=test_ bond 1537943300
[connection]
id=test_bond
uuid=3efb153a-
type=bond
interface-
permissions=
timestamp=
[ethernet] blacklist=
mac-address-
[bond] reselect= always
downdelay=0
fail_over_mac=none
miimon=100
mode=active-backup
num_grat_arp=0
primary_
updelay=0
[ipv4]
dns-search=
method=auto
[ipv6] mode=stable- privacy fe81::32a5: bc5f:287f: 8db8/64
addr-gen-
address1=
dns-search=
method=manual
No automatic ip assigned to ipv4 and no requests to dhcp server seen in /var/log/syslog t:/etc/ NetworkManager/ system- connections# ip a s test_bond MULTICAST, MASTER, UP,LOWER_ UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 bc5f:287f: 8db8/64 scope link noprefixroute
root@NetworkTes
29: test_bond: <BROADCAST,
link/ether 02:00:00:b3:b5:22 brd ff:ff:ff:ff:ff:ff
inet6 fe81::32a5:
valid_lft forever preferred_lft forever
==> Correct LP-Package need to be assigned...!