Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MAC addresses messed up.. bug... how do I reset them

Featured Replies

Server has 3 nics but a bug has made the nic's mac addresses get mixed up so now it thinks the 2.5gb card is the eth0 which means I can't login...

 

I have have a look on the key and have found network-rules.cfg

 

 

# PCI device 0x10ec:0x8125 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:c9:b3:b0:a9:91", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x15fa (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d8:5e:d3:77:e4:25", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x10ec:0x8125 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:c9:b3:b0:a9:90", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

 

 

will try this

 

# PCI device 0x10ec:0x8125 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:c9:b3:b0:a9:91", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x8086:0x15fa (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d8:5e:d3:77:e4:25", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8125 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:c9:b3:b0:a9:90", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

 

Edited by dopeytree

Solved by JorgeB

  • Community Expert
  • Solution

Delete network-rules.cfg and it will be recreated, eth0 will be the one used for management.

  • Author

does it default to dhcp ip?

  • Community Expert

That's controlled by network.cfg, you can also delete/rename that one if you want to go back to default DHCP.

  • Author

ok so it does remake network-rules.crg but it doesn't remake network.crg

 

and the re-made network-rules.crg it still messing up the mac addresses it's a bug. Not sure why it keeps doing it.

 

this is what it generated in the new file.

 

I'm wanting to connect to the d8 mac address which is the built in 1gig. the other 2 are 2.5gbe for fidlying with later on.

 

# PCI device 0x10ec:0x8125 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:c9:b3:b0:a9:90", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8125 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:c9:b3:b0:a9:91", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x15fa (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d8:5e:d3:77:e4:25", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

 

This is whats in the network one

 

# Generated settings:
IFNAME[0]=""
DHCP_KEEPRESOLV="yes"
DNS_SERVER1="1.1.1.1"
DHCP6_KEEPRESOLV="no"
BONDNICS[0]="eth0"
BONDING_MODE[0]="1"
BONDING_MIIMON[0]="100"
BRNICS[0]="bond0"
BRSTP[0]="0"
BRFD[0]="0"
USE_DHCP[0]="no"
IPADDR[0]="192.168.1.100"
NETMASK[0]="255.255.255.0"
GATEWAY[0]="192.168.1.1"

IFNAME[1]="br1"
BONDNAME[1]="bond1"
BONDNICS[1]="eth1"
BONDING_MODE[1]="0"
BONDING_MIIMON[1]="100"
BRNAME[1]="br1"
BRNICS[1]="bond1"
BRSTP[1]="no"
BRFD[1]="0"
PROTOCOL[1]="ipv4"
USE_DHCP[1]="no"
IPADDR[1]="192.168.1.102"
NETMASK[1]="255.255.255.0"
GATEWAY[1]="192.168.33.1"

IFNAME[2]="br2"
BONDNAME[2]="bond2"
BONDING_MIIMON[2]="100"
BRNAME[2]="br2"
BRSTP[2]="no"
BRFD[2]="0"
BONDING_MODE[2]="5"
BONDNICS[2]="eth2"
BRNICS[2]="bond2"
PROTOCOL[2]="ipv4"
USE_DHCP[2]="no"
IPADDR[2]="192.168.1.103"
NETMASK[2]="255.255.255.0"
GATEWAY[2]="192.168.33.1"
SYSNICS="3"

 

Is there anything I should be changing?

I tried just pulling the 2.5gbe card out but didnt seem to make any difference.

Edited by dopeytree

  • Author

Ok... perhaps its as simple as the order they are in that file.

Anyway all back in now.

 

Perhaps something happened to my pfSense router aswell as at the moment I'm back onto the main ISP's router.

 

Currently copying over data from an old disk to the SSD cache. Speed says its going at around 970MB/s not quite sure how it's doing it but I like it.

 

Thanks for pointing me to the solution. I actually quite like tinkering.

Edited by dopeytree

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.