- pfSense 2 Cookbook
- Matt Williamson
- 281字
- 2021-04-09 21:16:38
Identifying and assigning interfaces
This recipe describes how to identify a network configuration and assign the appropriate interfaces in pfSense.
Getting ready
You'll need to identify the MAC address for each Ethernet port on your pfSense machine before attempting to assign interfaces.
How to do it...
- Access the console from the physical machine or enable SSH and connect remotely (see the Enabling the Secure Shell (SSH) recipe for details).
- The home screen will display a list of interfaces, network ports, and IP addresses:
- Choose option 1 to Assign Interfaces.
- Skip setting up VLANs for now. See the Creating a Virtual LAN recipe in Chapter 5, Essential Services for more information.
- Assign each interface to the interface of your choice by matching the MAC address to the interface address on the display:
How it works...
pfSense, like any other computer operating system, references each NIC by some unique value (fxp0, em0, em1, and so on). These unique identifiers are often associated with the driver being used and make it easier for us humans to use than the associated MAC address (00:80:0c:12:01:52). Taking that concept a step further, an interface is simply a named placeholder for each port: fxp0=WAN, em0=LAN, em1=DMZ, and so on.
There's more...
Now that you know which port is mapped to which interface, you can manage future interface changes through the WebGUI by browsing to Interfaces | (assign).

See also
- The Accessing the Secure Shell (SSH) recipe
- The Configuring the WAN interface recipe
- The Configuring the LAN interface recipe
- The Configuring optional interfaces recipe
- OpenStack實(shí)戰(zhàn)指南
- Blender 3D 2.49 Architecture, Buidlings, and Scenery
- 中文版 Photoshop CC 從入門(mén)到精通
- After Effects CC 2019 影視后期特效合成案例教程
- 中文版AutoCAD基礎(chǔ)培訓(xùn)教程
- Photoshop影視動(dòng)漫角色繪制技法精解
- 中文版3ds Max 2021完全自學(xué)教程
- 新印象:CINEMA 4D電商設(shè)計(jì)基礎(chǔ)與實(shí)戰(zhàn)(全視頻微課版)
- 中文版Photoshop CS6從新手到高手(超值版)
- Backbone.js Cookbook
- 攝影師的后期必修課(調(diào)色篇)
- AI設(shè)計(jì)時(shí)代:Midjourney實(shí)戰(zhàn)應(yīng)用手冊(cè)
- 跟著視頻學(xué)Excel數(shù)據(jù)處理:函數(shù)篇
- Away3D 3.6 Cookbook
- MATLAB完全自學(xué)教程