A LAN Connectivity Policy groups one or more vNICs and wires them to their associated Ethernet policies (adapter, QoS, network or network group) and MAC pools. It defines the complete Ethernet configuration for a server, including fabric placement, slot and PCI link assignment, and optional link failover. The policy is applied to servers via a Server Profile Template.
Location in Intersight GUI:
Policies » LAN Connectivity
Example-1: The example below demonstrates an FI-attached LAN connectivity policy with two vNICs placed on separate fabric paths for high availability, using automatic slot assignment (the default).
compute:
intersight:
organizations:
- name: MyOrganization
policies:
lan_connectivity:
- name: web-lan
description: LAN connectivity for web servers
target_platform: FIAttached
vnics:
- name: eth0
order: 0
fabric: A
mac_pool: web-mac-a
ethernet_adapter_policy: web-eth-adapter
ethernet_network_group_policy: web-vlan-group
ethernet_qos_policy: web-qos
- name: eth1
order: 1
fabric: B
mac_pool: web-mac-b
ethernet_adapter_policy: web-eth-adapter
ethernet_network_group_policy: web-vlan-group
ethernet_qos_policy: web-qos
tags:
- key: env
value: prod
Example-2: The example below demonstrates explicit slot and PCI link assignment for deployments where vNIC placement must be pinned to a specific adapter slot.
compute:
intersight:
organizations:
- name: MyOrganization
policies:
lan_connectivity:
- name: web-lan-pinned
description: LAN connectivity with explicit MLOM slot placement
target_platform: FIAttached
vnics:
- name: eth0
order: 0
fabric: A
slot: MLOM
pci_link: 0
mac_pool: web-mac-a
ethernet_adapter_policy: web-eth-adapter
ethernet_network_group_policy: web-vlan-group
ethernet_qos_policy: web-qos
Example-3: The example below demonstrates a Standalone LAN connectivity policy using an Ethernet Network Policy for VLAN assignment.
compute:
intersight:
organizations:
- name: MyOrganization
policies:
lan_connectivity:
- name: standalone-lan
description: LAN connectivity for standalone servers