root@j784s4-evm:~# cat ipset.sh #!/bin/bash devlink dev param set platform/c000000.ethernet name switch_mode value true cmode runtime ip link add name br0 type bridge ip link set dev br0 type bridge ageing_time 1000 ip link set dev eth1 up ip link set dev eth2 up ip link set dev eth3 up ip link set dev eth4 up ip link set dev eth1 master br0 ip link set dev eth2 master br0 ip link set dev eth3 master br0 ip link set dev eth4 master br0 ip link set dev br0 type bridge vlan_filtering 1 bridge vlan add dev br0 vid 1 self bridge vlan add dev br0 vid 1 pvid untagged self ip address add 10.10.67.50/24 dev br0 root@j784s4-evm:~# root@j784s4-evm:~# ./ipset.sh [ 41.618748] am65-cpsw-nuss c000000.ethernet: Enable switch mode [ 41.655196] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 41.713478] br0: port 1(eth1) entered blocking state [ 41.718475] br0: port 1(eth1) entered disabled state [ 41.723466] am65-cpsw-nuss c000000.ethernet eth1: entered allmulticast mode [ 41.739556] am65-cpsw-nuss c000000.ethernet eth1: entered promiscuous mode [ 41.746456] kauditd_printk_skb: 5 callbacks suppressed [ 41.746460] audit: type=1700 audit(1709059921.024:21): dev=eth1 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295 [ 41.751557] br0: port 2(eth2) entered blocking state [ 41.751730] audit: type=1300 audit(1709059921.024:21): arch=c00000b7 syscall=211 success=yes exit=40 a0=3 a1=ffffeea95128 a2=0 a3=1 items=0 ppid=1173 pid=1190 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="ip" exe="/usr/sbin/ip.iproute2" key=(null) [ 41.762989] br0: port 2(eth2) entered disabled state [ 41.767917] audit: type=1327 audit(1709059921.024:21): proctitle=6970006C696E6B00736574006465760065746831006D617374657200627230 [ 41.811190] am65-cpsw-nuss c000000.ethernet eth2: entered allmulticast mode [ 41.822251] am65-cpsw-nuss c000000.ethernet eth2: entered promiscuous mode [ 41.829144] audit: type=1700 audit(1709059921.064:22): dev=eth2 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295 [ 41.832059] br0: port 3(eth3) entered blocking state [ 41.840541] audit: type=1300 audit(1709059921.064:22): arch=c00000b7 syscall=211 success=yes exit=40 a0=3 a1=ffffec6d4b78 a2=0 a3=1 items=0 ppid=1173 pid=1191 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="ip" exe="/usr/sbin/ip.iproute2" key=(null) [ 41.845480] br0: port 3(eth3) entered disabled state [ 41.872264] audit: type=1327 audit(1709059921.064:22): proctitle=6970006C696E6B00736574006465760065746832006D617374657200627230 [ 41.877244] am65-cpsw-nuss c000000.ethernet eth3: entered allmulticast mode [ 41.901631] am65-cpsw-nuss c000000.ethernet eth3: entered promiscuous mode [ 41.908514] audit: type=1700 audit(1709059921.144:23): dev=eth3 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295 [ 41.911472] br0: port 4(eth4) entered blocking state [ 41.919897] audit: type=1300 audit(1709059921.144:23): arch=c00000b7 syscall=211 success=yes exit=40 a0=3 a1=ffffd1953788 a2=0 a3=1 items=0 ppid=1173 pid=1192 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="ip" exe="/usr/sbin/ip.iproute2" key=(null) [ 41.924854] br0: port 4(eth4) entered disabled state [ 41.951638] audit: type=1327 audit(1709059921.144:23): proctitle=6970006C696E6B00736574006465760065746833006D617374657200627230 [ 41.968116] am65-cpsw-nuss c000000.ethernet eth4: entered allmulticast mode [ 41.979128] am65-cpsw-nuss c000000.ethernet eth4: entered promiscuous mode [ 41.986017] audit: type=1700 audit(1709059921.224:24): dev=eth4 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295 root@j784s4-evm:~# root@j784s4-evm:~# ping 10.10.67.100 ping: connect: Network is unreachable root@j784s4-evm:~#