- 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
- ANSYS19.0實(shí)例詳解
- Vue.js框架與Web前端開(kāi)發(fā)從入門到精通
- Photoshop CC超級(jí)學(xué)習(xí)手冊(cè)
- SolidWorks 2021中文版機(jī)械設(shè)計(jì)從入門到精通
- eZ Publish 4: Enterprise Web Sites Step/by/Step
- BPEL Cookbook: Best Practices for SOA/based integration and composite applications development
- Learning Facebook Application Development
- 中文版CorelDRAW基礎(chǔ)培訓(xùn)教程
- Excel數(shù)據(jù)管理:不加班的秘密
- AutoCAD 2022中文版從入門到精通(標(biāo)準(zhǔn)版)
- Cacti 0.8 Network Monitoring
- Photoshop CS6平面設(shè)計(jì)實(shí)戰(zhàn)從入門到精通(經(jīng)典暢銷版)
- 構(gòu)筑敏捷的開(kāi)發(fā)團(tuán)隊(duì):微軟Visual Studio 2010實(shí)戰(zhàn)兵法
- Photoshop CC設(shè)計(jì)與應(yīng)用任務(wù)教程
- Joomla! E/Commerce with VirtueMart