Skip to content

Commit

Permalink
Update config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
UltraInstinct14 authored Aug 17, 2023
1 parent 8ecc22a commit a81a590
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cicd/k3s-sctpmh-2/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ create_docker_host_cnbridge --host1 sw1 --host2 llb2
create_docker_host_cnbridge --host1 sw1 --host2 r1
create_docker_host_cnbridge --host1 sw1 --host2 r3

$hexec user ip route add 124.124.124.1/32 via 2.2.2.254
$hexec user ip route add 125.125.125.1/32 via 2.2.2.254

## Make network for k3s connectivity
sudo ip link add ellb1sys type veth peer name esysllb1
sleep 3
Expand Down Expand Up @@ -123,6 +120,10 @@ $hexec llb1 ip route add default via 12.12.12.254
$hexec llb2 ip route del default
$hexec llb2 ip route add default via 14.14.14.254

# Backup paths in user
$hexec user ip route add 124.124.124.1/32 via 2.2.2.254
$hexec user ip route add 125.125.125.1/32 via 2.2.2.254

sleep 1
##Create LB rule
create_lb_rule llb1 20.20.20.1 --tcp=2020:8080 --endpoints=31.31.31.1:1,32.32.32.1:1,33.33.33.1:1 --mode=fullnat --bgp
Expand Down

0 comments on commit a81a590

Please sign in to comment.