diff --git a/src/initscripts/networking/red b/src/initscripts/networking/red
index f927ddbfb..16d48f3ac 100644
--- a/src/initscripts/networking/red
+++ b/src/initscripts/networking/red
@@ -226,6 +226,9 @@ case "${1}" in
 				# Set up the interface
 				ip link set "${RED_DEV}" up &>/dev/null
 
+				# Write red device name to the corresponding file.
+				echo -n "${RED_DEV}" > /var/ipfire/red/iface
+
 				# Start the DHCP client
 				dhcpcd_start "${RED_DEV}" --dhcp
 
