SSL/TLS certificates beginner’s tutorial | Talpor Solutions Blog

Source: SSL/TLS certificates beginner’s tutorial | Talpor Solutions Blog

Advertisements
Posted in Uncategorized | Tagged | Leave a comment

Generating device configuration using Ansible and Jinja2

Following 3 links pretty much cover everything we need, to generate network device configurations from a  template and variable file.

https://pynet.twb-tech.com/blog/ansible/ansible-cfg-template.html

https://pynet.twb-tech.com/blog/ansible/ansible-cfg-template-p2.html

https://pynet.twb-tech.com/blog/ansible/ansible-cfg-template-p3.html

 

Posted in Scripting | Leave a comment

NetNORAD – Facebook TSHOOT tool

Interesting read and video about NetNORAD – a tool used by facebook to detect and isolate network latency/packet drop issues.

https://code.facebook.com/posts/1534350660228025/netnorad-troubleshooting-networks-via-end-to-end-probing/

 

Additional reads:

https://github.com/facebook/fbtracert

https://github.com/facebook/UdpPinger

Posted in Uncategorized | Tagged | Leave a comment

Accessing HomePC from Anywhere[without traffic passing through a third-party app]

  • Create a free account with a Dynamic DNS service like noip.com and configure it in the modem. This step is to link dynamically assigned IP from your service provider to a static name.
  • Install any remote sharing app like VNC server, ultraVNC, windows RDP in the HomePC.
  • Configure static DHCP allocation in the wireless router such that same local IP is assigned/reserved to HomePC.

Continue reading

Posted in Uncategorized | Leave a comment

Linux DHCP server config for PXE/BMP boot

Dell switches support Bare-metal provisioning(BMP) where a switch can be provisioned to automatically download image and config file from a remote server and boot up with that image file. In a nutshell, the process involves: Continue reading

Posted in Force10, Linux | Tagged , , , , , , , | Leave a comment

IPv6 – Notes

  • IPv6: 128 bits. Represented in hexadecimal format as eight 16 bits segments.
  • Two rules for IPv6 representation:
    • Leading zeros in 16 bits can be represented as single 0.
    • Single contiguous string of one or more segments are all zeros can be represented as ::

    Continue reading

Posted in IPv6, Routing | Tagged , , , | Leave a comment

BGP Notification Message

A BGP notification message is sent when an error condition is detected by the BGP process. The TCP connection with that BGP peer is closed after sending the notification message. Usually, the BGP process will log this notification in syslog, which would help us to identify the reason why the BGP session was brought down.

In this post, BGP notification message format along with error codes and subcodes are discussed. Continue reading

Posted in bgp, Force10, Routing | Tagged , | Leave a comment

Python Script that SSH to a switch and execute commands for ‘x’ times

Below is a sample python code that can login to a switch via SSH and gather few command outputs and display it on console. SSH sessions are repeated for ‘x’ number of times.

Paramiko SSH module is used in this script. Paramiko is a native Python implementation of SSH. This module can be installed on a linux system using pip. commands are:

#sudo apt-get install python-pip
#sudo pip install paramiko

Code: Continue reading

Posted in Scripting | Tagged , , , , | 2 Comments

Network Troubleshooting Methods

Troubleshooting a network connectivity issue is quite challenging in a complex Data Center Network with live production traffic.

Below are few basic methods to identify a node in the traffic path that drops packets which would cause network connectivity issues. This procedure is in general and not related to any specific vendor as troubleshooting options varies with each vendor.

Let’s consider below simple topology for troubleshooting purpose:

R1(IP:1.1.1.1)— R2 — R3 — R4(IP:2.2.2.2)

Problem statement#1: 100% ping loss between R1 and R4In this case, ping from R1 to R4’s interface IP fails 100%. Continue reading

Posted in Case Study | Tagged , , , , , , , , | 1 Comment

NPG (NPIV Proxy Gateway) Mode Vs Full Fabric Mode in FCoE

In this article, I will be discussing about two different modes that an FCF switch can operate in FCoE topology.

FCF(FCoE Forwarder) is a switch that supports both Ethernet(FCoE) functionality like FIP, DCBx, LAN protocols and FC(Fiber Channel) functionality like fabric login, zoning and name services. FCF  connects the CNA on the server end to any storage array(Native FC), by bridging the gap between Ethernet LAN and storage . Dell S5000 is an example of FCF switch which can be configured in two different modes- NPG or Full Fabric mode. Continue reading

Posted in FCOE | Tagged , , , , | Leave a comment