Unable to change IP setting for baremetal edge
search cancel

Unable to change IP setting for baremetal edge

book

Article ID: 402105

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • "clear/set interface ethX ip" cannot be executed.
  • error message "An error occurred while processing the ip address command"
  • The edge where the event occurs is a bare metal edge.

Environment

VMware NSX 4.0.X

Cause

An error occurs when changing the IP address using a command because the IP address in '/etc/network/interfaces' is in CIDR format.

Resolution

This issue is fixed in version 4.1.

workaround:

  1. Login to the CLI of the target edge device as the root user.
  2. Edit the `/etc/network/interfaces`.
  3. Delete /zz as shown below.
  4. Switch to the admin CLI and execute the 'clear/set interface ethX ip' command.

[Before]
auto eth0  
iface eth0 inet static  
    address 192.168.xx.xx/zz
    gateway 192.168.yy.yy  
    # dns-* options are implemented by the resolvconf package, if installed


[After]
auto eth0  
iface eth0 inet static  
    address 192.168.xx.xx  
    gateway 192.168.yy.yy  
    # dns-* options are implemented by the resolvconf package, if installed