lal12 Posted November 24, 2018 Share Posted November 24, 2018 (edited) 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 November 24, 2018 by lal12 Quote Link to comment
John_M Posted November 24, 2018 Share Posted November 24, 2018 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. Quote Link to comment
BRiT Posted November 24, 2018 Share Posted November 24, 2018 Another way of adding the commands is through CA User Scripts. Its much easier to manage than manual GO file changes. 1 Quote Link to comment
lal12 Posted November 24, 2018 Author Share Posted November 24, 2018 Thanks, I went the User Scripts way. Quote Link to comment
Ron Posted November 24, 2018 Share Posted November 24, 2018 (edited) What are the advantages of having 2 IP addresses...my MB also supports 2 IPs. Edited November 24, 2018 by Ron Quote Link to comment
lal12 Posted November 24, 2018 Author Share Posted November 24, 2018 (edited) 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 November 24, 2018 by lal12 1 1 Quote Link to comment
Ron Posted November 24, 2018 Share Posted November 24, 2018 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 Quote Link to comment
lal12 Posted November 24, 2018 Author Share Posted November 24, 2018 (edited) 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 November 24, 2018 by lal12 1 Quote Link to comment
John_M Posted November 24, 2018 Share Posted November 24, 2018 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. 1 Quote Link to comment
lal12 Posted November 24, 2018 Author Share Posted November 24, 2018 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. 1 Quote Link to comment
John_M Posted November 24, 2018 Share Posted November 24, 2018 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. 1 Quote Link to comment
lal12 Posted November 25, 2018 Author Share Posted November 25, 2018 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. Quote Link to comment
Recommended Posts
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.