forked from ipspace/netlab-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# VXLAN Router-on-a-Stick | ||
|
||
This directory contains *netlab* topology file for a VXLAN router-on-a-stick scenario doing VXLAN-to-VXLAN routing between a set of VXLAN-enabled VLAN interfaces. | ||
|
||
![VXLAN router-on-a-stick topology](netlab-vxlan-router-stick.png) | ||
|
||
After starting the lab, *h1* should be able to ping *h2*. | ||
|
||
## Changing Device Types | ||
|
||
This topology can be used with all network devices supporting VLAN configuration module and all virtualization providers supported by *netlab*: | ||
|
||
* To change all devices in the topology (apart from Linux hosts), use the `-d xxx` CLI argument | ||
* To change the switch device type, use `-s groups.switches.device=xxx` CLI argument | ||
* To change the router device type, use `-s groups.routers.device=xxx` CLI argument | ||
* To change the virtualization provider, use `-p` CLI argument. | ||
|
||
For example, to start the lab with Cumulus VX devices, use: | ||
|
||
``` | ||
netlab up -d cumulus | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
message: | | ||
The topology implements VXLAN-to-VXLAN routing using router-on-a-stick. | ||
All hosts should be able to ping each other. | ||
provider: clab | ||
defaults.device: eos | ||
|
||
vrfs: | ||
tenant: | ||
|
||
vlans: | ||
red: | ||
vrf: tenant | ||
blue: | ||
vrf: tenant | ||
|
||
groups: | ||
hosts: | ||
members: [ h1, h2 ] | ||
device: linux | ||
switches: | ||
members: [ s1, s2 ] | ||
module: [ vlan,vxlan,ospf ] | ||
vlan.mode: bridge | ||
routers: | ||
members: [ ros ] | ||
module: [ vlan,vxlan,ospf,vrf ] | ||
vlans: | ||
red: | ||
blue: | ||
|
||
nodes: [ h1, h2, s1, s2, ros ] | ||
|
||
|
||
links: | ||
- h1: | ||
s1: | ||
vlan.access: red | ||
- h2: | ||
s1: | ||
vlan.access: blue | ||
- s1-s2 | ||
- s2-ros |
Submodule tools
updated
from 931850 to 22e05b