Commit 74ba4a04 authored by Binh Nguyen's avatar Binh Nguyen

Add default route on endhosts

parent 10edf058
......@@ -8,9 +8,11 @@ SSH_SD="ssh -t -t"
DOMAIN=$(hostname | awk -F'.' '{print $2"."$3"."$4"."$5}')
$SSH_SD node0.$DOMAIN "sudo ip -6 route add $n6_2/80 dev $n0_1_dev"
$SSH_SD node0.$DOMAIN "sudo ip -6 neigh add $n6_2 lladdr $n1_1_mac dev $n0_1_dev"
$SSH_SD node0.$DOMAIN "sudo ip -6 neigh replace $n6_2 lladdr $n1_1_mac dev $n0_1_dev"
$SSH_SD node0.$DOMAIN "sudo ip -6 route add default via $n2_a"
#$SSH_SD node0.$DOMAIN "sudo ip -6 neigh add $n6_2 lladdr $n1_1_mac dev $n0_1_dev"
#$SSH_SD node0.$DOMAIN "sudo ip -6 neigh replace $n6_2 lladdr $n1_1_mac dev $n0_1_dev"
$SSH_SD node6.$DOMAIN "sudo ip -6 route add $n0_1/80 dev $n6_2_dev"
$SSH_SD node6.$DOMAIN "sudo ip -6 neigh add $n0_1 dev $n6_2_dev"
$SSH_SD node6.$DOMAIN "sudo ip -6 neigh replace $n0_1 lladdr $n5_2_mac dev $n6_2_dev"
$SSH_SD node6.$DOMAIN "sudo ip -6 route add default via $n3_e"
#$SSH_SD node6.$DOMAIN "sudo ip -6 neigh add $n0_1 dev $n6_2_dev"
#$SSH_SD node6.$DOMAIN "sudo ip -6 neigh replace $n0_1 lladdr $n5_2_mac dev $n6_2_dev"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment