danhoutz

Junos Native VXLAN Test

Mar 10th, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. First config is VXLAN configured for vlan 100 with server facing port configured as an access port:
  2.  
  3. root@leaf3z0# show vlans VXLAN
  4. vlan-id 100;
  5. vxlan {
  6. vni 100;
  7. multicast-group 234.1.2.3;
  8. }
  9.  
  10. root@leaf3z0# show interfaces ge-0/0/0
  11. unit 0 {
  12. family ethernet-switching {
  13. interface-mode access;
  14. vlan {
  15. members 100;
  16. }
  17. }
  18. }
  19.  
  20. dhoutz@host2:~$ ping 192.168.0.2 -c 1
  21. PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
  22. 64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.129 ms
  23.  
  24. --- 192.168.0.2 ping statistics ---
  25. 1 packets transmitted, 1 received, 0% packet loss, time 0ms
  26. rtt min/avg/max/mdev = 0.129/0.129/0.129/0.000 ms
  27.  
  28. ===========================================================================================
  29.  
  30. Second config converts server facing port to a trunk port and tries to set vlan 100 (still configured as VXLAN vni 100) as the native vlan. Config commits but does not seem to work:
  31.  
  32. root@leaf3z0# show interfaces ge-0/0/0
  33. native-vlan-id 100;
  34. unit 0 {
  35. family ethernet-switching {
  36. interface-mode trunk;
  37. vlan {
  38. members 200;
  39. }
  40. }
  41. }
  42.  
  43. dhoutz@host2:~$ ping 192.168.0.2 -c 1
  44. PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
  45. From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
  46.  
  47. --- 192.168.0.2 ping statistics ---
  48. 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
  49.  
  50. Ubuntu host configuration is the same for both of these tests:
  51.  
  52. auto em1
  53. iface em1 inet static
  54. address 192.168.0.1
  55. netmask 255.255.255.0
  56.  
  57. auto em1.200
  58. iface em1.200 inet static
  59. address 10.10.10.1
  60. netmask 255.255.255.0
  61. vlan-raw-device em1
Advertisement
Add Comment
Please, Sign In to add comment