Setting up multiple routing tables controlled by user_data
When having several NICs in a cloud VM, we may want to use all of them fully.
In Linux, this needs multiple routing tables, if
(a) we have several NICs in one subnet OR
(b) we want to have several default routes
This script creates these routes controlled by settings from cloud-init user_data.
otc:
multiroute: true
enables this for case (a).
multiroute: guessgw
also enables case (b) by guessing the gateway address for NICs in other subnets.
- Links to home:garloff:OTC / cloud-multiroute
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout Cloud:OTC:Tools/cloud-multiroute && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
cloud-multiroute.changes | 0000000706 706 Bytes | |
cloud-multiroute.service | 0000000361 361 Bytes | |
cloud-multiroute.sh | 0000001563 1.53 KB | |
cloud-multiroute.spec | 0000001757 1.72 KB | |
rtdefl.sh | 0000001259 1.23 KB | |
rttbl2.sh | 0000004948 4.83 KB |
Latest Revision
Kurt Garloff (garloff)
committed
(revision 1)
Comments 0