summaryrefslogtreecommitdiffstats
path: root/ip/ipecamera4.sh
blob: cfa4fe6a024a6617a5916ce34c450dc82ac3d192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
./connectx_port_config -d 0000:01:00.0 -c eth,eth &> /dev/null
./connectx_port_config -d 0000:03:00.0 -c eth,eth &> /dev/null

ip link  set ens1  up
ip addr show dev ens1 | grep 192.168.41.84 || ip addr add 192.168.41.84/24 dev ens1

ip link  set ens1d1  up
ip addr show dev ens1d1 | grep 192.168.2.84 || ip addr add 192.168.2.84/24 dev ens1d1

ip link  set ens11  up
ip addr show dev ens11 | grep 192.168.42.84 || ip addr add 192.168.42.84/24 dev ens11

ip link  set ens11d1  up
ip addr show dev ens11d1 | grep 192.168.46.84 || ip addr add 192.168.46.84/24 dev ens11d1

ip link  set enp6s0f0  up
ip addr show dev enp6s0f0 | grep 192.168.2.104 || ip addr add 192.168.2.104/24 dev enp6s0f0

ip link  set enp7s0f0  up
ip addr show dev enp7s0f0 | grep 192.168.2.114 || ip addr add 192.168.2.114/24 dev enp7s0f0