- 
    Bug 
- 
    Resolution: Not a Bug
- 
    Major 
- 
    None
- 
    4.17
- 
    None
- 
        Quality / Stability / Reliability
- 
        False
- 
        
- 
        None
- 
        Important
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
Description of problem:
Customer is experiencing networking bug in the openshift installation process or during the node reprovisioning.
Following is the custom network config from install-config. I'll attach the install-config to this ticket.
...
        networkConfig:
          interfaces:
            - name: ens5f0np0
              type: ethernet
              state: up
            - name: ens5f1np1
              type: ethernet
              state: up
            - name: bond0
              type: bond
              state: up
              link-aggregation:
                mode: 802.3ad
                options:
                  miimon: '100'
                port:
                  - ens5f0np0
                  - ens5f1np1
            - name: bond0.558
              type: vlan
              state: up
              vlan:
                id: 558
                base-iface: bond0
              ipv4:
                address:
                - ip: 172.29.48.85
                  prefix-length: 24
                enabled: true
...
The problem is that there is and kernel parameter ip=dhcp which created an Wired Connection. This Wired Connection is upped during the boot, trying to grab IP. showing and MAC to a switch. After a brief moment this interface is disabled and correct interfaces are up. The switch gets too many duplicate MAC notifications and shuts the interface.
The example kernel cmd:
```
cat /proc/cmdline 
BOOT_IMAGE=(hd1,gpt3)/boot/ostree/rhcos-bb187525ca172120c56627746610dd63bdd8e0b82b60bad8aff26eb64d0efdb3/vmlinuz-5.14.0-427.42.1.el9_4.x86_64 rw ostree=/ostree/boot.0/rhcos/bb187525ca172120c56627746610dd63bdd8e0b82b60bad8aff26eb64d0efdb3/0 ignition.platform.id=metal ip=dhcp root=UUID=b81a6411-16b3-494e-8764-9627bf95faa9 rw rootflags=prjquota boot=UUID=11d1c048-c7cb-46a7-ace2-f3b18dc99961 systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all psi=0
```
Set up interfaces:
```
nnmcli con
NAME            UUID                                  TYPE           DEVICE    
ovs-if-br-ex    195f4820-70e0-4d16-9312-1621b5743555  ovs-interface  br-ex     
bond0           925b4a95-2de0-5b2d-bcf5-8b684a7e9cb4  bond           bond0     
br-ex           2fb9cf54-87a7-4977-a853-4eb569b92426  ovs-bridge     br-ex     
ens5f0np0       eae3bd00-bd10-5209-925d-21f595ba2e69  ethernet       ens5f0np0 
ovs-if-phys0    b46979df-6055-4e23-9575-b967d3e1f42a  vlan           bond0.558 
ovs-port-br-ex  1ffcf8e5-e917-47da-b7dc-df4dce6fef36  ovs-port       br-ex     
ovs-port-phys0  39d18cea-a69a-46d2-939c-f0a509c824aa  ovs-port       bond0.558 
lo              fded5a2b-2852-4ed7-baa5-3e1db7e93845  loopback       lo        
bond0.558       1c93fc06-cbaa-5660-9b76-4d77011c9255  vlan           --        
ens5f1np1       4ce69d8f-e0b7-53c0-bca8-8b2102183e02  ethernet       --   
Wired Connection  f1071a8c-01e6-48d2-83c2-5950f1204b74  ethernet       --        
```
To correct the issue it is needed to remove ip=dhcp, regenerate the initramfs, remove wired interface and reboot.
```
pm-ostree initramfs --enable
rpm-ostree kargs --delete=ip=dhcp
nmcli con del "Wired Connection"
```
Version-Release number of selected component (if applicable):
    
How reproducible:
    
Steps to Reproduce:
    1.
    2.
    3.
    
Actual results:
    
Expected results:
Please remove ip=dhpc when custom/static network configuration is provided.
Additional info: