unRAID Network Config


Recommended Posts

Hello fellow unraiders. I've been up on very little sleep trying to fix my network and did something stupid. I deleted my network.config file and need someone to post the settings for network.conf with a static IP so I can recreate the file. I understand the file gets created when missing for DHCP but I unfortunately don't have a physical router. I'm using opnsense in a VM on unRAID so the server won't be able to pull an address on boot.

 

I was trying to move the server over to a different vlan but I apparently did something wrong which sent me down this hole. This after spending hours trying to figure out why the DHCP server wasn't working in opnsense.

 

Thank you to everyone in advance.

Link to comment
# Generated settings:
IFNAME[0]="br0"
BRNAME[0]="br0"
BRSTP[0]="no"
BRFD[0]="0"
BRNICS[0]="eth0"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="no"
IPADDR[0]="192.168.1.99"
NETMASK[0]="255.255.255.0"
GATEWAY[0]="192.168.1.1"
DNS_SERVER1="8.8.8.8"
DNS_SERVER2="8.8.4.4"
USE_DHCP6[0]="yes"
DHCP6_KEEPRESOLV="no"
SYSNICS="1"

Might not work if you have more than one NIC.

Link to comment
3 hours ago, JorgeB said:
# Generated settings:
IFNAME[0]="br0"
BRNAME[0]="br0"
BRSTP[0]="no"
BRFD[0]="0"
BRNICS[0]="eth0"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="no"
IPADDR[0]="192.168.1.99"
NETMASK[0]="255.255.255.0"
GATEWAY[0]="192.168.1.1"
DNS_SERVER1="8.8.8.8"
DNS_SERVER2="8.8.4.4"
USE_DHCP6[0]="yes"
DHCP6_KEEPRESOLV="no"
SYSNICS="1"

Might not work if you have more than one NIC.

Thank you.

 

Hopefully one or two more people will respond before I try this. I don't remember having a bridge but the nic is eth0.

Link to comment
3 hours ago, TechTitus said:

post the settings for network.conf with a static IP

 

Here are my setting for static IP and Docker VLAN (eth1 not currently used).

# Generated settings:
IFNAME[0]="br0"
DHCP_KEEPRESOLV="yes"
DNS_SERVER1="1.1.1.1"
DNS_SERVER2="1.0.0.1"
DHCP6_KEEPRESOLV="no"
BRNAME[0]="br0"
BRNICS[0]="eth0"
BRSTP[0]="no"
BRFD[0]="0"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="no"
IPADDR[0]="192.168.1.10"
NETMASK[0]="255.255.255.0"
GATEWAY[0]="192.168.1.1"
METRIC[0]="1"
USE_DHCP6[0]="yes"
VLANID[0,1]="3"
DESCRIPTION[0,1]="Dockers"
PROTOCOL[0,1]="ipv4"
METRIC[0,1]="2"
VLANS[0]="2"
IFNAME[1]="eth1"
PROTOCOL[1]="ipv4"
METRIC[1]="3"
SYSNICS="2"

 

Link to comment
46 minutes ago, JorgeB said:

That can be on or off, if for VMs mostly.

I must be doing something wrong. I setup the network.crg file but I still cannot reach the server. 

 

I logged into the server locally and the browser webGUI does not load. Says that the connection to localhost was unable to connect.

Edited by TechTitus
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.