For now, I've managed to connect one Zero to the controller using this dhcpcd.conf file:
```
# ClusterCTRL
reboot 15
denyinterfaces ethpi* ethupi* ethupi*.10 brint usb0.10
profile clusterctrl_fallback_usb0
static ip_address=172.19.181.2/24 #ClusterCTRL
static routers=172.19.181.253
static domain_name_servers=8.8.8.8 208.67.222.222
profile clusterctrl_fallback_br0
static ip_address=172.19.181.253/24
interface usb0
fallback clusterctrl_fallback_usb0
interface br0
fallback clusterctrl_fallback_br0
```
However, when I plug in the second one, it's connected through the usb1 interface, and an invalid IP is being assigned.
Can someone help me configure the nodes? Thank you!"
static ip_address=172.19.181.2/24 #ClusterCTRL
However, when I plug in the second one, it's connected through the usb1 interface, and an invalid IP is being assigned.
Can someone help me configure the nodes? Thank you!"
Exactly, Chris. It only works with one node at a time. I'm using a static IP address of 172.19.181.1/24 for node 1 and a static IP address of 172.19.181.2/24 for node two. When I only plug in one of each node, everything works as expected. The problem appears when I power on the other node; the master sees two interfaces (usb0 and usb1), but only the node attached to the usb0 interface works.
I'm using a fresh intallation os Ubuntu Server 20.04
[ 305.721576] usb 1-1.1.3: new full-speed USB device number 23 using xhci_hcd
[ 305.823506] usb 1-1.1.3: not running at top speed; connect to a high speed hub
[ 305.829754] usb 1-1.1.3: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice= 1.00
[ 305.829769] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 305.829775] usb 1-1.1.3: Product: OTG Utils
[ 305.829781] usb 1-1.1.3: Manufacturer: Radxa
[ 305.829786] usb 1-1.1.3: SerialNumber: 0123456789ABCDEF
[ 305.841746] cdc_ether 1-1.1.3:1.0 usb0: register 'cdc_ether' at usb-0000:01:00.0-1.1.3, CDC Ethernet Device, 3a:fb:47:d3:45:06
[ 2275.562555] usb 1-1.1.4: new full-speed USB device number 24 using xhci_hcd
[ 2275.664468] usb 1-1.1.4: not running at top speed; connect to a high speed hub
[ 2275.672716] usb 1-1.1.4: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice= 1.00
[ 2275.672730] usb 1-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2275.672736] usb 1-1.1.4: Product: OTG Utils
[ 2275.672741] usb 1-1.1.4: Manufacturer: Radxa
[ 2275.672746] usb 1-1.1.4: SerialNumber: 0123456789ABCDEF
[ 2275.684706] cdc_ether 1-1.1.4:1.0 usb1: register 'cdc_ether' at usb-0000:01:00.0-1.1.4, CDC Ethernet Device, 56:91:05:4a:06:48
And the content in the ifcongif -a:usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.19.181.254 netmask 255.255.255.0 broadcast 172.19.181.255
inet6 fe80::9fbe:9a85:6046:a538 prefixlen 64 scopeid 0x20<link>
ether 3a:fb:47:d3:45:06 txqueuelen 1000 (Ethernet)
RX packets 580 bytes 79415 (77.5 KiB)
RX errors 1 dropped 0 overruns 0 frame 0
TX packets 914 bytes 86172 (84.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.19.181.254 netmask 255.255.255.0 broadcast 172.19.181.255
inet6 fe80::3554:dae:9766:f700 prefixlen 64 scopeid 0x20<link>
ether 56:91:05:4a:06:48 txqueuelen 1000 (Ethernet)
RX packets 37 bytes 4239 (4.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 32 bytes 4504 (4.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The only suspicious thing I have noticed is that both devices are using the same serial number.
The only suspicious thing I have noticed is that both devices are using the same serial number.
ethpip1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:22:82:ff:fe:01 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
dmegs logs:
[ 67.493066] usb 1-1.1.4: New USB device found, idVendor=3171, idProduct=0020, bcdDevice= 1.00
[ 67.493097] usb 1-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 67.493104] usb 1-1.1.4: Product: ClusterCTRL
[ 67.493110] usb 1-1.1.4: Manufacturer: 8086 Consultancy
[ 67.493116] usb 1-1.1.4: SerialNumber: p1
[ 67.568233] cdc_ether 1-1.1.4:1.0 eth1: register 'cdc_ether' at usb-0000:01:00.0-1.1.4, CDC Ethernet Device, 00:22:82:ff:fe:01
[ 67.568419] usbcore: registered new interface driver cdc_ether
[ 67.686107] cdc_ether 1-1.1.4:1.0 ethpip1: renamed from eth1
Thank you! All your support it's appreciate.
Currently, I have the 'ethpip1' interface, but I can't obtain an IP.
ethpip1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:22:82:ff:fe:01 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
After a fresh restart, getting the ethpip1 interface up:
bridge name bridge id STP enabled interfaces
br0 8000.d83add1be5aa no
brint 8000.000000000000 no
cni0 8000.3e96c376b7f8 no veth3a6c8f88
veth6564a1c2
veth7667f613
veth91ba20dd
vetha00a6aa2
vetha147c52b
vethb2b3367e
vethd6339949
vethf2073a75
vethfafa6d9cIf I add manually the ethpip1 to the bridge, the br0 interfaces show the ethpip1, but I can't do ping to 172.19.181.1
I'm not sure because when I exec the ifconfig -a command don't show the ip: