Escolar Documentos
Profissional Documentos
Cultura Documentos
Task
Set up a ERSPAN session that allows Server1 on N5K1 (or 3, 5, or 7, depending on your rack) to
see all packets Tx or Rx to/from Win2k8-www-3.
Ping from Win2k8-www-2 to Win2k8-www-3 and capture the packets in Wireshark on Server1.
Configuration
We can see that Win2k8-www-3 is running on ESXi1 or VEM 3.
FEEDBACK
Name
Status
Vlan
Duplex Speed
Type
------------------------------------------------------------------------------mgmt0
--
up
routed
full
1000
--
Eth3/1
--
up
trunk
full
1000
--
Eth3/2
--
up
trunk
full
1000
--
Eth3/3
--
up
trunk
full
unknown --
Eth3/4
--
up
trunk
full
unknown --
Eth3/5
--
up
trunk
full
unknown --
Eth4/1
--
up
trunk
full
1000
--
Eth4/2
--
up
trunk
full
1000
--
Eth4/3
--
up
trunk
full
unknown --
Eth4/4
--
up
trunk
full
unknown --
Eth4/5
--
up
trunk
full
unknown --
Po1
--
up
trunk
full
1000
--
Po2
--
up
trunk
full
1000
--
Po3
--
up
trunk
full
unknown --
Po4
--
up
trunk
full
unknown --
Veth1
VMware VMkernel, v up
115
auto
auto
--
Veth2
VMware VMkernel, v up
116
auto
auto
--
Veth3
N1Kv-01-VSM-2, Net up
120
auto
auto
--
Veth4
N1Kv-01-VSM-2, Net up
121
auto
auto
--
Veth5
N1Kv-01-VSM-2, Net up
120
auto
auto
--
Veth6
Win2k8-www-1, Netw up
110
auto
auto
--
Veth7
VMware VMkernel, v up
115
auto
auto
--
Veth8
VMware VMkernel, v up
116
auto
auto
--
Veth9
N1Kv-01-VSM-1, Net up
120
auto
auto
--
Veth10
N1Kv-01-VSM-1, Net up
121
auto
auto
--
Veth11
N1Kv-01-VSM-1, Net up
120
auto
auto
--
Veth12
Win2k8-www-2, Netw up
110
auto
auto
--
Veth13
Win2k8-www-3, Netw up
Veth14
vCenter, Network A up
auto
auto
--
control0
--
routed
full
1000
--
up
110
auto
auto
--
N1Kv-01#
To provide ERSPAN, we need UDP packetization, and therefore capability l3control on our
VMKernel interface from which the ERSPAN packets will originate. This also provides the
source address for the ERSPAN. Set up the ERSPAN session to send to the destination of
N5K1's SVI for the same VLAN that the VMKernel is running on (this can easily be a different
VLAN if routing is properly configured).
On N5K1:
Verification
On N1Kv:
: erspan-source
state
: up
source intf
rx
: Veth12
tx
: Veth12
both
: Veth12
source VLANs
rx
tx
both
source port-profile :
rx
tx
both
filter VLANs
destination IP
: 10.0.115.51
ERSPAN ID
:2
ERSPAN TTL
: 64
ERSPAN IP Prec.
:0
ERSPAN DSCP
:0
ERSPAN MTU
: 1500
ERSPAN ID
HDR VER
RX Sources :55,
TX Sources :55,
Source Filter RX :110,
Source Filter TX:110,
N1Kv-01#
DST LTL/IP
10.0.115.51
^ back to top
2013 INE