Posted on July 23, 2020 10:10 pm
 |  Asked by Puff Chang Chang
 |  96 views
0
0
Print Friendly, PDF & Email

Hi,

I’d like to setup a VxLAN EVPN test environment using cEOS and OpenNetworkLinux. During the configuration I noticed that the created loopback interface is not pingable and the vxlan interface is down due to loopback interface is inactive. See below.

Is there anything wrong with my configurations?

Thanks!

root@localhost:~# docker exec -it ceos1 Cli
localhost>en
localhost#show ip int
% No IP capable interfaces
localhost#conf term
localhost(config)#ip routing
localhost(config)#int et1
localhost(config-if-Et1)#no switchport
localhost(config-if-Et1)#ip address 10.0.1.1/31
localhost(config-if-Et1)#no shutdown
localhost(config-if-Et1)#exit
localhost(config)#int vlan 1
localhost(config-if-Vl1)#ip address 192.168.1.1/24
localhost(config-if-Vl1)#no shutdown
localhost(config-if-Vl1)#exit
localhost(config)#int loopback 0
localhost(config-if-Lo0)#ip address 10.0.250.1/32
localhost(config-if-Lo0)#no shutdown
localhost(config-if-Lo0)#exit
localhost(config)#int vxlan 1
localhost(config-if-Vx1)#vxlan source-interface loopback 0
localhost(config-if-Vx1)#vxlan vlan 1 vni 100
localhost(config-if-Vx1)#vxlan multicast-group 239.0.0.1
localhost(config-if-Vx1)#vxlan flood vtep 10.0.1.0
localhost(config-if-Vx1)#no shutdown
localhost(config-if-Vx1)#end
localhost#show ip int
Ethernet1 is up, line protocol is up (connected)
Internet address is 10.0.1.1/31
Broadcast address is 255.255.255.255
IPv6 Interface Forwarding : None
Proxy-ARP is disabled
Local Proxy-ARP is disabled
Gratuitous ARP is ignored
IP MTU 1500 bytes
Loopback0 is up, line protocol is up (connected)
Internet address is 10.0.250.1/32
Broadcast address is 255.255.255.255
IPv6 Interface Forwarding : None
Proxy-ARP is disabled
Local Proxy-ARP is disabled
Gratuitous ARP is ignored
IP MTU 65535 bytes
Vlan1 is up, line protocol is up (connected)
Internet address is 192.168.1.1/24
Broadcast address is 255.255.255.255
IPv6 Interface Forwarding : None
Proxy-ARP is disabled
Local Proxy-ARP is disabled
Gratuitous ARP is ignored
IP MTU 1500 bytes
localhost#show ip route

VRF: default
Codes: C – connected, S – static, K – kernel,
O – OSPF, IA – OSPF inter area, E1 – OSPF external type 1,
E2 – OSPF external type 2, N1 – OSPF NSSA external type 1,
N2 – OSPF NSSA external type2, B – BGP, B I – iBGP, B E – eBGP,
R – RIP, I L1 – IS-IS level 1, I L2 – IS-IS level 2,
O3 – OSPFv3, A B – BGP Aggregate, A O – OSPF Summary,
NG – Nexthop Group Static Route, V – VXLAN Control Service,
DH – DHCP client installed default route, M – Martian,
DP – Dynamic Policy Route, L – VRF Leaked

Gateway of last resort is not set

C 10.0.1.0/31 is directly connected, Ethernet1
C 192.168.1.0/24 is directly connected, Vlan1

localhost#ping 10.0.250.1
PING 10.0.250.1 (10.0.250.1) 72(100) bytes of data.

— 10.0.250.1 ping statistics —
5 packets transmitted, 0 received, 100% packet loss, time 40ms

localhost#ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 72(100) bytes of data.
80 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.078 ms
80 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.030 ms
80 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.028 ms
80 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.029 ms
80 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.029 ms

