Skip to content

Instantly share code, notes, and snippets.

@moos3
Last active June 17, 2016 15:46
Show Gist options
  • Save moos3/5308745c6491dec3e6c48798c797dd62 to your computer and use it in GitHub Desktop.
Save moos3/5308745c6491dec3e6c48798c797dd62 to your computer and use it in GitHub Desktop.
       +--------------------------+
       |                          |
       |      AWS VPC VPN         |
       |      172.16.0.0/16       |
       +------------------+---^---+
                          |   |
ping 10.10.0.0/26 Fail    |   | 172.16.0.0/16 ping ok
                          |   |
                          |   |                                                               +----------------------------------------+
                      +---v---+-------------------------------+                               |                                        |
                      |                                       |                               |        Node A                          |
                      |                                       |       172.16.0.0/16 ping ok   |                                        |
                      |     Linux Server running              <-------------------------------+        Gre tunnel 10.10.0.2/26         |
                      |                                       |                               |        route 172.16.0.0/16 via 10.10.0.1
                      |     Racoon + Quagga for BGP VPN       +------------------------------->                                        |
                      |     connection                        <-------------------------------+                                        |
                      |                                       |      10.10.0.0/26 ping ok     +---------------------------^------------+
                      |     gre tunnel 10.10.0.1/26           |
                      |                                       |
                      |                                       |
                      |                                       |
                      |                                       |
                      |                                       |           172.16.0.0/16 ping ok
                      |                                       <------------------------------------+
                      +----------------^----------------------+                                    |
                                       ||                                                          |
                                       ||                                                          |
                                       ||                                                          |
                                       ||                                                       +--+---------------------v-------------+
                                       ||                                                       |      Node B                          |
                                       ||                                                       |      gre tunnel 10.10.0.3/26         |
                                       ||     10.10.0.0/26 ping ok                              |      route 172.16.0.0/16 via 10.10.0.1
                                       |-------------------------------------------------------->                                      |
                                       +--------------------------------------------------------+                                      |
                                                                                                +--------------------------------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment