Saturday, 1 July 2023

L2 VPN setup

 

To set up a Layer 2 VPN (L2VPN) using Junos, you can follow these general steps:

  1. Configure the Provider Edge (PE) Devices:

    • Set up the interfaces that will be used for the L2VPN connections.
    • Configure the routing instance for the L2VPN, typically using Virtual Switch Instance (VSI) or Bridge Domains.
  2. Configure the Customer Edge (CE) Devices:

    • Set up the interfaces that will connect to the PE devices.
    • Configure the appropriate VLANs or other Layer 2 configurations on the CE devices.
  3. Configure the Provider (P) Devices:

    • Set up the interfaces that will connect the PE devices.
    • Configure the necessary routing protocols and policies to ensure connectivity between the PE devices.
  4. Configure the L2VPN:

    • Define the L2VPN instance on each PE device.
    • Specify the endpoints (PE devices) for the L2VPN.
    • Configure the L2VPN encapsulation type (such as Ethernet or VLAN).
    • Define the routing instances or bridge domains associated with the L2VPN.
  5. Establish the L2VPN Connection:

    • Configure the appropriate routing protocols (such as BGP or LDP) to exchange VPN labels and reachability information between the PE devices.
    • Verify the L2VPN connection status and troubleshoot any connectivity issues.

Thursday, 1 June 2023

JUNOS : MPLS L2 VPN

 

MPLS (Multiprotocol Label Switching) is a technique used in computer networks to forward data packets at the layer 2 (data link layer) or layer 3 (network layer) of the OSI model. It is commonly used to provide efficient and scalable forwarding of network traffic.

Junos is the operating system used by Juniper Networks devices, such as routers and switches. Junos supports MPLS and provides various features and configuration options for MPLS networks.

When it comes to MPLS at the layer 2 in Junos, it refers to MPLS Layer 2 VPN (Virtual Private Network). MPLS Layer 2 VPN allows service providers to extend layer 2 connectivity between customer sites over a provider's MPLS network.

Here are some key concepts and components related to MPLS Layer 2 VPN in Junos:

  1. Virtual Private LAN Service (VPLS): VPLS is a technology used to provide a multipoint Ethernet service over an MPLS network. It allows multiple customer sites to appear as if they are connected to a single LAN.

  2. Bridge Domains: Bridge domains are used to define Layer 2 segments within a VPLS network. Each bridge domain represents a separate Ethernet broadcast domain.

  3. Virtual Switches: Virtual switches, also known as VPLS instances, are used to create VPLS instances in Junos. Each VPLS instance represents a separate VPLS network.

  4. Pseudowires: Pseudowires are used to establish point-to-point connections over an MPLS network. In the context of MPLS Layer 2 VPN, pseudowires are used to carry Layer 2 traffic between customer sites.

  5. VPLS Configuration: Configuring MPLS Layer 2 VPN involves defining VPLS instances, specifying bridge domains, configuring pseudowires, and defining the interfaces associated with each VPLS instance.

  6. Routing Instances: Routing instances are used to isolate and control the routing and forwarding behavior within a VPLS network. Each VPLS instance typically has its own routing instance.

These are some basic concepts related to MPLS Layer 2 VPN in Junos. Configuring and managing MPLS Layer 2 VPN involves more detailed configuration steps and considerations, which may vary based on the specific Juniper device model and software version you are using.

Monday, 1 May 2023

JUNOS weakness

 

Junos is a widely used operating system for networking devices, developed by Juniper Networks. Like any software system, Junos has its own set of weaknesses or vulnerabilities that could potentially be exploited by attackers to compromise the security of the network. Here are some of the commonly known weaknesses of Junos:

  1. Default credentials: Junos devices ship with default usernames and passwords, which are often unchanged by users. This makes it easy for attackers to gain unauthorized access to the device and the network.

  2. Denial of Service (DoS) attacks: Junos devices are susceptible to DoS attacks, where an attacker floods the device with traffic, causing it to become unresponsive and potentially disrupting the network.

  3. Buffer overflow vulnerabilities: Junos may have buffer overflow vulnerabilities that can be exploited by attackers to execute arbitrary code or crash the device.

  4. Configuration errors: Misconfiguration of Junos devices can result in security weaknesses, such as allowing unauthorized access or permitting unintended network traffic.

  5. Outdated software: Junos devices running outdated software may be vulnerable to known exploits that have been patched in newer versions.

It's important to note that Juniper Networks regularly releases security updates to address known vulnerabilities and improve the overall security of the Junos operating system. It is recommended to keep the software up to date and implement best security practices to minimize the risk of exploitation.

Saturday, 1 April 2023

Junos vs Cisco NOS

 