— 192.168.1.1 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.028/0.038/0.078/0.021 ms, ipg/ewma 0.085/0.057 ms
localhost#show int
Ethernet1 is up, line protocol is up (connected)
Hardware is Ethernet, address is 0242.c095.770a
Internet address is 10.0.1.1/31
Broadcast address is 255.255.255.255
IP MTU 1500 bytes (default)
Full-duplex, Unconfigured, auto negotiation: off, uni-link: n/a
Up 4 minutes, 3 seconds
Loopback Mode : None
2 link status changes since last clear
Last clearing of “show interface” counters never
5 minutes input rate 0 bps (- with framing overhead), 0 packets/sec
5 minutes output rate 0 bps (- with framing overhead), 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
0 packets output, 0 bytes
Sent 0 broadcasts, 0 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Ethernet2 is up, line protocol is up (connected)
Hardware is Ethernet, address is 0242.c0a8.3002 (bia 0242.c0a8.3002)
Ethernet MTU 9214 bytes
Full-duplex, Unconfigured, auto negotiation: off, uni-link: n/a
Up 4 minutes, 4 seconds
Loopback Mode : None
2 link status changes since last clear
Last clearing of “show interface” counters never
5 minutes input rate 0 bps (- with framing overhead), 0 packets/sec
5 minutes output rate 0 bps (- with framing overhead), 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
0 packets output, 0 bytes
Sent 0 broadcasts, 0 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Loopback0 is up, line protocol is up (connected)
Hardware is Loopback
IP MTU 65535 bytes (default)
Up 2 minutes
Vlan1 is up, line protocol is up (connected)
Hardware is Vlan, address is 0242.c095.770a (bia 0242.c095.770a)
Internet address is 192.168.1.1/24
Broadcast address is 255.255.255.255
IP MTU 1500 bytes (default)
Up 2 minutes, 15 seconds
Vxlan1 is down, line protocol is down (notconnect)
Hardware is Vxlan
Source interface is Loopback0 and is inactive
Replication/Flood Mode is headend with Flood List Source: CLI
Remote MAC learning via Datapath
VNI mapping to VLANs
Static VLAN to VNI mapping is
[1, 100]
Note: All Dynamic VLANs used by VCS are internal VLANs.
Use ‘show vxlan vni’ for details.
Static VRF to VNI mapping is not configured
Headend replication flood vtep list is:
1 10.0.1.0
MLAG Shared Router MAC is 0000.0000.0000
VTEP address mask is None

localhost#show version
cEOSLab
Hardware version:
Serial number:
Hardware MAC address: 0242.c095.770a
System MAC address: 0242.c095.770a

Software image version: 4.23.4M-17319532.4234M (engineering build)
Architecture: x86_64
Internal build version: 4.23.4M-17319532.4234M
Internal build ID: 5ee75ad9-4b85-4844-8f1d-762bbc4306d4

cEOS tools version: 1.1

Uptime: 0 weeks, 0 days, 17 hours and 10 minutes
Total memory: 3961136 kB
Free memory: 2603288 kB

localhost#bash

Arista Networks EOS shell

