Where did NFV come from?
Telecom operators started it. In 2012 a group of large carriers published a white paper through the European standards body ETSI arguing that their networks were full of single-purpose boxes, each with its own hardware, power budget, spare parts and specialist staff. Launching a new service meant buying and racking new appliances. If those functions became software on ordinary servers, services could be deployed in hours, scaled with demand and moved where needed. The idea spread from carriers to enterprises and cloud platforms, and today most network functions exist in software form.
What are the parts of the NFV architecture?
| Component | Role |
|---|---|
| VNF (virtual network function) | The software replacing an appliance: a router, firewall, load balancer, NAT gateway, VPN concentrator, mobile packet core |
| CNF (cloud-native network function) | The same functions packaged as containers instead of VMs |
| NFVI (infrastructure) | Servers, storage, network and the hypervisor or container platform the functions run on |
| MANO (management and orchestration) | Deploys, scales, heals and chains functions, often through open source projects like OSM or ONAP |
| Service function chaining | Steers traffic through a sequence of functions, for example firewall, then IPS, then load balancer |
How is NFV related to SDN?
They complement each other. Software-defined networking separates the decision about where traffic goes from the devices that forward it, with a controller programming switches. NFV moves the functions themselves into software. Together they let an operator create a new network path with a firewall and a load balancer in it entirely through APIs. Network Virtualization covers the switching and overlay side.
How do software functions reach hardware speeds?
A normal Linux network stack is general-purpose and handles a few million packets per second per core comfortably, which is plenty for most servers. Carrier-scale functions need tens of millions. Two techniques close the gap:
- DPDK: user-space drivers that take the NIC away from the kernel and poll it in tight loops on dedicated cores, avoiding interrupts and copies.
- XDP and eBPF: small verified programs that run in the driver as packets arrive, able to drop, redirect or rewrite them before the rest of the stack sees them. Fast DDoS filters and load balancers are built this way.
- SR-IOV: splits one physical NIC into many virtual functions that guests can drive directly.
A tiny XDP example drops all UDP to one port before it costs any further work:
cat > drop7777.c <<'EOF'
#include <linux/bpf.h>
#include <linux/if_ether.h>
#include <linux/ip.h>
#include <linux/udp.h>
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_endian.h>
SEC("xdp") int drop7777(struct xdp_md *c) {
void *d = (void *)(long)c->data, *e = (void *)(long)c->data_end;
struct ethhdr *eth = d; struct iphdr *ip = d + sizeof(*eth);
if ((void *)(ip + 1) > e || eth->h_proto != bpf_htons(ETH_P_IP) || ip->protocol != 17) return XDP_PASS;
struct udphdr *u = (void *)ip + ip->ihl * 4;
if ((void *)(u + 1) > e) return XDP_PASS;
return u->dest == bpf_htons(7777) ? XDP_DROP : XDP_PASS;
}
char LICENSE[] SEC("license") = "GPL";
EOF
clang -O2 -g -target bpf -c drop7777.c -o drop7777.o
ip link set dev eno1 xdpgeneric obj drop7777.o sec xdp
ip link set dev eno1 xdpgeneric off # remove it again
Generic mode works on any NIC; native mode (xdpdrv) is faster where the driver supports it. Install clang, libbpf-dev and the kernel headers first.
What can I run as a network function on a dedicated machine?
- A virtual router and firewall such as VyOS or OPNsense in front of guest networks.
- A load balancer like HAProxy, or an eBPF-based one for very high packet rates.
- A WireGuard or IPsec concentrator for many remote sites.
- A session border controller for VoIP traffic; VoIP and PBX servers covers PBX hosts.
- Traffic analysis with Zeek or Suricata on a mirror of guest traffic.
Bare metal suits NFV well: you have the real NIC, so XDP native mode and SR-IOV are available where the hardware supports them, and no other tenant competes for the cores you dedicate to packet processing.
What should I plan for?
- Dedicated cores: polling-mode functions keep cores at full load by design; isolate them from other work.
- NUMA locality: on dual CPU machines, run packet processing on the socket attached to the NIC; NUMA and dual-socket servers explains why.
- Resilience: a software router on one host is a single point of failure unless you pair it with another.
- Traffic allowance: forwarded traffic leaving the machine counts toward the monthly outgoing total.
Which machines suit network functions?
High clock speed and fast ports matter most. The S13 pairs 8 fast cores with 2x 25 Gbps ports, the S15 adds more cores at high clocks, and the X2 offers 96 efficient cores for many parallel functions.
Machines With 25 Gbps Ports for Network Functions
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| S13 | AMD EPYC 4345P | 8 / 16 | 128 GB DDR5 | 2x 2 TB NVMe | 2x 25 Gbps | $237.92 | $237.92 (1 month) |
| S15 | AMD EPYC 4565P | 16 / 32 | 128 GB DDR5 | 2x 2 TB NVMe | 2x 25 Gbps | $473.23 | $473.23 (1 month) |
| D4 | 2x Intel Xeon Gold 6326 | 32 / 64 | 128 GB DDR4 | 2x 1 TB NVMe | 2x 25 Gbps | $275.41 | $275.41 (1 month) |
| X2 | Intel Xeon 6731E | 96 / 96 | 256 GB DDR5 | 2x 2 TB NVMe | 2x 25 Gbps | $665.87 | $665.87 (1 month) |
Keep Reading
Network Virtualization
Building virtual switches, routers and isolated networks in software on top of physical links, and doing it on a single host or across several.
OpenSecurity Virtualization
Running firewalls, gateways and other security controls as software on general hardware, plus the isolation virtualization adds.
OpenNUMA and dual-socket servers
Why two processors in one box share memory unevenly, and when a dual-socket machine beats a single big chip.
OpenPort speed
What 1, 10 and 25 Gbps network ports mean in real transfer times, and which of our 68 machines carry each speed.
OpenFAQ
Quick Answers
Network functions virtualization: running routers, firewalls, load balancers and similar functions as software on standard servers.
A virtual network function, the software version of a network appliance, running in a VM. A CNF is the container-based version.
SDN separates traffic control from forwarding devices. NFV turns the network functions themselves into software. They are often used together.
With techniques like DPDK, XDP and SR-IOV, software on modern servers can process tens of millions of packets per second.
Yes. You have root on bare metal with the real network card, so generic mode always works and native mode works where the driver supports it.