Post Go back to editing

change interface on back-end IIOD

Category: Software

HI

I use zcu102+adrv9009 with official adi linux and I change HDL and create two LAN interfaces  1.PS  2.PL SFP 10G and I can see both interfaces in board ifconfig however just eth0(pl interface) used in iiod and client cannot connect through eth1

how can I change interface in board .

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:0a:35:05:5b:38  txqueuelen 1000  (Ethernet)


eth1: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet 192.168.0.2  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::20a:35ff:fe00:0  prefixlen 64  scopeid 0x20<link>
        ether 00:0a:35:00:00:00  txqueuelen 1000  (Ethernet)
change avahi-daemon.conf to this

use-ipv4=yes
use-ipv6=yes
 allow-interfaces=eth1
 deny-interfaces=eth0 ...

0: (axi-adrv9009-rx-obs-hpc, ad7291, ad9528-1, mwipcore0:mmwr0, axi-adrv9009-tx-hpc, axi-adrv9009-rx-hpc, adrv9009-phy, ams, mwi on ZynqMP ZCU102 Rev1.0) [local:]

if enable eth0 I can see it in iio_info and netstat but eth1 cannot bined

how can I establish server connection through eth1

thank.



HI I use zcu102+adrv9009 with official adi linux and I change HDL and create two LAN interfaces 1.PS 2.PL SFP 10G and I can see both interfaces in board ifconfig however just eth0(pl interface) used in iiod and client cannot connect through eth1 how can I change interface in board . eth0: flags=4099 mtu 1500 ether 00:0a:35:05:5b:38 txqueuelen 1000 (Ethernet) eth1: flags=67 mtu 1500 inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::20a:35ff:fe00:0 prefixlen 64 scopeid 0x20 ether 00:0a:35:00:00:00 txqueuelen 1000 (Ethernet) change avahi-daemon.conf to this use-ipv4=yes use-ipv6=yes allow-interfaces=eth1 deny-interfaces=eth0 ... 0: (axi-adrv9009-rx-obs-hpc, ad7291, ad9528-1, mwipcore0:mmwr0, axi-adrv9009-tx-hpc, axi-adrv9009-rx-hpc, adrv9009-phy, ams, mwi on ZynqMP ZCU102 Rev1.0) [local:] if enable eth0 I can see it in iio_info and netstat but eth1 cannot bined how can I establish server connection through eth1 thank.
[edited by: software at 5:54 AM (GMT -5) on 10 Mar 2023]
Parents Reply Children
No Data