bmacklin

Extra ethernet ports not showing up in 918+ with virtual machine manager

Recommended Posts

I have a motherboard with two onboard 1gb ethernet and that was recognized and working no problem.

 

I added a mellanox cx312a 10gb two port sfp+ card and the loaded extra.lzma and extra2.lzma and the card was recognized and works... until I enabled virtual manager which enabled vSwitch.

 

Upon reboot I still see the 4 ports, but the two 10gb ports are inactive and disconnected (but it is directly connected to another machine, was working and transferring at the expected speed before the reboot).

 

So after hours of troubleshooting, I ssh'd in and used ifconfig to look at the interfaces. I got eth0 and eth1 and 4 ov?_eth[0-3]. Looked up what those ov interfaces were and lead to vSwitch. So then disabled vSwitch and viola, eth1 and eth2 came back again and works again. But that means virtual machine manager is uninstalled so I can't run virtual machines.

 

I added all the mac addresses to grub.cfg and also changed the number of ports to 4. It would really be good to be able to enable both virtual machine manager and still use 10gb!

Edited by bmacklin

Share this post


Link to post
Share on other sites

Update - 

 

My problem is now my ovs-vsctl and network settings are not persisted across reboots.

 

I have added mac3 and mac4 and changed the number of ports in the grub.cfg file

 

When I enable open vswitch, and reboot, I see ovs_eth[0-4] but only eth[01].

 

I have to ssh into the box to do:

 

ip link set ovs_eth2 down # eth2 is the 10gb port
ovs-vsctl add-port ovs_eth2 eth2
ip link set ovs_eth2 up
ip link set eth2 up

These settings are not persistent across boot. I have to run these commands each time. How do I get synology to persist these changes?

 

Alternatively, I'd be fine if I can execute these commands after boot as root user.

 

Thanks!

Share this post


Link to post
Share on other sites
В 09.02.2020 в 07:22, bmacklin сказал:

Alternatively, I'd be fine if I can execute these commands after boot as root user.

You can do it in the Task scheduler...

Скрытый текст

1797734416_.thumb.png.fbe9186033b98d828a3a77ba1cbf8a6e.png

869220591_.png.9f0532c6b5bdee47d1a2f3b23a2bd040.png

 

Share this post


Link to post
Share on other sites

/etc.defaults/synoconfig.conf   

 

maxlanport=4                

eth0_mtu="1500"
eth1_mtu="1500"
eth2_mtu="1500"
eth3_mtu="1500"

 

/etc/synoconfig.conf    too up

 

...........have a try

Share this post


Link to post
Share on other sites
 !!! still network limit in 1.04b loader for 918+ !!!

atm 918+ has a limit of 2 nic's (as the original hardware)
If there are more than 2 nic's present and you can't find your system in network then you will have to try after boot witch nic is "active" (not necessarily the onboard) or remove additional nic's and look for this after installation
You can change the synoinfo.conf after install to support more then 2 nic's (with 3615/17 it was 8  and keep in mind when doing a major update it will  be reset to 2 and you will have manually change this again, same as when you change for more disk as there are in jun's default setting) - more info's are already in the old thread about 918+ DSM 6.2.(0) and here

https://xpenology.com/forum/topic/12679-progress-of-62-loader/?do=findComment&comment=92682

I might change that later so it will be set the same way as more disks are set by jun's patch - syno's max disk default for this hardware was 4 disks but jun's pach changes it on boot to 16!!! (so if you have 6+8 sata ports then you should not have problems when updating like you used to have with 3615/17) 

 

https://xpenology.com/forum/topic/21663-driver-extension-jun-103b104b-for-dsm622-for-3615xs-3617xs-918/

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.