NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ejcmdq
Feb 28, 2021Tutor
ReadyNas 2304 Bond 2nd ETH adapter | Static IP
Sirs, good morning
In order to setup "bond" between eht0 and eht1, if both are in the same subnetwork.
The second adapter (eth1) must be configured with static IP ?
EHT0
IP: 10.86.11.71
Netmask: 255.255.254.0
GW: 10.86.11.254
ETH1
IP: 10.86.11.72
Netmask: 255.255.254.0
GW : ???
This nas are expected to receive heavy traffic from ip cameras (50 or more), both ethernet adapters are connected to same network, but not same switch (Cisco 2960e).
Thanks in advance !
E!
ejcmdq wrote:
The idea of using ReadyNas 2nd adapter is to fall back to other switch (main concentrator) if eth0 cannot connect to camera.
Ok. Fallback is of course a different goal from simply adding bandwidth.
ejcmdq wrote:
# Adaptative Loading Balancing, do you will work for us?
It might - the only way to be certain is to try it (and test the failover cases).
The way ALB works on receive traffic is that the NAS is monitoring ARP requests, and is dynamically setting the source MAC addresses in the ARP responses to balance the connection load. The camera making the ARP requests then will use that source MAC address in it's transmitted ethernet packets.
A pure layer 2 switch fabric will then route the packets from the camera to the NAS using the MAC address alone. But a layer 2/3 switch fabric might not. Just seeing two MAC addresses with the same IP address might confuse the fabric.
When this works, it isn't particularly fluid. Whenever the sending device (camera in this case), makes an ARP request, it gets a response from the NAS - which as far as the camera is concerned binds whatever MAC address it receives to that IP address when it gets the ARP response. It won't switch to a different MAC address unless it makes a new ARP request that gives it a different MAC address.
ARP caching in the sending device (and ARP caching in the network itself) can prevent the mechanism from working in the failover case - because the new ARP request either isn't made at all, or because the new ARP request never actually reaches the NAS (because the network is ARP caching). Another complication is that there can be multiple responses to the camera's ARP request (because the network is ARP caching), and they can have different MAC address in them.
So one thing to test is that both the active internet NICS in the NAS are receiving traffic from the cameras when ALB is in use. Once that is confirmed, you can then test what happens if you disconnect the NIC that has the primary IP address. Any active connections using that IP address will fail (so some video will be lost). But any new connections should go the the remaining NIC. This assumes that
- the camera will make a fresh ARP request when the connection fails
- ARP caching in the network itself won't prevent the fresh ARP request from reaching the NAS (or result in the camera using a netwrok-cached response).
- any layer-3 routing in the network won't prevent the packets with the original IP address and the new MAC address from reaching the NAS.
You'd also need to test that you get the desired behavior when you disconnect the secondary NIC.
BTW, TLB should have the same failover behavior as ALB - when the primary NIC is disconnected it is supposed to switch receive traffic to the second NIC. But it won't attempt to dynamically balance the load when both NICs are working. You might find it easier to test what happens with TLB first - if that works when you disconnect the primary NIC, restore that connection and then disconnect the secondary NIC, then ALB ought to work as well.
Either way, you should let the NAS take care of the IP address of the secondary NIC - you shouldn't need to set a static IP address. The cameras would all be set to use same IP address (or the same DNS name, which binds to the same IP address). The ARP address hack takes care of the rest.
3 Replies
ejcmdq wrote:In order to setup "bond" between eht0 and eht1, if both are in the same subnetwork.
The second adapter (eth1) must be configured with static IP ?
If you want a bond, then you need to connect the adapters to the same switch. Then set up LACP or perhaps a static LAG.
You can connect NICs to different switches without a bond - in that case you shouldn't need a static IP. Not sure what is going on with gateway on the second connection. But you shouldn't be trying to set up a bond on the NAS if you are connecting to different switches.
But you might want static or reserved addresses, as in this mode you'd need to configure the IP cameras to store their files on different IP addresses in order to share the load. Overall, it will be much simpler to connect to the NAS to one switch, and if needed create a bond between the two switches to ensure enough throughput between them.
- ejcmdqTutor
Thanks for your reply !
Unfortunately we don't control the switchs at the customer location. Sometimes the traffic can be heavy in the switches, and cameras start to loose connection.
The idea of using ReadyNas 2nd adapter is to fall back to other switch (main concentrator) if eth0 cannot connect to camera.
In this case we have 6 ReadyNas and around 280 cameras at 2 to 4 M, sometimes with more than one concurrent connection to it.
# Adaptative Loading Balancing, do you will work for us?
Tks, E!
ejcmdq wrote:
The idea of using ReadyNas 2nd adapter is to fall back to other switch (main concentrator) if eth0 cannot connect to camera.
Ok. Fallback is of course a different goal from simply adding bandwidth.
ejcmdq wrote:
# Adaptative Loading Balancing, do you will work for us?
It might - the only way to be certain is to try it (and test the failover cases).
The way ALB works on receive traffic is that the NAS is monitoring ARP requests, and is dynamically setting the source MAC addresses in the ARP responses to balance the connection load. The camera making the ARP requests then will use that source MAC address in it's transmitted ethernet packets.
A pure layer 2 switch fabric will then route the packets from the camera to the NAS using the MAC address alone. But a layer 2/3 switch fabric might not. Just seeing two MAC addresses with the same IP address might confuse the fabric.
When this works, it isn't particularly fluid. Whenever the sending device (camera in this case), makes an ARP request, it gets a response from the NAS - which as far as the camera is concerned binds whatever MAC address it receives to that IP address when it gets the ARP response. It won't switch to a different MAC address unless it makes a new ARP request that gives it a different MAC address.
ARP caching in the sending device (and ARP caching in the network itself) can prevent the mechanism from working in the failover case - because the new ARP request either isn't made at all, or because the new ARP request never actually reaches the NAS (because the network is ARP caching). Another complication is that there can be multiple responses to the camera's ARP request (because the network is ARP caching), and they can have different MAC address in them.
So one thing to test is that both the active internet NICS in the NAS are receiving traffic from the cameras when ALB is in use. Once that is confirmed, you can then test what happens if you disconnect the NIC that has the primary IP address. Any active connections using that IP address will fail (so some video will be lost). But any new connections should go the the remaining NIC. This assumes that
- the camera will make a fresh ARP request when the connection fails
- ARP caching in the network itself won't prevent the fresh ARP request from reaching the NAS (or result in the camera using a netwrok-cached response).
- any layer-3 routing in the network won't prevent the packets with the original IP address and the new MAC address from reaching the NAS.
You'd also need to test that you get the desired behavior when you disconnect the secondary NIC.
BTW, TLB should have the same failover behavior as ALB - when the primary NIC is disconnected it is supposed to switch receive traffic to the second NIC. But it won't attempt to dynamically balance the load when both NICs are working. You might find it easier to test what happens with TLB first - if that works when you disconnect the primary NIC, restore that connection and then disconnect the secondary NIC, then ALB ought to work as well.
Either way, you should let the NAS take care of the IP address of the secondary NIC - you shouldn't need to set a static IP address. The cameras would all be set to use same IP address (or the same DNS name, which binds to the same IP address). The ARP address hack takes care of the rest.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!