From 22a932d99b227402d19d6a15785285131d45cabb Mon Sep 17 00:00:00 2001 From: spusuf <86286368+spusuf@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:55:40 +1000 Subject: [PATCH] Fixed code tag --- docs/network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/network.md b/docs/network.md index 92a6d44..6dd3411 100644 --- a/docs/network.md +++ b/docs/network.md @@ -18,7 +18,7 @@ Add the following argument to the "additional flags" prompt of jail creation or ### Setting a Static IP To set a Static IP you need to disable DHCP in the macvlan config file `/etc/systemd/network/mv-dhcp.network` -You can do this with a network client like WinSCP by navigating into the jail's filesystem then the path above, or by using a text editing program like nano by running `nano /etc/systemd/network/mv-dhcp.network' in the jail's shell. +You can do this with a network client like WinSCP by navigating into the jail's filesystem then the path above, or by using a text editing program like nano by running `nano /etc/systemd/network/mv-dhcp.network` in the jail's shell. The DHCP in [Network] needs to be set to false, an Address (static IP) needs to be added, a Gateway needs to be defined (e.g your router such as 192.168.0.1) and the entire DHCP section needs to be removed.