Configure Layer 3 Interfaces
Table of Contents
Expand All
|
Collapse All
Next-Generation Firewall Docs
-
-
- Cloud Management of NGFWs
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0
- PAN-OS 11.1 & Later
- PAN-OS 9.1 (EoL)
-
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0
- PAN-OS 11.1 & Later
-
-
-
- Cloud Management and AIOps for NGFW
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0
- PAN-OS 11.1
- PAN-OS 11.2
- PAN-OS 8.1 (EoL)
- PAN-OS 9.0 (EoL)
- PAN-OS 9.1 (EoL)
Configure Layer 3 Interfaces
Configure a Layer 3 interface with IPv4 or IPv6 addresses.
The following procedure is required to configure Layer
3 Interfaces (Ethernet, VLAN, loopback, and tunnel interfaces) with
IPv4 or IPv6 addresses so that the firewall can perform routing
on these interfaces. If a tunnel is used for routing or if tunnel
monitoring is turned on, the tunnel needs an IP address. Before
performing the following task, define one or more virtual routers on
a legacy routing engine or logical routers on
an Advanced Routing Engine.
You would typically use the following
procedure to configure an external interface that connects to the
internet and an interface for your internal network. You can configure
both IPv4 and IPv6 addresses on a single interface.
PAN-OS
firewall models support a maximum of 16,000 IP addresses assigned
to physical or virtual Layer 3 interfaces; this maximum includes both
IPv4 and IPv6 addresses. A single Layer 3 interface supports multiple
static IPv4 and static IPv6 addresses. At any given time, a Layer
3 interface type can be either static IPv4, DHCPv4, or PPPoEv4.
At any given time, a Layer 3 interface type can be either static
IPv6, DHCPv6, or Inherited.
If you’re using IPv6 routes,
you can configure the firewall to provide IPv6
Router Advertisements for DNS Configuration. The firewall
provisions IPv6 DNS clients with Recursive DNS Server (RDNS) addresses
and a DNS Search List so that the client can resolve its IPv6 DNS
requests. Thus the firewall is acting like a DHCPv6 server for you.
Beginning with PAN-OS 11.1.4, you can configure
duplicate (overlapping) IP addresses on Layer 3 interfaces for an Advanced Routing
Engine. A prerequisite is that you first Enable Advanced Routing. If you need duplicate (overlapping) IP addresses, learn about them before you enable
them in this procedure.
- (PAN-OS 11.1.4 and later releases) (Optional) Enable overlapping IP addresses.
- Selectand edit General Settings.DeviceSetupManagement
- SelectDuplicate IP Address Support.
- Committhe change.
- Select an interface and configure it with a security zone.
- Selectand eitherNetworkInterfacesEthernet,VLAN,loopback, orTunnel, depending on what type of interface you want.
- Select the interface to configure.
- Select theInterface Type—Layer3.
- On theConfigtab, forVirtual Router, select the virtual router you are configuring, such asdefault.
- ForVirtual System, select the virtual system you are configuring if on a multi-virtual system firewall.
- ForSecurity Zone, select the zone to which the interface belongs or create aNew Zone.
- ClickOK.
- Configure the interface with an IPv4 address.You can assign an IPv4 address to a Layer 3 interface in one of three ways:
- Static
- DHCP Client—The firewall interface acts as a DHCP client and receives a dynamically assigned IPv4 address. The firewall also provides the capability to propagate settings received by the DHCP client interface into a DHCP server operating on the firewall. This is most commonly used to propagate DNS server settings from an Internet service provider to client machines operating on the network protected by the firewall.
- PPPoE—Configure the interface as a Point-to-Point Protocol over Ethernet (PPPoE) termination point to support connectivity in a Digital Subscriber Line (DSL) environment where there is a DSL modem but no other PPPoE device to terminate the connection.
- Selectand eitherNetworkInterfacesEthernet,VLAN,loopback, orTunnel, depending on what type of interface you want.
- Select the interface to configure.
- To configure the interface with a static IPv4 address, on theIPv4tab, setTypetoStatic.
- AddaNameand optionalDescriptionfor the address.
- ForType, select one of the following:
- IP Netmask—Enter the IP address and network mask to assign to the interface, for example, 208.80.56.100/24.If you’re using a /31 subnet mask for the Layer 3 interface address, the interface must be configured with the .1/31 address in order for utilities such as ping to work properly.If you’re configuring a loopback interface with an IPv4 address, it must have a /32 subnet mask; for example, 192.168.2.1/32.
- IP Range—Enter an IP address range, such as 192.168.2.1-192.168.2.4.
- FQDN—Enter a Fully Qualified Domain Name.
- SelectTagsto apply to the address.
- ClickOK.
- Configure an interface as a PPPoE termination point.PPPoE is not supported in HA active/active mode.
- Selectand eitherNetworkInterfacesEthernet,VLAN,loopback, orTunnel.
- Select the interface to configure.
- On theIPv4tab, setTypetoPPPoE.
- On theGeneraltab, selectEnableto activate the interface for PPPoE termination.
- Enter theUsernamefor the point-to-point connection.
- Enter thePasswordfor the username andConfirm Password.
- ClickOK.
- Configure an Interface as a DHCPv4 Client so that it receives a dynamically-assigned IPv4 address.DHCP Client is not supported in HA active/active mode.
- Configure an Interface as a DHCPv6 Client (with or without prefix delegation) so that it receives a dynamically-assigned IPv6 address.DHCPv6 Client is not supported in HA active/active mode.
- Configure an interface with a static IPv6 address.
- Selectand eitherNetworkInterfacesEthernet,VLAN,loopback, orTunnel.
- Select the interface to configure.
- On theIPv6tab, selectEnable IPv6 on the interfaceto enable IPv6 addressing on the interface.
- ForInterface ID, enter the 64-bit extended unique identifier (EUI-64) in hexadecimal format (for example, 00:26:08:FF:FE:DE:4E:29). If you leave this field blank, the firewall uses the EUI-64 generated from the MAC address of the physical interface. If you enable theUse interface ID as host portionoption when adding an address, the firewall uses the Interface ID as the host portion of that address.
- SelectAddress AssignmentandAddthe IPv6Addressor select an address group.
- SelectEnable address on interfaceto enable this IPv6 address on the interface.
- SelectUse interface ID as host portionto use the Interface ID as the host portion of the IPv6 address.
- (Optional) SelectAnycastto make the IPv6 address (route) an Anycast address (route), which means multiple locations can advertise the same prefix, and IPv6 sends the anycast traffic to the node it considers the nearest, based on routing protocol costs and other factors.
- (Ethernet interface only) SelectSend Router Advertisement(RA) to enable the firewall to send this address in Router Advertisements, in which case you must also enable the globalEnable Router Advertisementoption on the interface (next step).
- (Ethernet interface only) Enter theValid Lifetime (sec), in seconds, that the firewall considers the address valid. The Valid Lifetime must equal or exceed thePreferred Lifetime (sec)(default is 2,592,000).
- (Ethernet interface only) Enter thePreferred Lifetime (sec)(in seconds) that the valid address is preferred, which means the firewall can use it to send and receive traffic. After the Preferred Lifetime expires, the firewall can’t use the address to establish new connections, but any existing connections are valid until theValid Lifetimeexpires (default is 604,800).
- (Ethernet interface only) SelectOn-linkif systems that have addresses within the prefix are reachable without a router.
- (Ethernet interface only) SelectAutonomousif systems can independently create an IP address by combining the advertised prefix with an Interface ID.
- ClickOK.
- For a static IPv6 interface, configure address resolution.
- SelectAddress Resolution.
- Enable Duplicate Address Detection(DAD) if you want the uniqueness of a potential IPv6 address to be verified before it is assigned to the interface (default is enabled).
- If you selectedEnable Duplicate Address Detection, specify the number ofDAD Attemptswithin the neighbor solicitation (NS) interval before the attempt to identify neighbors fails; range is 0 to 10; default is 1.
- Enter theReachable Time (sec), the length of time that the client assumes a neighbor is reachable after receiving a Reachability Confirmation message; range is 10 to 36,000; default is 30.
- Enter theNS Interval (sec)(Neighbor Solicitation interval), the length of time between Neighbor Solicitations; range is 1 to 3,600; default is 1.
- Enable NDP Monitoringto enable Neighbor Discovery Protocol monitoring. When enabled, you can select the NDP icon (
- ClickOK.
- (Ethernet or VLAN interface using IPv6 address only) Enable the firewall to send IPv6 Router Advertisements (RAs) from an interface, and optionally tune RA parameters.Tune RA parameters for either of these reasons: To interoperate with a router/host that uses different values. To achieve fast convergence when multiple gateways are present. For example, set lowerMin Interval,Max Interval, andRouter Lifetimevalues so the IPv6 client/host can quickly change the default gateway after the primary gateway fails, and start forwarding to another default gateway in the network.
- SelectandNetworkInterfacesEthernetorVLAN.
- Select the interface you want to configure.
- SelectIPv6.
- SelectEnable IPv6 on the interface.
- On theRouter Advertisementtab, selectEnable Router Advertisement(default is disabled).
- (Optional) SetMin Interval (sec), the minimum interval, in seconds, between RAs the firewall sends (range is 3 to 1,350; default is 200). The firewall sends RAs at random intervals between the minimum and maximum values you set.
- (Optional) SetMax Interval (sec), the maximum interval, in seconds, between RAs the firewall sends (range is 4 to 1,800; default is 600). The firewall sends RAs at random intervals between the minimum and maximum values you set.
- (Optional) SetHop Limitto apply to clients for outgoing packets (range is 1 to 255; default is 64). Enter 0 for no hop limit.
- (Optional) SetLink MTU, the link maximum transmission unit (MTU) to apply to clients (range is 1,280 to 1,500; default isunspecified). Selectunspecifiedfor no link MTU.
- (Optional) SetReachable Time (ms), the reachable time, in milliseconds, that the client will use to assume a neighbor is reachable after receiving a Reachability Confirmation message. Selectunspecifiedfor no reachable time value (range is 0 to 3,600,000; default isunspecified).
- (Optional) SetRetrans Time (ms), the retransmission timer that determines how long the client will wait, in milliseconds, before retransmitting Neighbor Solicitation messages. Selectunspecifiedfor no retransmission time (range is 0 to 4,294,967,295; default isunspecified).
- (Optional) SetRouter Lifetime (sec)to specify how long, in seconds, the client will use the firewall as the default gateway (range is 0 to 9,000; default is 1,800). Zero specifies that the firewall is not the default gateway. When the lifetime expires, the client removes the firewall entry from its Default Router List and uses another router as the default gateway.
- SetRouter Preference, which the client uses to select a preferred router if the network segment has multiple IPv6 routers.High,Medium(default), orLowis the priority that the RA advertises indicating the relative priority of firewall virtual router relative to other routers on the segment.
- SelectManaged Configurationto indicate to the client that addresses are available via DHCPv6.
- SelectOther Configurationto indicate to the client that other address information (such as DNS-related settings) is available via DHCPv6.
- SelectConsistency Checkto have the firewall verify that RAs sent from other routers are advertising consistent information on the link. The firewall logs any inconsistencies.
- ClickOK.
- (Ethernet or VLAN interface using IPv6 address only) Specify the Recursive DNS Server addresses and DNS Search List the firewall will advertise in ND Router Advertisements from this interface.The RDNS servers and DNS Search List are part of the DNS configuration for the DNS client so that the client can resolve IPv6 DNS requests.You must have selectedEnable Router Advertisementon theRouter Advertisementtab to make the DNS Support tab available.
- SelectandNetworkInterfacesEthernetorVLAN.
- Select the interface you are configuring.
- Select.IPv6DNS Support
- Include DNS information in Router Advertisementto enable the firewall to send IPv6 DNS information.
- For DNSServer,Addthe IPv6 address of a Recursive DNS Server (adding up to eight servers). The firewall sends server addresses in an ICMPv6 Router Advertisement in order from top to bottom.
- Specify theLifetimein seconds, which is the maximum length of time the client can use the specific RDNS Server to resolve domain names.
- TheLifetimerange is any value equal to or between theMax Interval(that you configured on theRouter Advertisementtab) and two times thatMax Interval. For example, if your Max Interval is 600 seconds, the Lifetime range is 600 to 1,200 seconds.
- The defaultLifetimeis 1,200 seconds.
- AddaDomain Search List(domain name of a maximum of 255 bytes). Add up to eight entries. The firewall sends domains in an ICMPv6 Router Advertisement in order from top to bottom.
- Specify theLifetimein seconds, which is the maximum length of time the client can use the list. The Lifetime has the same range and default value as theServer.
- ClickOK.
- (Ethernet or VLAN interface) Specify static ARP entries. Static ARP entries reduce ARP processing.
- SelectandNetworkInterfacesEthernetorVLAN.
- Select the interface you are configuring.
- Select.AdvancedARP Entries
- AddanIP Addressand its correspondingMAC Address(hardware or media access control address). For a VLAN interface, you must also select theInterface.Static ARP entries do not time out. Auto-learned ARP entries in the cache time out in 1,800 seconds by default; you can customize the ARP cache timeout.
- ClickOK.
- (Ethernet or VLAN interface) Specify static Neighbor Discovery Protocol (NDP) entries. NDP for IPv6 performs functions similar to those provided by ARP for IPv4.
- SelectandNetworkInterfacesEthernetorVLAN.
- Select the interface you are configuring.
- Select.AdvancedND Entries
- AddanIPv6 Addressand its correspondingMAC Address.
- ClickOK.
- (Optional) Enable services on the interface.
- To enable services on the interface, selectandNetworkInterfacesEthernetorVLAN.
- Select the interface you are configuring.
- Select.AdvancedOther Info
- Expand theManagement Profilelist and select a profile orNew Management Profile.
- Enter aNamefor the profile.
- ForPermitted Services, select services, such asPing, and clickOK.
- Commityour changes.
- Cable the interface.Attach straight-through cables from interfaces you configured to the corresponding switch or router on each network segment.
- Verify that the interface is active.From the web interface, selectand verify that icon in the Link State column is green. You can also monitor link state from theNetworkInterfacesInterfaceswidget on theDashboard.
- Configure static routes and/or a dynamic routing protocol so that the virtual router or logical router can route traffic.
- Configure a default route.Configure a Static Route for a virtual router or Create a Static Route for a logical router and set it as the default.
- (Supported firewalls only) If the interface corresponds to a PoE (Power over Ethernet) port on the firewall, you can optionally configure PoE.