# Change IP/MAC Address

In this section, we will discuss what you should do if you change IP address in your switch installation. &#x20;

if ip is changed for whatever reason, you must do the following:

1 - Modify dnl\_softswitch.conf file to update license ip and lrn local ip.  The following 2 parameters need to be adjusted to current ip address:

![](/files/76sezvd61R4fLSDREhCS)

2 - Delete these 2 files: dnl\_softswitch.key2 and dnl\_softswitch.lic &#x20;

3 - Restart dnl\_softswitch

{% hint style="info" %}
The default location for dnl*softswitch.conf is /opt/denovo/dnl*\_softswitch/conf
{% endhint %}

{% hint style="info" %}
You can restart Class 4 switch with the command : systemctl restart dnl\_softswitch
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cookbook.denovolab.com/installation/change-ip-mac-address.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
