官术网_书友最值得收藏!

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...

  1. Access the console from the physical machine or enable SSH and connect remotely (see the Enabling the Secure Shell (SSH) recipe for details).
  2. The home screen will display a list of interfaces, network ports, and IP addresses:
  3. Choose option 1 to Assign Interfaces.
  4. Skip setting up VLANs for now. See the Creating a Virtual LAN recipe in Chapter 5, Essential Services for more information.
  5. Assign each interface to the interface of your choice by matching the MAC address to the interface address on the display:

    Note

    The ability to only configure a single interface is new to pfSense 2.0. Prior versions required a minimum of two (WAN and LAN) interfaces.

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
主站蜘蛛池模板: 通山县| 会泽县| 台中县| 谢通门县| 吴桥县| 双柏县| 申扎县| 沐川县| 宁明县| 玛沁县| 望都县| 汽车| 甘孜| 屯门区| 托克逊县| 阳东县| 大石桥市| 准格尔旗| 肇庆市| 左贡县| 明水县| 利津县| 金山区| 台前县| 砚山县| 岳普湖县| 吉林省| 乌兰浩特市| 桐梓县| 罗江县| 澄城县| 财经| 临清市| 徐汇区| 托克托县| 邯郸市| 陇川县| 象州县| 福鼎市| 孙吴县| 呈贡县|