2020-04-28 17:29:52 +02:00
|
|
|
---
|
|
|
|
title: "Change the ip address of a running jail"
|
|
|
|
date: 2018-09-25
|
2021-03-11 21:24:10 +01:00
|
|
|
description: How to change the ip address of a running jail
|
|
|
|
tags:
|
|
|
|
- FreeBSD
|
2021-09-13 00:48:07 +02:00
|
|
|
- jails
|
2020-04-28 17:29:52 +02:00
|
|
|
---
|
|
|
|
|
2021-03-11 21:24:10 +01:00
|
|
|
## The command
|
|
|
|
|
2020-04-28 17:29:52 +02:00
|
|
|
Here is how to change the ip address of a running jail :
|
|
|
|
|
2023-04-23 22:33:49 +02:00
|
|
|
```sh
|
2020-04-28 17:29:52 +02:00
|
|
|
jail -m ip4.addr=“192.168.1.87,192.168.1.88” jid=1
|
2023-04-23 22:33:49 +02:00
|
|
|
```
|