Skip to content

Commit

Permalink
Document DHCP slowness due to STP
Browse files Browse the repository at this point in the history
  • Loading branch information
Jip-Hop committed Jun 15, 2024
1 parent 9e60599 commit 43b1197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The above YouTube video may be helpful when setting up the bridge interface.

### Bridge Flaws

This type of interface takes much longer to set up both in complexity and wait time (you may have to be patient for up to 60 seconds after the jail started for networking to work, [assigning the IP address via DHCP is somehow slow](https://github.com/Jip-Hop/jailmaker/issues/7)). Furthermore, if the configuration is not correct it can render your TrueNAS inaccessible via ssh or the web interface, necessitating a reset using a keyboard and monitor plugged into the TrueNAS server and use `/etc/netcli` to reset the networking interface.
This type of interface takes much longer to set up both in complexity and wait time (you may have to be patient for up to 90 seconds after the jail started for networking to work, [assigning the IP address via DHCP is slow by default because STP is enabled](https://github.com/Jip-Hop/jailmaker/issues/90#issuecomment-2162032080)). Furthermore, if the configuration is not correct it can render your TrueNAS inaccessible via ssh or the web interface, necessitating a reset using a keyboard and monitor plugged into the TrueNAS server and use `/etc/netcli` to reset the networking interface.

### Bridge Setup

Expand Down
2 changes: 1 addition & 1 deletion jlmkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def start_jail(jail_name):
if initial_setup:
print("About to run the initial setup.")
print("Waiting for networking in the jail to be ready.")
print("Please wait (this may take 90s in case of bridge networking)...")
print("Please wait (this may take 90s in case of bridge networking with STP is enabled)...")
returncode = exec_jail(
jail_name,
[
Expand Down

0 comments on commit 43b1197

Please sign in to comment.