Verified Commit 47d3aeb2 authored by Wataru Noguchi's avatar Wataru Noguchi ✍🏻
Browse files

Add Nodes for deny specific source.

parent f78fc5fa
......@@ -16,7 +16,7 @@ lab:
Cisco: PBR: Policy Based Routing [PG1X WIKI]
https://pg1x.com/tech:network:cisco:routing:pbr:pbr
notes: ''
timestamp: 1596319439.6048217
timestamp: 1596715746.3652344
title: routing-concepts.pbr.2rt.3node.07c97bb9
version: 0.0.3
nodes:
......@@ -40,8 +40,8 @@ nodes:
- id: n1
label: server-1
node_definition: server
x: 0
y: -50
x: 50
y: -150
configuration: |-
# this is a shell script which will be sourced at boot
hostname server-1
......@@ -405,17 +405,69 @@ nodes:
slot: 3
label: GigabitEthernet0/3
type: physical
- id: n4
label: unmanaged-switch-0
node_definition: unmanaged_switch
x: -50
y: -50
configuration: ''
tags: []
interfaces:
- id: i0
slot: 0
label: port0
type: physical
- id: i1
slot: 1
label: port1
type: physical
- id: i2
slot: 2
label: port2
type: physical
- id: i3
slot: 3
label: port3
type: physical
- id: i4
slot: 4
label: port4
type: physical
- id: i5
slot: 5
label: port5
type: physical
- id: i6
slot: 6
label: port6
type: physical
- id: i7
slot: 7
label: port7
type: physical
- id: n5
label: server-2
node_definition: server
x: 50
y: 50
configuration: |-
# this is a shell script which will be sourced at boot
hostname server-2
ifconfig eth0 10.2.2.12 netmask 255.255.255.0 broadcast 10.2.2.255
route add default gw 10.2.2.2 eth0
image_definition: server-tcl-8-2-1
tags: []
interfaces:
- id: i0
slot: 0
label: eth0
type: physical
links:
- id: l0
i1: i0
n1: n0
i2: i1
n2: n2
- id: l1
i1: i0
n1: n1
i2: i1
n2: n3
- id: l2
i1: i2
n1: n2
......@@ -426,3 +478,18 @@ links:
n1: n2
i2: i3
n2: n3
- id: l1
i1: i1
n1: n3
i2: i0
n2: n4
- id: l4
i1: i1
n1: n4
i2: i0
n2: n1
- id: l5
i1: i2
n1: n4
i2: i0
n2: n5
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment