Posts

NIC-Teaming in RedHat Linux Server

  NIC-Teaming: =========== Red Hat Enterprise Linux 7 implements network teaming with a small kernel driver and a userspace daemon, teamd. The kernel handles network packets efficiently and teamd handles logic and interface processing. Software, called runners, implement loadbalancing and active-backup logic, such as round robin. The following runners are available to teamd: 1. Broadcast: a simple runner which transmits each packet from all ports. 2. Round Robin: a simple runner which transmits packets in a round-robin fashion  from each of the ports. 3. Activebackup: this is a failover runner which watches for link changes and selects an active port for data transfers. 4. Loadbalance: this runner monitors traffic and uses a hash function to try to reach a perfect balance when selecting ports for packet transmission. 5. LACP: implements the 802.3ad Link Aggregation Control Protocol. Can use the same transmit port selection possibilities as the loadbalance runner. We ...

Samba Server Configuration in RedHat Linux

Image
  Samba Server Configuration in RedHat Linux At Server Site(IP Address: 10.1.1.3/24): yum  -y  install  samba* mkdir      /share chmod  -R  777  /share chcon  -R  -t  samba_share_t  /share/ semanage   fcontext   -a   -t   samba_share_t   /share/ setsebool   -P   samba_enable_home_dirs   on useradd  smbuser1 usermod   -G   hr-dept   smbuser1 smbpasswd  -a  smbuser1 cd /etc/samba/ cp -p smb.conf smb.conf.orig         ;[We are taking backup of  main configuration file for safety] vim   /etc/samba/smb.conf    # To allow network to reach samba server: workgroup = MYGROUP interfaces = eth0  10.1.1.0/24 hosts allow = 127.    10.1.1.     # To share the folder and others facts: [share_name]      path = /shar...

AutoFS Configuration in Redhat Linux 7/8

  AutoFS Configuration: Extra Note:      You can use  cat  /etc/mtab  command to permanent mount. Just copy your partition line and paste it into /etc/fstab file; save it. At Server Side: Server IP=10.1.1.1/24 yum  install  -y  nfs* mkdir  /public mkdir  /private chmod  777  /public chmod  777  /private cd  /public cal > calpublic.txt cd  /private cal 2020 > calprivate.txt vim /etc/exports      /public  10.1.1.2(ro,sync)       /private  10.1.1.2(rw,sync) exportfs  -arvf firewall-cmd  --permanent --add-service=nfs firewall-cmd  --permanent --add-service=rpc-bind firewall-cmd  --permanent --add-service=mountd          ** you can use below command instead of above 3 commands firewall-cmd  --permanent --add-service={nfs,rpc-bind,mountd} firewall-cmd  --reload systemctl  start nfs-server.service...
Image
  Steps: At ADDS Server: my domain is : itbd.local 1.Craete a folder named "ifm" into C drive. 2. Open poershell / command prompt as admin mode and yun below commands c:\> ntdsutil ntdsutil: activate instance ntds ntdsutil: ifm ifm: create full c:\ifm      [Here, ifm is the folder which you have created previously] At New-Server: 3. Copy the "ifm" folder  from the ADDS server by "pendrive / external hard disk " and paste into C drive of  your new server where you want to install ADDS 4. Install the Active Directory Service role as usual  5. Promote the server as ADDS      Note: Here, you have to select "Install From Media" option 6. Finally enjoy as a ADDS into your new server. Hasho aktu!!!!!!

Install and Uninstall of Active Directory Service

  Rename the Computer Name: Rename-Computer    -NewName   ITBD-ADDS   -LocalCredential      WS\Administrator  -PassThru Here -  ITBD-ADDS - is the New-Name of the computer WS - is the Old/Previous Name of the Computer To see the interfaces name: netsh interface show interface To rename the interface name: netsh   interface    set    interface    name="Current Name"      newname="New Name" Setting IP Address: netsh   interface   ipv4   set   address    "LAN"    static   192.168.1.100 255.255.255.0    192.168.1.1 netsh interface ipv4 delete dns "LAN" all Delete default gateway: route delete -p 0.0.0.0 Joining into a Domain: add-computer   –domainname   itbd.local    -Credential   itbd\administrator  -restart  –force Installation of Active Directory...

Python for Network Engineers (Part-1)- Variable Declaration

Image
  Variable Declaration  Rules for Variable Names: ====================== 1. A variable can have a short name (like x and y) or a more descriptive name (cisco, server_names). Rules for Python variables:  2. A variable name must start with a letter or the underscore character. A variable name cannot start with a number 4. A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ) 5. Variable names are case-sensitive (cisco, Cisco and CIsco are three different variables) PS C:\Users\Trainer_PC> python Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> >>> Cisco = "CCNA" >>> Cisco 'CCNA' >>> Cisco = "CCNA->CCNP>CCIE" >>> Cisco 'CCNA->CCNP>CCIE' >>> Juniper = "JNCIA-JUNOS,JNCIS-SEC,JNCIP-SEC...

Introduction of Cloud Computing

Image
          Cloud Computing A cloud service provider is a third-party company offering a cloud-based platform, infrastructure, application, or storage services. Much like a homeowner would pay for a utility such as electricity or gas, companies typically have to pay only for the amount of cloud services they use, as business demands require. https://www.guru99.com/cloud-computing-service-provider.html A = Availability : It means cloud computing is available 24/7 hours W = Web based/Internet based services. Cloud customers access cloud  services through the internet E =Elasticity: It means cloud customers can easily scale their use of resources up or down as their needs change S =Shared Resources: Cloud customers share the cloud resources over the internet, just as water systems are shared by city residents O =On-demand self services. They can simply sign up for the services, pay for what they need, and start using them M =Measured Services: customers pay for...