8.2.6. IPv4 Routed-Forwarding¶
8.2.6.1. eth2p-ethip4-ip4base-func¶
IPv4 routing test cases RFC791 IPv4, RFC826 ARP, RFC792 ICMPv4. Encapsulations: Eth-IPv4-ICMPv4 on links TG-DUT1, TG-DUT2, DUT1-DUT2. IPv4 routing tests use circular 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv4 routing and static routes. Test ICMPv4 Echo Request packets are sent in both directions by TG on links to DUT1 and DUT2 and received on TG links on the other side of circular topology. On receive TG verifies packets IPv4 src-addr, dst-addr and MAC addresses.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
TC01: DUT replies to ICMPv4 Echo Req to its ingress interface | DUT1: |
TC02: DUT routes IPv4 to its egress interface | DUT1: |
TC03: DUT1 routes IPv4 to DUT2 ingress interface | DUT1: |
TC04: DUT1 routes IPv4 to DUT2 egress interface | DUT1: |
TC05: DUT1 and DUT2 route IPv4 between TG interfaces | DUT1: |
TC06: DUT replies to ICMPv4 Echo Reqs with size 64B-to-1500B-incr-1B | DUT1: |
TC08: DUT replies to ARP request | DUT1: |
8.2.6.2. eth2p-ethip4-ip4base-ip4arp-func¶
IPv4 ARP test cases RFC826 ARP: Eth-IPv4 and Eth-ARP on links TG-DUT1, TG-DUT2, DUT1-DUT2: IPv4 ARP tests use 3-node topology TG - DUT1 - DUT2 - TG with one link between the nodes. DUT1 and DUT2 are configured with IPv4 routing and static routes. DUT ARP functionality is tested by making TG send ICMPv4 Echo Requests towards its other interface via DUT1 and DUT2.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
TC01: DUT sends ARP Request for unresolved locally connected IPv4 address | DUT1: |
TC02: DUT sends ARP Request for route next hop IPv4 address | DUT1: |
8.2.6.3. eth2p-ethip4-ip4base-ip4ecmp-func¶
Ipv4 Multipath routing test cases
- [Top] Network topologies: TG=DUT 2-node topology with two links between nodes.
- [Cfg] DUT configuration: On DUT configure interfaces IPv4 adresses, and multipath routing.
- [Ver] TG verification: Test packets are sent from TG on the first link to DUT. Packet is received on TG on the second link from DUT1.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
TC01: IPv4 Equal-cost multipath routing | DUT1: |
8.2.6.4. eth2p-ethip4-ip4base-ip4proxyarp-func¶
RFC1027 Proxy ARP test cases
- [Top] Network topologies: TG-DUT1 2-node topology with single link between nodes.
- [Cfg] DUT configuration: DUT1 is configured with Proxy ARP
- [Ver] TG verification: Test ARP Request packet is sent from TG on link to DUT1; on receive TG verifies ARP reply packet for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
- [Ref] Applicable standard specifications: RFC1027.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
TC01: DUT sends ARP reply on behalf of another machine from the IP range | DUT1: |
TC02: DUT sends ARP reply on behalf of another machine from beginning of the IP range | DUT1: |
TC03: DUT sends ARP reply on behalf of another machine from end of the IP range | DUT1: |
TC04: DUT does not send ARP reply on behalf of another machine from below of the IP range | DUT1: |
TC05: DUT does not send ARP reply on behalf of another machine from above of the IP range | DUT1: |