summaryrefslogtreecommitdiff
path: root/dht/vnet/mkroutes.sh
blob: 8b13faaa96dfd42485d0de0a0dd619bf7e22e270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
host=$1
num=${1#*.*.*.}
ip route add 80.$num.99.99/32 via $host
ip route add 80.$num.99.99/32 via $host
ip route add 81.$num.99.99/32 via $host
ip route add 82.$num.99.99/32 via $host
ip route add 83.$num.99.99/32 via $host
ip route add 84.$num.99.99/32 via $host
ip route add 85.$num.99.99/32 via $host
ip route add 86.$num.99.99/32 via $host
ip route add 87.$num.99.99/32 via $host
ip route add 88.$num.99.99/32 via $host
ip route add 89.$num.99.99/32 via $host
ip route add 90.$num.99.99/32 via $host
ip route add 91.$num.99.99/32 via $host
ip route add 92.$num.99.99/32 via $host
ip route add 93.$num.99.99/32 via $host
ip route add 94.$num.99.99/32 via $host
ip route add 95.$num.99.99/32 via $host