# How do I change the IP to static in VitalPBX 4?

**URL:** https://forums.vitalpbx.org/t/how-do-i-change-the-ip-to-static-in-vitalpbx-4/3278
**Category:** FAQ
**Created:** [September 26, 2023, 2:25pm UTC](https://forums.vitalpbx.org/t/how-do-i-change-the-ip-to-static-in-vitalpbx-4/3278 "2023-09-26T14:25:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![admin](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/admin/32/3_2.png) [@admin](https://forums.vitalpbx.org/u/admin)
#### Post date: [September 26, 2023, 2:25pm UTC](https://forums.vitalpbx.org/t/how-do-i-change-the-ip-to-static-in-vitalpbx-4/3278/1 "2023-09-26T14:25:26Z")

</div>

By default, our system’s IP address in Debian is obtained through DHCP, however, you can modify it and assign it a static IP address using the following steps:

1. Edit the following file with nano, /etc/network/interfaces.

```auto
nano /etc/network/interfaces

```

Change

```auto
#The primary network interface
allow-hotplug eth0
iface eth0 inet dchp

```

With the following.

```auto
#The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1

```

Save and Exit

1. Enable the interface.

```auto
ifup eth0
reboot

```
