You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
sysctl -w net.ipv4.conf.all.arp_ignore=2
sysctl -w net.ipv4.conf.all.arp_announce=2
sysctl -w net.ipv4.conf.all.arp_filter=1
IB1="192.168.1.3"
IB2="192.168.1.4"
ifconfig enp134s0f0 down
ifconfig ens7f0 down
ifconfig enp134s0f0 ${IB1}
ifconfig ens7f0 ${IB2}
ifconfig enp134s0f0 mtu 9042
ifconfig ens7f0 mtu 9042
ifconfig enp134s0f0 up
ifconfig ens7f0 up
echo "1 ibnuma0" >> /etc/iproute2/rt_tables
echo "2 ibnuma1" >> /etc/iproute2/rt_tables
ip route add 192.168.1.0/24 dev enp134s0f0 src ${IB1} table ibnuma0
ip route add 192.168.1.0/24 dev ens7f0 src ${IB2} table ibnuma1
ip rule add from ${IB1}/32 table ibnuma0
ip rule add to ${IB1}/32 table ibnuma0
ip rule add from ${IB2}/32 table ibnuma1
ip rule add to ${IB2}/32 table ibnuma1
ip -s -s neigh flush all
Beta Was this translation helpful? Give feedback.
All reactions