Ran now into issue where my goal was to take the two 1Gb NICs.. Create bond. Bind two VLAN interfaces to that bond, and bind static IPs to those VLANs. I did this in the VM based (newer? version), and it worked fine, but on the physical NAS I think we have a few issues here
1) The MAC of "eth0" indicates a single NIC. With .1 and .2 sub interfaces of two IPs
root@gnubee-n1:/rom/rom# ip ad
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet
127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 90:50:5a:55:3a:50 brd ff:ff:ff:ff:ff:ff
inet6 fe80::9250:5aff:fe55:3a50/64 scope link
valid_lft forever preferred_lft forever
3: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 90:50:5a:55:3a:50 brd ff:ff:ff:ff:ff:ff
inet
192.168.1.1/24 brd 192.168.1.255 scope global eth0.1
valid_lft forever preferred_lft forever
inet6 fe80::9250:5aff:fe55:3a50/64 scope link
valid_lft forever preferred_lft forever
4: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 90:50:5a:55:3a:50 brd ff:ff:ff:ff:ff:ff
inet
172.16.100.144/24 brd 172.16.100.255 scope global eth0.2
valid_lft forever preferred_lft forever
inet6 fe80::9250:5aff:fe55:3a50/64 scope link
valid_lft forever preferred_lft forever
... where did my second nic go?
My switch agrees there is only one NIC active L2,
MAC display: Ports 35 and 36 are the NAS
Expected lspci to help me .. uh.. no nic? <scratches head>
root@gnubee-n1:/rom/rom# lspci
00:00.0 PCI bridge: Device 0e8d:0801 (rev 01)
00:01.0 PCI bridge: Device 0e8d:0801 (rev 01)
00:02.0 PCI bridge: Device 0e8d:0801 (rev 01)
01:00.0 IDE interface: ASMedia Technology Inc. ASM1061 SATA IDE Controller (rev 02)
02:00.0 IDE interface: ASMedia Technology Inc. ASM1061 SATA IDE Controller (rev 02)
03:00.0 IDE interface: ASMedia Technology Inc. ASM1061 SATA IDE Controller (rev 02)
This implies the modules are compiled into the kernel for the NIC
root@gnubee-n1:/rom/rom# lsmod
Module Size Used by
sdhci 20973 0
mmc_core 79878 1 sdhci
softdog 1696 0
fuse 71552 1
ip_tables 10189 0
x_tables 11911 1 ip_tables
# dmesg showing a few module notes about interfaces but not hardware details. But this looks like network feature modules
[ 8.125357] NET: Registered protocol family 17
[ 8.134504] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 8.160258] 8021q: 802.1Q VLAN Support v1.8
[ 8.172573] Waiting 5 sec before mounting root device...
[ 8.331702] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[ 8.481960] usb 1-2: New USB device found, idVendor=1a40, idProduct=0101
[ 8.495608] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 8.510134] usb 1-2: Product: USB 2.0 Hub
[ 8.519140] hub 1-2:1.0: USB hub found
[ 8.526878] hub 1-2:1.0: 4 ports detected
[ 9.613554] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[ 10.361566] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[ 13.191758] md: Waiting for all devices to be available before autodetect
[ 13.205587] md: If you don't use raid, use raid=noautodetect
![OpenMediaVault_bond_error.png](https://groups.google.com/group/gnubee/attach/72e1d83789e8a/OpenMediaVault_bond_error.png?part=0.1&view=1)
My guess.. the module is suppose to be compiled into the kernel for both NICs.. they are not the same???? or have some different setting and only one now shows.
Hoping I am missing something basic here.