Alpine
Overview
The Alpine node type is used for running Alpine Linux servers.
Features
The refplat ISO includes an Alpine VM image with these tools for network troubleshooting pre-installed:
iperf
-- basic traffic generationroutem
-- OSPF/BGP control plane traffic generationtcpdump
-- packet capturetraceroute
ping
telnet
ssh
sshd
- SSH daemon, configured to start when the node boots
Using Alpine Nodes in CML
The Alpine VM image on the refplat ISO has a locked root
account. An initial user account will be created when the VM boots. By default, a cisco
account with password cisco
is created. You can override the username and password for this initial user account by setting the USERNAME
and/or PASSWORD
in the Edit Config pane for the node in the Workbench.
Shell commands in the configuration field of the node are just sourced as user root
when the node starts up. This approach is based on Alpine Linux. For more information, see the Alpine Linux wiki.
Configuration example:
# this is a shell script which will be sourced at boot
hostname alpine-0
# configurable user account
USERNAME=cisco
PASSWORD=cisco
# configure networking
ip address add 10.0.0.10/24 dev eth1
ip link set dev eth1 up
ip route add 10.0.0.0/8 dev eth1
ip route add default via 10.0.0.1