www/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md

17 lines
302 B
Markdown
Raw Permalink Normal View History

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
- 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 :
```sh
2020-04-28 17:29:52 +02:00
jail -m ip4.addr=“192.168.1.87,192.168.1.88” jid=1
```