summaryrefslogtreecommitdiffstats
path: root/ip/ipecamera3.sh
blob: 65fc84f49fac4de67d7939d50d30d461f2a32e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
./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
./connectx_port_config -d 0000:06:00.0 -c eth,eth &> /dev/null
./connectx_port_config -d 0000:07:00.0 -c eth,eth &> /dev/null

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

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

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

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

ip link  set enp6s0  up
ip addr show dev enp6s0 | grep 192.168.62.83 || ip addr add 192.168.62.83/24 dev enp6s0

ip link  set enp6s0d1  up
ip addr show dev enp6s0d1 | grep 192.168.2.103 || ip addr add 192.168.2.103/24 dev enp6s0d1
\
ip link  set enp7s0  up
ip addr show dev enp7s0 | grep 192.168.42.83 || ip addr add 192.168.42.83/24 dev enp7s0

ip link  set enp7s0d1  up
ip addr show dev enp7s0d1 | grep 192.168.2.113 || ip addr add 192.168.2.113/24 dev enp7s0d1