gluon-next-node: generated config: move prefix information out of next-node scope

This commit is contained in:
Matthias Schiffer 2013-09-29 14:42:00 +02:00
parent f2d9bdaba7
commit aaaf5a1485

View File

@ -9,17 +9,17 @@ start() {
ip link set local-node address @next_node.mac@
ip address add @next_node.ip4@/32 dev local-node
ip route add @next_node.prefix4@ dev br-freifunk
ip route add @prefix4@ dev br-freifunk
ip address add @next_node.ip6@/128 dev local-node
ip route add @next_node.prefix6@ dev br-freifunk
ip route add @prefix6@ dev br-freifunk
ip link set local-node up
}
stop() {
ip route del @next_node.prefix4@ dev br-freifunk
ip route del @next_node.prefix6@ dev br-freifunk
ip route del @prefix4@ dev br-freifunk
ip route del @prefix6@ dev br-freifunk
ip link set local-node down
ip link del local-node
}