Skip to content

Commit

Permalink
Document adding a route on non-Weave hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed May 3, 2016
1 parent be3b0aa commit 05f5502
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions site/using-weave/host-network-integration.md
Expand Up @@ -38,6 +38,20 @@ Exposed addresses can also be added to weaveDNS by supplying fully qualified dom
host2$ weave expose -h exposed.weave.local
10.2.1.132

###<a name="routing"></a>Routing from another host

Having run `weave expose` as above, you can use Linux routing to give
access to the Weave Network from hosts that are not running Weave Net:

ip route add <network-cidr> via <exposing-host>

Where `<network-cidr>` is an IP address range in use on Weave Net,
e.g. `10.2.0.0/16` or `10.32.0.0/12` and `<exposing-host>` is the
address of the machine where you ran `weave expose`.

>**Note:** You must ensure that the [IP subnet](site/how-it-works/ip-addresses.md)
used by Weave Net does not clash with anything on those other hosts.


**See Also**

Expand Down

0 comments on commit 05f5502

Please sign in to comment.