Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First config is VXLAN configured for vlan 100 with server facing port configured as an access port:
- root@leaf3z0# show vlans VXLAN
- vlan-id 100;
- vxlan {
- vni 100;
- multicast-group 234.1.2.3;
- }
- root@leaf3z0# show interfaces ge-0/0/0
- unit 0 {
- family ethernet-switching {
- interface-mode access;
- vlan {
- members 100;
- }
- }
- }
- dhoutz@host2:~$ ping 192.168.0.2 -c 1
- PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
- 64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.129 ms
- --- 192.168.0.2 ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 0.129/0.129/0.129/0.000 ms
- ===========================================================================================
- 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:
- root@leaf3z0# show interfaces ge-0/0/0
- native-vlan-id 100;
- unit 0 {
- family ethernet-switching {
- interface-mode trunk;
- vlan {
- members 200;
- }
- }
- }
- dhoutz@host2:~$ ping 192.168.0.2 -c 1
- PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
- From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
- --- 192.168.0.2 ping statistics ---
- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
- Ubuntu host configuration is the same for both of these tests:
- auto em1
- iface em1 inet static
- address 192.168.0.1
- netmask 255.255.255.0
- auto em1.200
- iface em1.200 inet static
- address 10.10.10.1
- netmask 255.255.255.0
- vlan-raw-device em1
Advertisement
Add Comment
Please, Sign In to add comment