How to Configure a Layer 2 to Layer 3 Connection on the Palo Alto Networks Device

How to Configure a Layer 2 to Layer 3 Connection on the Palo Alto Networks Device

32192
Created On 09/25/18 17:50 PM - Last Updated 07/17/19 22:30 PM


Resolution

Configuring a Layer 2 to Layer 3 on a Device

  1. Configure a Layer 3 interface and connect it to your Layer 3 network.
  2. Configure a Virtual Router and a Layer 3 zone (append the Layer 3 interface to the virtual router and the Layer 3 zone). Be sure to configure the appropriate default gateway on the Virtual Router.

    Capture10.PNG.png

  3. Configure a Layer 2 interface and connect it to your Layer 2 network. Also create a Layer 2 zone and append this interface to it.
  4. Configure a VLAN interface with an IP address that is in the same broadcast domain as the Layer 2 network. Place this VLAN interface in the same Virtual Router as in step 2. Create a zone specifically for the VLAN interface and append this VLAN interface to that zone.
  5. Configure a VLAN and append the Layer 2 interface and the VLAN interface to it.
    Note: For PAN-OS 5.0 and earlier, also enable Layer 3 forwarding on this VLAN.
  6. Configure policies that allow traffic from the zone that has the VLAN interface to the zone that has the Layer 3 interface. You can also configure a policy allowing traffic from the zone that has the Layer 3 interface to the zone that has the VLAN interface.
  7. In the network scenario on the diagram below, I wanted the PC to be able to reach the Internet cloud and I wanted to allow access in to the PC (Remote Desktop) from the Internet cloud. Thus, I configured an inbound NAT rule (destination NAT and and outbound NAT rule (source NAT). Please refer to the additional screen captures below to see the NAT rules that I configured.
  8. Remember to commit.

Basic Network Diagram of Layer 2 to Layer 3 Setup

1.png

The Network Tab for the physical interfaces and the VLAN interface (the interfaces used were 1/3, 1/9, and vlan.1):

Capture11.PNG.png

Capture12.PNG.png

Required security policies

Screen Shot 2014-10-07 at 9.48.49 AM.png

The configured NAT rules

Capture14.PNG.png

onwer: swhyte



Attachments
Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClKMCA0&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language