16 lines
407 B
Markdown
16 lines
407 B
Markdown
# HostUp VPS network configuration
|
|
|
|
In order to properly configure network on a HostUp VPS, some `dhcpcd` configuration is required, at the end of `/etc/dhcpcd.conf` add (replace `*` with your IPv4) :
|
|
```
|
|
# Hostup network config
|
|
interface ens18
|
|
static ip_address=*.*.*.*/24
|
|
static routers=*.*.*.1
|
|
static domain_name_servers=1.1.1.1
|
|
```
|
|
|
|
Then restart `dhcpcd` :
|
|
```
|
|
# dinitctl restart dhcpcd
|
|
```
|