FeatureJunosCisco IOS
DeveloperDeveloped by Juniper NetworksDeveloped by Cisco Systems
CLICommand-line interface (CLI)CLI
GUIWeb-based GUI and J-Web interfaceWeb-based GUI
Device supportSupported on Juniper devicesSupported on Cisco devices
Routing protocolsBGP, OSPF, IS-IS, RIP, MPLS, and moreBGP, OSPF, EIGRP, RIP, MPLS, and more
Security featuresStateful firewall, IPSec VPN, SSL VPN, NAT, and moreStateful firewall, IPSec VPN, SSL VPN, NAT, and more
High availability featuresVirtual Chassis, MC-LAG, VRRP, and moreVirtual Router Redundancy Protocol (VRRP), HSRP, and more
AutomationSupports automation with tools like Ansible and PyEZSupports automation with tools like Ansible and Cisco DNA Center
LicensingBased on hardwareBased on software and hardware
Technical supportJuniper offers support for its productsCisco offers support for its products

Wednesday, 15 March 2023

Junos vs FortiOS

 

FeatureFortiOSJunos OS
Operating SystemProprietary Linux-based OS for Fortinet productsFreeBSD-based OS for Juniper Networks products
FirewallNext-generation firewall with deep packet inspection and application control

Stateful firewall with zone-based security policies and packet filtering

VPNSupports IPSec, SSL, L2TP, PPTP and GRE VPN protocolsSupports IPSec, SSL, MPLS and GRE VPN protocols
RoutingSupports static, dynamic and policy-based routing protocolsSupports static, dynamic and segment routing protocols
SD-WANProvides WAN optimization and load balancing features for multiple WAN linksProvides traffic engineering and path selection features for multiple WAN links
ManagementCan be managed by FortiManager or FortiCloud platformsCan be managed by Junos Space or Contrail platforms

Wednesday, 1 March 2023

Bug submittion for JUNOS

 

To submit a bug in Junos, you can use the Juniper Networks Technical Assistance Center (JTAC) website or contact JTAC directly by phone or email. Here are the steps to submit a bug through the JTAC website:

  1. Go to the Juniper Networks Support website: https://www.juniper.net/support/
  2. Click on "Open a Case" in the upper right-hand corner.
  3. Log in with your Juniper Networks account credentials.
  4. Fill out the required fields in the case creation form, including a detailed description of the issue, the version of Junos you are using, and any relevant logs or configurations.
  5. Select "Bug Report" as the case type.
  6. Submit the case.

Once the case is submitted, JTAC will review it and work with you to resolve the issue. If a bug is confirmed, it will be added to the Junos bug tracking system and addressed in a future release of Junos.

Wednesday, 1 February 2023

Sample Configure VXLAN between Fortigate and SRX

 To configure a VXLAN between a Juniper SRX and a Fortinet Fortigate firewall, you'll need to follow these general steps:

  1. Configure the VXLAN on both devices
  2. Establish the Tunnel interface on both devices
  3. Configure the VLAN on both devices
  4. Configure the routing protocol
  5. Test connectivity

Here are the detailed steps for Juniper SRX:

1. Configure the VXLAN on the SRX: 

set interfaces vtep vtep0 unit 0 family inet address 10.0.0.1/24
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members vlan-10
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan-20
set vlans vlan-10 vlan-id 10
set vlans vlan-20 vlan-id 20
 

2. Establish the Tunnel interface on the SRX: 

set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/0 unit 0 family ethernet-switching native-vlan-id 10
set interfaces ge-0/0/1 unit 0 family ethernet-switching native-vlan-id 20
set interfaces vtep vtep0 encapsulation vxlan
set interfaces vtep vtep0 source-interface ge-0/0/0
set interfaces vtep vtep0 logical-switch-overlay vni 20000
 

Here are the detailed steps for Fortinet Fortigate:

1. Configure the VXLAN on the Fortigate:

config system interface
edit "vxlan1"
set vdom "root"
set ip 10.0.0.2/24
set allowaccess ping
set type vxlan
set vxlan vni 20000
next
end
 

2. Establish the Tunnel interface on the Fortigate:

config system virtual-switch
edit "vswitch1"
set vdom "root"
set interface "vxlan1"
set age 300
next
end
 

3. Configure the VLAN on the Fortigate:

config system interface
edit "port1"
set vdom "root"
set type physical
set vlanforward enable
set vlanid 10
set virtual-switch "vswitch1"
next
edit "port2"
set vdom "root"
set type physical
set vlanforward enable
set vlanid 20
set virtual-switch "vswitch1"
next
end
 

4. Configure the routing protocol:

config router static
edit 1
set dst 10.0.0.0 255.255.255.0
set device "vxlan1"
next
end
 

 

 

loading...