bash-4.2# uname -a
Linux localhost 3.16.64-OpenNetworkLinux #1 SMP Tue Jul 23 04:21:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
bash-4.2# uname -r
3.16.64-OpenNetworkLinux
bash-4.2# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/24 scope host lo
valid_lft forever preferred_lft forever
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default
link/sit 0.0.0.0 brd 0.0.0.0
3: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default
link/tunnel6 :: brd ::
4: fabric: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 10000 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/ether 02:42:c0:95:77:0a brd ff:ff:ff:ff:ff:ff
5: cpu: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/ether 9a:ca:c0:5b:02:35 brd ff:ff:ff:ff:ff:ff
7: fwd0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1488 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/ether 42:2c:1f:a4:3b:ce brd ff:ff:ff:ff:ff:ff
inet6 fe80::402c:1fff:fea4:3bce/64 scope link
valid_lft forever preferred_lft forever
8: vlan1@fabric: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:c0:95:77:0a brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 255.255.255.255 scope global vlan1
valid_lft forever preferred_lft forever
9: vxlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/ether 02:42:c0:95:77:0a brd ff:ff:ff:ff:ff:ff
10: txraw: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 10000 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/ether 02:42:c0:95:77:0a brd ff:ff:ff:ff:ff:ff
11: vx1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/ether 02:42:c0:95:77:0a brd ff:ff:ff:ff:ff:ff
77: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:c0:a8:20:02 brd ff:ff:ff:ff:ff:ff
inet 10.0.1.1/31 brd 255.255.255.255 scope global eth1
valid_lft forever preferred_lft forever
79: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9214 qdisc noqueue state UP group default
link/ether 02:42:c0:a8:30:02 brd ff:ff:ff:ff:ff:ff
81: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:18:00:02 brd ff:ff:ff:ff:ff:ff
inet 172.24.0.2/16 brd 172.24.255.255 scope global eth0
valid_lft forever preferred_lft forever

 

 

0
Posted by Lokesh Charora
Answered on July 27, 2020 5:41 pm

Hello Puff,

Thanks for reaching out. From the config snippet, it seems that Loopback0 is not created in the system.
I am using the same version and loopback does spin up correctly in my setup.

localhost(config)#show ver
cEOSLab
Hardware version:
Serial number:
Hardware MAC address: 0242.acd9.fb34
System MAC address: 0242.acd9.fb34

Software image version: 4.23.4M-17319532.4234M (engineering build)
Architecture: x86_64
Internal build version: 4.23.4M-17319532.4234M
Internal build ID: 5ee75ad9-4b85-4844-8f1d-762bbc4306d4

cEOS tools version: 1.1

localhost(config)#int lo0
localhost(config-if-Lo0)#ip address 9.9.9.9/32
localhost(config-if-Lo0)#exit
localhost(config)#bash ifconfig

lo0: flags=4163 mtu 65535
inet 9.9.9.9 netmask 255.255.255.255 broadcast 255.255.255.255
ether 02:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Given the initial errors seen on the config :

root@localhost:~# docker exec -it ceos1 Cli
localhost>en
localhost#show ip int
% No IP capable interfaces
localhost#conf term

I am suspecting an issue with how the cEOS instance is created. Could you send over:

#docker ps --no-trunc

Also to check if loopback 0 is intialized and picked up correctly, send over:

#bash sudo qtcat /var/log/qt/etba-routingHandlers.qt | grep -i Lo0

This is to check the complete command you used to spin this instance.

Also could you send over :

#show running-config | grep -i multi-agent

We can try to debug from the above outputs and see if there is any problem w.r.t. instance spin-up or loopback interface initialization.

0
Posted by Puff Chang Chang
Answered on August 3, 2020 10:25 am

Hi, Lokesh:

Thank you for the prompt reply. I still cannot spin up the Lo0 interface correctly with your steps. Here is my console dump:

root@localhost:~# docker start ceos1
ceos1
root@localhost:~# docker ps --no-trunc
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
709d4452516f05e924985cbf8d8101d115c7d2f4f5ff5ef6a671f76344435b33 ceosimage:4.23.4M "/sbin/init systemd.setenv=INTFTYPE=eth systemd.setenv=ETBA=1 systemd.setenv=SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 systemd.setenv=CEOS=1 systemd.setenv=EOS_PLATFORM=ceoslab systemd.setenv=container=docker" 2 weeks ago Up 13 seconds ceos1

0
Posted by Puff Chang Chang
Answered on August 3, 2020 10:40 am

Hi, Lokesh:

Thanks you for the prompt reply. I still cannot spin up the Lo0 interface correctly with your steps. Please find the enclosed screenshot.

Regards,

Puff

Attachments:

Post your Answer

You must be logged in to post an answer.