Hands-on task
An isolated network to test a client
You need to check how the payment client behaves on a network where the only other thing is one server. Build an isolated network bench for it — the same way Docker builds a container's network:
- a network namespace
probe; - a veth pair: the
veth-hostend stays on the server with the address10.200.0.1/24, theveth-probeend moves intoprobewith the address10.200.0.2/24; - both ends and
loinsideprobeare up.
A test API is already running on the server on port 9090 — from probe it must open at http://10.200.0.1:9090/health.json. Leave Docker's networks alone.
- network namespace
- ip netns
- veth
- ip