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.

Add second IP to interface

Featured Replies

Hello,

 

I am looking for a way to add a second IP to the unraid main interface. 

I guess I could to "ip addr add x.x.x.x/24 dev br0" but this of course will only be kept until the next boot.

Is there a GUI way or another recommend way via a terminal?

Edited by lal12

You could add the command to the go file that's located in the config folder of your boot flash device to make it survive a reboot. I don't know of any GUI-based way of adding a second IP address to the main interface and I don't know if there will be any undesirable side effects of doing so. Most people would add a second NIC.

Another way of adding the commands is through CA User Scripts. Its much easier to manage than manual GO file changes.

  • Author

Thanks, I went the User Scripts way.

What are the advantages of having 2 IP addresses...my MB also supports 2 IPs.

Edited by Ron

  • Author
4 hours ago, Ron said:

What are the advantages of having 2 IP addresses...my MB also supports 2 IPs.

Well, in my case I set up Unraid for a small business as their storage solution, since they needed something, which has some pro features, but still is easily manageable by a not that experienced guy which is working for them. However I setup a new structure which was different from their old setup. But some devices are configured and managed by an external company to use an specific IP for their network share, which was not possible (or wished) to reconfigured or changed, so I needed to add a second IP. All that I was told after I was done with my original setups, so the easiest way was to add the additional IP.

But I really wondered that it was not possible through Unraid itself, since it is a really common feature, you find it in any PC or Server with WebGUI.

BTW what's your "MB"?

Edited by lal12

Thanks for the info, I was wondering if you could run more data across the ports with dual plans. I just checked and the new Motherboard I am running only has 1 lan port...my old mini board had 2 Lan ports. I think my friend has it. I will ask him.

Sent from my SM-T550 using Tapatalk

  • Author

Well I actually have two NICs on my server, which in theory could be bonded (I guess unraid can't do that) but what I wanted was two IPs on one NIC, which is a different thing. Unraid does give you the option to set a separate IP on each NIC, so you probably could set up each NIC with a different IP and do some kind of load balancing, however not that great as a solution I would say.

Edited by lal12

53 minutes ago, lal12 said:

Well I actually have two NICs on my server, which in theory could be bonded (I guess unraid can't do that)

Yes it can. Config -> Network Config. It's enabled by default, in active backup mode.

  • Author
33 minutes ago, John_M said:

Yes it can. Config -> Network Config. It's enabled by default, in active backup mode.

OK I didn't know that, but still active backup mode is not the thing @Ron looked for, it only uses the slave NIC on failure of the first one. He wants higher speed so he would need one of the existing balance modes.

Active backup mode is the default for a good reason - when you first boot up Unraid it doesn't matter which port you plug your network cable into. You can, of course, change it to something else. There are various load balancing modes and a true link aggregation mode if your switch supports it.

  • Author
13 hours ago, John_M said:

Active backup mode is the default for a good reason - when you first boot up Unraid it doesn't matter which port you plug your network cable into. You can, of course, change it to something else. There are various load balancing modes and a true link aggregation mode if your switch supports it. 

Ah ok, I misunderstood you, I got that there only is active backup available.

Archived

This topic is now archived and is closed to further replies.

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.