mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 21:13:00 +02:00
{topdoc} is needed for asciidoctor to find the image during test
report generation.
This is the same functional change as 02d8288863 but with the
generation script actually updated. This was forgotten in the last
commit.
Signed-off-by: Richard Alpe <richard@bit42.se>
60 lines
2.1 KiB
Plaintext
60 lines
2.1 KiB
Plaintext
=== DHCP Server Multiple Subnets
|
|
==== Description
|
|
Verify that the DHCP server is capble of acting on more than one subnet,
|
|
handing out leases from a pool and static host lease, ensuring global,
|
|
subnet, and host-specific options are honored and do not leak between
|
|
subnets.
|
|
|
|
.Internal network setup, client2 and client3 are on the same LAN
|
|
ifdef::topdoc[]
|
|
image::{topdoc}../../test/case/infix_dhcp/server_subnets/dhcp-subnets.svg[Internal networks]
|
|
endif::topdoc[]
|
|
ifndef::topdoc[]
|
|
ifdef::testgroup[]
|
|
image::server_subnets/dhcp-subnets.svg[Internal networks]
|
|
endif::testgroup[]
|
|
ifndef::testgroup[]
|
|
image::dhcp-subnets.svg[Internal networks]
|
|
endif::testgroup[]
|
|
endif::topdoc[]
|
|
|
|
To verify isolation of subnet settings, a few "decoys" are added to the
|
|
configuration of each subnet. These are then checked for on each of the
|
|
clients. E.g., both subnets have static host configurations, but only
|
|
one client should match.
|
|
|
|
Both DNS and NTP servers are handed out to clients. Some clients have
|
|
a static DNS and NTP server configured already.
|
|
|
|
The test is concluded by the server trying to reach each client using
|
|
ping of the hostname.
|
|
|
|
==== Topology
|
|
ifdef::topdoc[]
|
|
image::{topdoc}../../test/case/infix_dhcp/server_subnets/topology.svg[DHCP Server Multiple Subnets topology]
|
|
endif::topdoc[]
|
|
ifndef::topdoc[]
|
|
ifdef::testgroup[]
|
|
image::server_subnets/topology.svg[DHCP Server Multiple Subnets topology]
|
|
endif::testgroup[]
|
|
ifndef::testgroup[]
|
|
image::topology.svg[DHCP Server Multiple Subnets topology]
|
|
endif::testgroup[]
|
|
endif::topdoc[]
|
|
==== Test sequence
|
|
. Set up topology and attach to client and server DUTs
|
|
. Configure DHCP server and clients
|
|
. Verify DHCP client1 get correct lease
|
|
. Verify DHCP client1 has default route via server
|
|
. Verify DHCP client1 has correct DNS server(s)
|
|
. Verify DHCP client2 get correct static lease
|
|
. Verify DHCP client2 has default route via classless-static-route
|
|
. Verify DHCP client2 has correct DNS and NTP server(s)
|
|
. Verify DHCP client3 get correct lease
|
|
. Verify DHCP client3 has default route via server
|
|
. Verify DHCP client3 has correct DNS and NTP server(s)
|
|
|
|
|
|
<<<
|
|
|