how to add more then 4 NICs


Recommended Posts

Hi All,

 

I am new to Xpenology.

 

I have 6 NICs in my NAS but xpenology is set to only 4.

 

here is my grup.conf

#serial --unit=0 --speed=115200
#terminal serial
default 0
timeout 3
fallback 0

title DSM 5.0-4418 BETA
root (hd0,0)
#vender /vender show
#hw_model
kernel /zImage root=/dev/md0 ihd_num=0 netif_num=6 syno_hw_version=DS3612xs mac1=00241DD67728 mac2=00241DD67729 mac3=00241DD67730 mac4=00241DD67731 mac5=00241DD67732 mac6=00241DD67733 sn=B3J4N00355
initrd /rd.gz

 

synolgy assistant is picking up two NAS because of MAC address difference.

 

can someone help me change all MAC address to same type so sinology assistant picks up my NAS as 1 device.

Link to post
Share on other sites

Why not use the REAL MAC Address of the cards?

 

you can find them in the dmesg output

 

either

 

dmesg > /tmp/dmesg.txt

 

then vi /tmp/dmesg.txt and scroll until you find them all

 

or

 

dmesg | grep "eth"

 

and search for them that way

 

should look something like

 

eg

 

S3200SH2> dmesg | grep "eth"

[ 0.236988] ACPI Error: Method parse/execution failed [\_SB_._OSC] (Node ffff88011f04f4c0), AE_AML_BUFFER_LIMIT (20110623/psparse-536)

[ 1.861811] e1000 0000:03:00.0: eth0: (PCI:33MHz:32-bit) 00:02:a5:4e:b6:d4

[ 1.861920] e1000 0000:03:00.0: eth0: Intel® PRO/1000 Network Connection

[ 2.155804] e1000 0000:03:00.1: eth1: (PCI:33MHz:32-bit) 00:02:a5:4e:b6:d5

[ 2.155912] e1000 0000:03:00.1: eth1: Intel® PRO/1000 Network Connection

[ 2.354192] e1000 0000:03:02.0: eth2: (PCI:33MHz:32-bit) 00:15:17:28:06:5e

[ 2.354299] e1000 0000:03:02.0: eth2: Intel® PRO/1000 Network Connection

[ 2.354437] jme: JMicron JMC2XX ethernet driver version 1.0.8

[ 18.867636] usbcore: registered new interface driver ethub

[ 19.479383] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

[ 19.480267] ADDRCONF(NETDEV_UP): eth0: link is not ready

[ 19.481166] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[ 19.526824] e1000: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

[ 19.527773] ADDRCONF(NETDEV_UP): eth2: link is not ready

[ 19.529555] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready

[ 19.573960] ADDRCONF(NETDEV_UP): eth1: link is not ready

[ 30.098005] eth0: no IPv6 routers present

S3200SH2>

 

so in my system I have

 

1 x e1000 Intel controller (onboard motherboard)

2 x e1000 Intel controllers on an add in dual port card...

 

So the add in card is easy to spot, as it has 2 x similar MAC addresses.... just a different ending number on each port

 

00:02:a5:4e:b6:d4 <<

00:02:a5:4e:b6:d5 <<

 

So in my case Xpenology detects the add in card 1st, then the onboard card

 

so I edit my grub.conf file to match

 

S3200SH2> cat /volumeUSB1/usbshare/boot/grub/grub.conf

#serial --unit=0 --speed=115200

#terminal serial

default 0

timeout 3

fallback 0

 

title DSM 4.3-3810 - v1.1 Beta 5 - HBA (SCSI / SAS)

root (hd0,0)

# vender /vender show

# hw_model

kernel /zImage root=/dev/md0 ihd_num=0 netif_num=3 syno_hw_version=DS3612xs mac1=0002A54EB6D4 mac2=0002A54EB6D5 mac3=00151728065E sn=B3J4N00333

initrd /rd.gz

 

reboot

and

 

eth0 = Lan1

eth1 = Lan2

eth3 = Lan3

 

network1.png

network2.png

 

.

Link to post
Share on other sites

Hi Stanza,

 

Thank you for the reply.

 

All 6 of my NICs are working fine and have IP address and XPenology will see all 6 NICs and can use then without any problem.

 

Problem is that, Xpenology will only spoof first 4 NIC ports MAC addresses

 

 

From Dmesg:

 

mac1=00241DD67728

mac2=00241DD67729

mac3=00241DD67730

mac4=00241DD67731

 

it does not say anything else about mac5 and mac6.

 

also in GUI:

 

here is the list of Mac address:

 

LAN1=00241DD67728

LAN2=00241DD67729

LAN3=00241DD67730

LAN4=00241DD67731

LAN5=00151728065E

LAN6=00151728065F

 

 

Because of the two types of MAC address, synology assistant will pick up my NAS as two devices.

 

 

Thank you

Link to post
Share on other sites

I will have to have a play myself.

 

Looks like we have the same type cards tho, looking at the MAC Addresses....

 

Have you tried editing the synoinfo.conf files?

maybe need to add more

 

eth3_wol_options="g"

 

sections?

 

as there is already enough

 

eth7_mtu="1500"

 

type sections there for up to 8 lan cards

 

??

 

Mine has two differnt type mac address sections like yours, and doesn't detect as two different Synologies.

 

Have you changed your serial number?.... what programs are installed?

 

.

Link to post
Share on other sites

Hi,

Yes I have added the lines for Eth5 and eth 6.

 

I did see that file says MAXLAN = "8"

 

so I connected all 5 ports to the switch and I see 5 synology in synology assistance tool.

 

all 5 synology devices in synology assistance have same serial number and same version... only MAC address is different on all of them.

 

I have default serial number and I do not have any applications installed.

Link to post
Share on other sites

Well of course that's going to happen

 

Your dhcp server is assigning IP to each one

 

Plug one port only into switch

 

Setup xpenology

 

Then go into networking and either assign bonds or some other IP

 

What are you trying to achieve as an end result?

 

.

Link to post
Share on other sites