Skip to main content

Featured

Basics of VXLAN

 Maximum number of VLAN is 4000 where  VXLAN can give 16 million Virtualization by adding 24 bit VNI network Identifier. This Vxlan encapsualtion is called Virtual Ethernet modul or VEM. Each VEM has IP address. The IP is assigned to interface VTEP==>> Vxlan Tunnel end point Each VTEP interfaces associated with one or more VNIs. VXLAN usage is can create multiple tunnels over a underlay network. Mainly used on Spine- Leaf Design  bum traffic for broadcast VXLAN can do the load balance between the port channel. Multiple VNI can associated with same multicast group. ========================================= HSRP VS VRRP VS GLBP HSRP and GLBP is cisco properatory VRRP is opensource protocol. HSRP active and standby and VRRP follows master and slave. VRRP can use interface IP as virtual IP. HSRP sents Hello messages but VRRP sents adverticements. GLBP is used to do for load balancing between routers. It uses different mac address for different machine traffic. SSO: ====...

Port Scanning using Python:


We can do port scan using python:

Below python program is written by me while learning python port scan:


import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # Creating a socket


target = 'trhu1.prog.altair.com'

def pscan(port):  # pscan is a module to scan TCP ports
    try:
        con = s.connect((target,port)) # connect is function to connect
        return True
    except:
        return False

for x in range(1,60000):
    if pscan(x):
        print('Port',x, 'rhu1.prog.altair.com is open')

    else:
        print('Port',x,'is closed')


Comments

Post a Comment

Popular Posts