mpls pseudowire intersite DC and test HSRP
23.02 2020 | by massimilianompls pseudowire intersite DC and test HSRP ARCHITETTURA DI RIFERIMENTO: I due PC (server) […]
https://www.ingegnerianetworking.com/wp-content/uploads/2020/02/mpls-pseudowire-intersite-dc-8d0.png
mpls pseudowire intersite DC and test HSRP
ARCHITETTURA DI RIFERIMENTO:
I due PC (server) sono entrambi su una stessa vlan (vlan 10) in modo intersite DCs
In questo test ho considerato un DCI over MPLS e difatti ho creato uno pseudowire
La configurazione prevede un HSRP tra i due CE (in realtà dovrebbero essere dei Firewall) con un doppio standby in modo da dedicare al PC1 il gateway dello standby 10 ed al PC2 il gateway dello standby 11, ciascuno con i proprio vmac
PC1> ping 10.10.10.3
84 bytes from 10.10.10.3 icmp_seq=1 ttl=255 time=44.773 ms
84 bytes from 10.10.10.3 icmp_seq=2 ttl=255 time=36.640 ms
84 bytes from 10.10.10.3 icmp_seq=3 ttl=255 time=47.164 ms
84 bytes from 10.10.10.3 icmp_seq=4 ttl=255 time=17.625 ms
^C
PC1> ping 10.10.10.20
84 bytes from 10.10.10.20 icmp_seq=1 ttl=64 time=45.232 ms
84 bytes from 10.10.10.20 icmp_seq=2 ttl=64 time=94.832 ms
84 bytes from 10.10.10.20 icmp_seq=3 ttl=64 time=46.602 ms
84 bytes from 10.10.10.20 icmp_seq=4 ttl=64 time=49.005 ms
^M84 bytes from 10.10.10.20 icmp_seq=5 ttl=64 time=34.417 ms
^
PC1>
PC1> show arp
00:00:0c:07:ac:0a 10.10.10.3 expires in 105 seconds
00:50:79:66:68:00 10.10.10.20 expires in 111 seconds
PC2> ping 10.10.10.4
84 bytes from 10.10.10.4 icmp_seq=1 ttl=255 time=40.303 ms
84 bytes from 10.10.10.4 icmp_seq=2 ttl=255 time=60.565 ms
84 bytes from 10.10.10.4 icmp_seq=3 ttl=255 time=43.510 ms
84 bytes from 10.10.10.4 icmp_seq=4 ttl=255 time=13.760 ms
^C
PC2> ping 10.10.10.10
84 bytes from 10.10.10.10 icmp_seq=1 ttl=64 time=36.772 ms
84 bytes from 10.10.10.10 icmp_seq=2 ttl=64 time=40.557 ms
84 bytes from 10.10.10.10 icmp_seq=3 ttl=64 time=36.226 ms
84 bytes from 10.10.10.10 icmp_seq=4 ttl=64 time=50.795 ms
^C
PC2>
PC2>
PC2> show arp
00:50:79:66:68:03 10.10.10.10 expires in 50 seconds
00:00:0c:07:ac:0b 10.10.10.4 expires in 107 seconds
Riporto la configurazione di uno pseudowire cisco:
From PE1 (PE2 è uguale cambia ovviamente il nh xconnect che punta a 11.11.11.11)
pseudowire-class ETH-to-ETH
encapsulation mpls
interworking vlan
!
interface GigabitEthernet0/3.10
description L2-vlan10
encapsulation dot1Q 10
no cdp enable
xconnect 22.22.22.22 10 encapsulation mpls pw-class ETH-to-ETH
PE1#show mpls forwarding-table
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
16 No Label 172.16.1.0/24 0 Gi0/2 10.1.1.1
17 No Label l2ckt(10) 85052 Gi0/3.10 point2point
18 Pop Label 55.55.55.55/32 0 Gi0/0 10.2.2.2
19 Pop Label 10.2.2.8/30 0 Gi0/0 10.2.2.2
20 Pop Label 10.2.2.4/30 0 Gi0/0 10.2.2.2
21 17 22.22.22.22/32 0 Gi0/0 10.2.2.2