Strange thing happens with boud0 and eth0

    • OMV 2.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Strange thing happens with boud0 and eth0

      Hi,
      Today i received my 4 port network card (HP NC365T) an i installed it on my omv with all 4 interfaces at bound0 try 802.3ad (i have a managed switch (DGS-1216T) that configured port mirroring) every thing works fine wen i have my onboard ethernet plugged in for example on eth0 i have IP 192.168.1.128 and on bound 192.168.1.140. On my desktop when i access to 192.168.1.140 every thing works great but only if the eth0 is connected, if i disconnect the eth0 the ip of boud0 don't reply. Also try with balanced rr to increase NAS speed on network (on dashboard appears 4000Mbit/sec) but the same thing happens. After reading some documentation i will keep this config (balanced rr).
      Anyone has some idea what causing this.
    • there is the output

      Source Code

      1. root@JMS-OMV:~# ifconfig -a
      2. bond0 Link encap:Ethernet HWaddr 00:1c:c4:47:31:f9
      3. inet addr:192.168.1.140 Bcast:192.168.1.255 Mask:255.255.255.0
      4. UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
      5. RX packets:1952390 errors:0 dropped:0 overruns:0 frame:0
      6. TX packets:12879 errors:0 dropped:0 overruns:0 carrier:0
      7. collisions:0 txqueuelen:0
      8. RX bytes:970672720 (925.7 MiB) TX bytes:3724516 (3.5 MiB)
      9. eth0 Link encap:Ethernet HWaddr 44:8a:5b:cb:86:69
      10. inet addr:192.168.1.128 Bcast:192.168.1.255 Mask:255.255.255.0
      11. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      12. RX packets:2560719 errors:0 dropped:8 overruns:0 frame:0
      13. TX packets:3348619 errors:0 dropped:0 overruns:0 carrier:0
      14. collisions:0 txqueuelen:1000
      15. RX bytes:1092655238 (1.0 GiB) TX bytes:2806698293 (2.6 GiB)
      16. eth2 Link encap:Ethernet HWaddr 00:1c:c4:47:31:f9
      17. UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
      18. RX packets:553860 errors:0 dropped:0 overruns:0 frame:0
      19. TX packets:4385 errors:0 dropped:0 overruns:0 carrier:0
      20. collisions:0 txqueuelen:1000
      21. RX bytes:299430884 (285.5 MiB) TX bytes:1003209 (979.6 KiB)
      22. Interrupt:19 Memory:f7960000-f7980000
      23. eth3 Link encap:Ethernet HWaddr 00:1c:c4:47:31:f9
      24. UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
      25. RX packets:174775 errors:0 dropped:0 overruns:0 frame:0
      26. TX packets:2832 errors:0 dropped:0 overruns:0 carrier:0
      27. collisions:0 txqueuelen:1000
      28. RX bytes:63849337 (60.8 MiB) TX bytes:911196 (889.8 KiB)
      29. Interrupt:18 Memory:f7920000-f7940000
      30. eth4 Link encap:Ethernet HWaddr 00:1c:c4:47:31:f9
      31. UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
      32. RX packets:224511 errors:0 dropped:0 overruns:0 frame:0
      33. TX packets:2831 errors:0 dropped:0 overruns:0 carrier:0
      34. collisions:0 txqueuelen:1000
      35. RX bytes:93267392 (88.9 MiB) TX bytes:907246 (885.9 KiB)
      36. Interrupt:17 Memory:f7860000-f7880000
      37. eth5 Link encap:Ethernet HWaddr 00:1c:c4:47:31:f9
      38. UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
      39. RX packets:999246 errors:0 dropped:0 overruns:0 frame:0
      40. TX packets:2831 errors:0 dropped:0 overruns:0 carrier:0
      41. collisions:0 txqueuelen:1000
      42. RX bytes:514126269 (490.3 MiB) TX bytes:902865 (881.7 KiB)
      43. Interrupt:16 Memory:f7820000-f7840000
      44. lo Link encap:Local Loopback
      45. inet addr:127.0.0.1 Mask:255.0.0.0
      46. inet6 addr: ::1/128 Scope:Host
      47. UP LOOPBACK RUNNING MTU:65536 Metric:1
      48. RX packets:415087 errors:0 dropped:0 overruns:0 frame:0
      49. TX packets:415087 errors:0 dropped:0 overruns:0 carrier:0
      50. collisions:0 txqueuelen:0
      51. RX bytes:139139710 (132.6 MiB) TX bytes:139139710 (132.6 MiB)
      Display All
    • Please take some time and read some articles about bonding ports.

      port mirroring is not that function you are looking for (en.wikipedia.org/wiki/Port_mirroring).

      There must create a LAG group on your switch to use 802.3ad as bonding type.


      Some bonding types like balance-tlb oder balance-alb(nearly the same as 802.3ad) are working with out any switch configuration
      NAS: Fractal Design Define R4 | Intel Xeon E3-1265L-v3 | Kernel: 4.18 | ASRock Rack E3C224-4L | 32GB ECC RAM | System: Crucial M500(250GB) | LSI 9260-8i - RAID0: 2x Samsung 850 EVO (250GB) + 2x Intel SSD (230G) | LSI 9270-8i - 6x WD Red 6 TB RAID5
    • Hello,

      I have the same problem.

      - Configured the Dynamic LAG on my Brocade Switch.
      - Created the bond0 (802.3ad) with 2 Gigabit Interfaces (eth3, eth4) on my OMV
      - Access the WebUI via Bond0 IP => OK
      - Shutdown my interface eth0 and Bond0 become unresponsive

      Conclusion : Bond0 not working if eth0 is disconnected.

      The post was edited 1 time, last by xander3690 ().

    • It may take some time to Debian noting that it has to route over bond0, but why did you configure bond on the switch? No mode except LACP needs that.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • @bonkersGER and I used other modes - aside from LACP - just fine, so I suggest to try another mode instead.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.