# WAN

Configure WAN interface as an upstream interface role type.

OpenWiFi has the concept of a virtual dataplane where the definition of the interface role as upstream or downstream defines if the port involved will be mapped to WAN or LAN operation.

It is possible to re-map any LAN port to function as a normal WAN port in this way.

![](https://1686450113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfA93RxblNlIBkzfMWezd%2Fuploads%2Fgit-blob-80f3334ef18d616cdbafb84125fc4c4d2489ceaa%2FScreen%20Shot%202022-07-20%20at%201.37.02%20PM.png?alt=media)

When the above Interfaces configuration section is created, respond to the dialog prompt to define an upstream WAN then select from the available configuration options to suit the local environment.

![](https://1686450113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfA93RxblNlIBkzfMWezd%2Fuploads%2Fgit-blob-d0f08514a5f677bcbbdc69a1f79a88c541a52a7c%2FScreen%20Shot%202022-07-20%20at%201.38.22%20PM.png?alt=media)

Within WAN(upstream) select the port(s) for use as WAN.

A variety of Services features may be associated to logical interfaces. For this example, enable LLDP.

IP Addressing set as IPv4 Dynamic will cause the WAN port to use DHCP for its provisioned internet access. IPv6 dual stack is also supported.
