------- Comment From wint...@de.ibm.com 2021-02-25 10:28 EDT-------
(In reply to comment #25)
> For netplan yaml of:
>
> network:
> version: 2
> ethernets:
> enc8f00:
> dhcp4: yes
>
> It would be interesting to see if L3 dhcp starts to work if one does:
>
> $ sudo mkdir -p /etc/systemd/network/10-netplan-enc8f00.network.d
> $ cat <<EOF | sudo tee -a
> /etc/systemd/network/10-netplan-enc8f00.network.d/30-request-broadcast.conf
> [DHCPv4]
> RequestBroadcast=yes
> EOF
>
> $ sudo networkctl reconfigure enc8f00
>
> (or chzdev -d 0.0.8f00; chzdev -e 0.0.8f00 or reboot, whatever is easier to
> make networkd force renew).

Thank you xnox. I confirm that this works with chzdev -d/-e and with reboot.
@Asha, this is a better solution for you.

------- Comment From wint...@de.ibm.com 2021-02-25 10:36 EDT-------
(In reply to comment #26)
> My preference would be to fix networkd, if that fails netplan, and isc-dhcp
> only if there is syntax to online the device in the right l2/l3 state via
> kernel cmdline and that one needs to complete install over it.
>
> For example, does automatic chzdev device enablement provides
> autoconfiguration for hipersockets in l3? in that case it would be neat for
> ip=dhcp to just do the right thing.
>
Yes, 'chzdev -e' defaults to Layer3 unless you explicitely specify 'chzdev -e 
layer2=1'. Note that chzdev creates a udev rule to make this setting persistent.

> Would turning on RequestBroadcast=yes for ID_NET_DRIVER=qeth_l3 interfaces
> be good enough in networkd?
Yes, that sounds good.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1914740

Title:
  IPs are not assigned for Hipersockets in DHCP mode

Status in Ubuntu on IBM z Systems:
  Incomplete
Status in isc-dhcp package in Ubuntu:
  Confirmed
Status in netplan.io package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  ---Problem Description---
  IPs are not getting assigned for Hipersockets in DHCP mode
   
  Contact Information = Asha Shekharappa(ashsh...@in.ibm.com)  
Sankar(sankar...@in.ibm.com) 
   
  ---uname output---
  52-Ubuntu SMP Thu Sep 10 10:59:04 UTC 2020 s390x s390x s390x GNU/Linux
   
  Machine Type = s390x 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   Ubuntu 20.04
  Netplan with systemd-networkd as renderer

  Creating ethernet connection on Hipersockets device in DHCP mode fails
  to assign IPs

  1. Configure a Hipersockets device
     chzdev -e 0.0.8f00

  2. Create a .yaml file with the below details

  network:
      version: 2
      ethernets:
          enc8f00:
              dhcp4: yes

  3. netplan apply

  
  4. The IP is not assigned as seen below

  root@M96SANKAR:/etc/netplan# ip a s

  enc8f00: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 32768 qdisc mq state UP 
group default qlen 1000
      link/ether fe:da:af:44:08:02 brd ff:ff:ff:ff:ff:ff

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1914740/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to