Daisy chaining together multiple IncludeOS instances using Mothership and NaCl
- Edit
daisy.go
and thefirst
andlast
subnet. These will be the outward facing interfaces. - Edit
daisy.go
and thedestinationAddress
anddestinationPort
. This is the server that you are trying to reach on the other side of the daisy chain. - Call the script with the number of instances you want to create
go build; ./daisy 50
will create 50 NaCl files in a folder called NaCl. - Launch a service at the
destinationAddress:destinationPort
. - Call the service by going to the
first.net:10000
address.
Works by creating subnets between all the IncludeOS instances. Right now it takes the subnet 10.90.0.0/16
and splits it into /30
subnets. Meaning we get 16384 subnets, each with 2 usable addresses.