Network Engineer Mock Interview (packet level) | GOOGLE, ORACLE, AMAZON, CISCO interview questions — Transcript
Full transcript
- 0:00Yeah. Hi, Omar. How are you? Yeah. Hi,
- 0:04sir. I'm good. Thanks for asking. I hope
- 0:06you're doing good. Yeah, I'm fantastic.
- 0:08I'm doing Thanks for asking again. Yeah.
- 0:10Okay. So, yeah, I'm going to take a U
- 0:13mark interview for network engineer
- 0:16role. Okay. So, since you have a two
- 0:18plus years of experience, right? So, you
- 0:21have completed your CCNA training
- 0:22successfully. You have completed
- 0:24internship here, right? So this uh this
- 0:26interview is all about scenario based
- 0:28questions and how you will I will check
- 0:30your uh skill set con conceptual way do
- 0:34you have a proper concept on concepts or
- 0:36not and packet level also I will ask you
- 0:38okay troubleshooting wise also I will
- 0:40ask you okay are you ready now
- 0:43yes sir I'm ready yeah I know you are
- 0:45ready for a long time but sorry for the
- 0:47delay yeah okay no problem yeah okay so
- 0:51yeah so could you please introduce
- 0:53yourself and uh what is your roles and
- 0:55responsibilities currently in your
- 0:58organization. Yeah, please go ahead.
- 1:00Now, okay, first uh thanks for giving
- 1:02this opportunity to explain about
- 1:04myself. Uh my name is Umayishwari Kuna.
- 1:07I have 2 years of experience in
- 1:09networking operations and I currently
- 1:12working in TCS as a network engineer and
- 1:15uh initially uh currently I'm working
- 1:17for the Chroma project. Uh initially
- 1:19worked in uh digital infrastructure
- 1:20services. At that time they give me uh a
- 1:23training in CCNA and networking uh
- 1:25technologies and later I got a project
- 1:27chroma and uh in this project they moved
- 1:30me to this project. Here we are using it
- 1:32to work on Cisco 1K uh devices and 9300
- 1:36L3 L3 devices. And here we are using it
- 1:40to work on any kind of hardware level
- 1:42issues and protocol level issues. In
- 1:44case of any hardware level issues, I
- 1:46used it to engage with that uh
- 1:48particular respective tag team and in
- 1:51case of any hardware level uh failures
- 1:53like uh fan ray or any power supplies
- 1:56then I used to create a RMA with that
- 1:58particular vendor team and coming to
- 2:00protocol level issues uh in case of any
- 2:03BGP flapping or any links goes flapping
- 2:06or any uh ISP flaps I used to get a
- 2:09ticket. At that time I will check our
- 2:12internal end. Then after I use it to
- 2:14create a ticket with that particular
- 2:17vendor team like data or ATEL or AT&T
- 2:21and other than this uh ticket handling
- 2:23and I use it to do IOS upgradations and
- 2:27we use it to do this iOS upgradation and
- 2:29this kind of activities in maintenance
- 2:31mode. uh like uh we we we used to work
- 2:36on uh this kind of activities and we
- 2:38will schedule a maintenance window and
- 2:40for doing this activities we will follow
- 2:42the MOP and other than this I use it to
- 2:44do the documentation for everything.
- 2:46Initially we have M O but if in case we
- 2:49need to add or delete at the time of
- 2:52doing any iOS then I use it to each and
- 2:54everything in documentation and I will
- 2:57submit this all documentation for my
- 2:59senior approvals. Then yeah this is all
- 3:01I'm I'm doing currently actively I'm
- 3:04participating this all activities. Yeah
- 3:06this is all my roles and
- 3:07responsibilities. Yeah that's a
- 3:09fantastic explanation and uh very clear
- 3:12what exactly you think. H awesome. Yeah,
- 3:15I have I have interviewed so many people
- 3:17but this is a very good clear
- 3:19explanation about your roles and
- 3:20responsibility. Good. And yeah, let's
- 3:23check about your networking
- 3:24fundamentals. Okay. So, suppose uh let
- 3:28me share my screen quickly. Okay. Yeah.
- 3:30Okay.
- 3:34If you see my screen right here. Yeah.
- 3:37Yes. Suppose uh this is a switch. Okay.
- 3:41Are you seeing right? This is a switch.
- 3:44So PC1 is connected to PC2 and PC1 IP
- 3:48address is 1.1 and PC2 IP address is
- 3:501.2. Okay. And PC1 MAC address is a just
- 3:54consider PCB MAC address PC2 MAC address
- 3:56BB. If I initiate a ping to 1.2
- 4:01how exactly the ping works at the back
- 4:03end what routing protocol what uh layer
- 4:05three protocol it use and just these two
- 4:08are connected to the switch and explain
- 4:10me the ping process step by step.
- 4:12understood the topology. Okay. Yes. Yes.
- 4:14I got it. You got it right. Yeah. Yes.
- 4:18Okay. In PC1 if you're going to actually
- 4:21why we using ping right for uh checking
- 4:23the reachability the device is reaching
- 4:25or not and we are able to check the
- 4:27latency. How it will check the latency?
- 4:29We will use the roundrip time. So first
- 4:31we are going to initiate ping in PC1
- 4:34like there is a IP address like
- 4:36192.168.1.2
- 4:38in PC1. it will generate a ICMP echo
- 4:42request. So it will contain in uh layer
- 4:453. There is a protocol number inside
- 4:47that layer 3 in header. So based on this
- 4:49ICMP echo protocol it will understand
- 4:53this is ICMP uh I mean protocol. So
- 4:56first it will initiate that ICMP uh echo
- 4:59request in this uh that ICMP echo
- 5:02contain the type 8 and core zero. It
- 5:04means it's a echo request. So once it
- 5:06reaches that switch and it will do that
- 5:09u based on we all it's not a first time
- 5:11ping so it will not uh it uh it able to
- 5:14understand the MAC destination MAC
- 5:16address so based on that uh uh it will
- 5:18reach that PCB so once you first it's a
- 5:22first time I'm pinging yeah okay first
- 5:24time it's a first time pinging means it
- 5:26will be in error I mean it will in
- 5:28buffer state because if you're going to
- 5:31ping from first time we don't know the
- 5:33MAC address destination MAC address so
- 5:35at that time the ARP request will
- 5:37generated by the PC1. So inside the AR
- 5:40so inside that AR request that ARP will
- 5:43maintain the AR table. So inside that we
- 5:46have a fields like source IP. Source IP
- 5:48is nothing but that PC1 IP address and
- 5:50the source MAC address. Source MAC
- 5:52address is nothing but the PC MAC
- 5:53address and the destination IP. I mean
- 5:55that is a target IP. So sorry actually
- 5:58in RP we will use command uh sender IP
- 6:01and sender MAC and the target IP and
- 6:03target MAC. the target IP address is the
- 6:06destination uh I mean target IP is the
- 6:08destination PC IP and that target MAC we
- 6:12don't know so for identifying this t
- 6:14target MAC address that PC1 is
- 6:17generating this ARC so once this
- 6:19particular packet I mean this ARC
- 6:21request is re reached to the switch will
- 6:24check the destination MAC first it will
- 6:26check that I mean sender MAC so the
- 6:29sender MAC address is the PC1 MAC
- 6:30address and it will check the
- 6:32destination MAC address we don't know
- 6:34the destin destination MAC address. So
- 6:35it will not contain any destination MAC
- 6:37details. So at that time destination
- 6:39here in our request what is in actually
- 6:43destination MAC address we are able to
- 6:45see that is a PCB MAC. How you will see
- 6:48it's a request right? Okay. Okay. At
- 6:51that time uh that PC and it will do the
- 6:53end operation between the source IP and
- 6:55the that is different. You're generating
- 6:58a request for the destination. So in our
- 7:01request packet you said tender IP
- 7:03address is source IP tender MAC address
- 7:06is source MAC what destination IP is the
- 7:08whatever we are pinging yes what is the
- 7:11destination MAC address here uh target
- 7:14MAC address what is the target yes we
- 7:16don't know the target MAC address for
- 7:18identifying the target MAC address we
- 7:20are generating this R request
- 7:23request it will do the broad yeah yeah
- 7:26now you're right it yes I'm I'm going to
- 7:28explain the
- 7:30So first it will do the end operation
- 7:32between the source IP and uh destination
- 7:35sub I mean source subnet mask
- 7:37destination IP and the destination
- 7:38subnet mask. If the both results are
- 7:40same then it will generate the broadcast
- 7:43packet to that PCB I which will do the
- 7:46broadcast and based on this and
- 7:48operation it will go to the PCP. So
- 7:50based on the same subnet I mean it the
- 7:52both result will be same subnet it will
- 7:54go to the PCB. If the both results will
- 7:57be different it will go to the gateway.
- 7:58So it will that once which receive this
- 8:00packet it will do the I mean broadcast
- 8:02because we don't know the destination
- 8:04MAC address right so it will do the
- 8:05broadcast so based on the subnet mask
- 8:08that PCB we are connected that PCB also
- 8:11to the switch so it will receive that
- 8:13packet and it will check that
- 8:15destination IP address I mean that
- 8:17target IP it's a PCB owns PCB one IP
- 8:20address so it will reply back with the R
- 8:23I mean R reply it uh it will generate I
- 8:26mean it will give the information about
- 8:28it MAC address. So once it is received
- 8:31the switch the uh at that time it able
- 8:33to know the I mean target MAC and target
- 8:36uh sender MAC. So at that time it will
- 8:38do uni cast to the our PC. So it will
- 8:41identify the before generating our
- 8:45request packet to the switch does switch
- 8:48will do anything?
- 8:51Sorry PC PCB PCB will do anything
- 8:56before generating sorry ARP reply packet
- 8:58to the switch
- 9:00PCB will generate AR replay right upon
- 9:03receiving AR request before generating
- 9:06and sending back to switch right that AR
- 9:08replay packet what computer PC2 will do
- 9:13uh PC2 will check that uh that
- 9:16destination MAC that uh table right that
- 9:18ARP table
- 9:20What ar table? ARP table it will check
- 9:23or it will populate it. It will populate
- 9:27right. I mean it it will it will learn
- 9:29the source IP and uh so yeah source IP
- 9:34and destination IP. What is the source
- 9:36IP? That is the PC1 source IP and
- 9:38destination IP is its own IP address.
- 9:41Destination IP it's own IP. So it will
- 9:43learn the source IP along with the MAC
- 9:44address of source IP.
- 9:47what ARP contains you know it will
- 9:49populate the ARP table it contains the
- 9:52IP address and the MAC address for the
- 9:54respective IP okay yeah fine now now go
- 9:58slowly okay you're saying everything
- 10:00perfectly just decrease a little bit
- 10:05yeah now replay packet go to the switch
- 10:06now what exactly will happen now uh here
- 10:09we are we know I mean switch able to I
- 10:12mean uh switch able to know the
- 10:13destination MAC here so it will send uh
- 10:16that our reply packet to the PCA through
- 10:19uniccast because we already know that uh
- 10:21destination MAC and I mean target MAC
- 10:23and central MAC address. So once that
- 10:26PC1 is learned that uh MAC address then
- 10:29the ICMP echo request packet will go to
- 10:32the PCB. So once PCB is received and it
- 10:35will do that roundrip time and it will
- 10:37check and it will come back with the
- 10:39ICMP echo reply packet. In this echo
- 10:42reply packet we will contain the type
- 10:44zero code zero. Mhm. Okay. So this is
- 10:47the process behind this ping and the
- 10:49arc. Okay, that's a fantastic thing. Use
- 10:52this fancy keywords called if any frame
- 10:54received by switch, right? Use the
- 10:56keyword called MAC lookup. Frame frame
- 10:59and it will do MAC lookup. It means it
- 11:01will check the MAC address right
- 11:03destination MAC address and MAC address
- 11:04table and also you missed only one point
- 11:07like it will learn the source MAC
- 11:08address also in MAC table, right? Yeah.
- 11:11Yes. Yes. It will learn the source MAC
- 11:12address and it will store that source
- 11:14MAC. That's fine. Totally fine. Whatever
- 11:16you said is it's a fantastic ma. I
- 11:18didn't expect this from really awesome.
- 11:20Okay. Now, now uh coming to the DNS
- 11:24process, right? So, okay. Just I'm
- 11:26typing w.tungabadranetworks.com
- 11:29orin in my website. What exactly will
- 11:32happen at the back end? Can you please
- 11:34explain the process? Yeah. Okay. Sure.
- 11:36Uh just consider the PC. First, we are
- 11:38going to uh go to the web uh any browser
- 11:41and we are going to search
- 11:42ww.ungabatra.com tungatra.com as a human
- 11:45we are able to understand this but as a
- 11:47local mission it will unable to
- 11:49understand this ww.tungabatra.com
- 11:50tongabatra.com. So for local machine
- 11:53understanding it needs IP address. So
- 11:55first that local machine will check its
- 11:57local catch that particular IP address
- 12:00is available or not in its local catch.
- 12:02If it is available in its local catch,
- 12:05it will establish a connection with that
- 12:07particular web application using port
- 12:09number 53 TCP connection. It will
- 12:11establish a is it use 53?
- 12:15Okay, I'll give you a hint. I'll give
- 12:16you hint. So if you type ww.google.com,
- 12:18google.com you will see some thing right
- 12:21https or something. Yeah it will yeah it
- 12:24will use a https uh and it will what is
- 12:27the port number of https https port
- 12:30number it will use 443 port number and
- 12:33why 53 comes in the picture. Uh actually
- 12:36normal scenario uh if you need a bulk
- 12:39information it use 53. Okay, whatever
- 12:42you said right, it is correct. It will
- 12:44establish a connection with the server,
- 12:45but the port number is 443, not 53.
- 12:48Yeah, now continue. Now continue. Yeah,
- 12:50please go ahead. It will use the port
- 12:52number 443 and it will establish a
- 12:54connection with the server using TCP
- 12:573-way handshake. If it is avail that IP
- 13:00address is available in local catch. If
- 13:02in case that particular IP address is
- 13:04not available in its local catch, it
- 13:07will send a uh
- 13:10sorry a recursive query to the DNS
- 13:12resolver. So in DS DNS resolver also it
- 13:15will check its local catch the
- 13:16particular website IP address. I need a
- 13:18packet level. It will use the UD. Okay.
- 13:20It will use the UDP port number 53 here.
- 13:23So uh here yeah go ahead. Is it? Yeah,
- 13:26it's correct. Only before going to
- 13:28transport layer field, explain me layer
- 13:31three fields also. What is the
- 13:33destination IP? Source IP. Okay. Okay.
- 13:35Okay. The source IP is that uh PC uh IP
- 13:39and the destination IP. Whatever you are
- 13:42going to search that a particular
- 13:43application, right? We are going to
- 13:44search ww.tungabadranetwork.com.
- 13:47We don't know that IP. For identifying
- 13:49that IP, we are using this DNS resolver.
- 13:52So at that time it will use the UDP
- 13:54packet. uh and it will use the port
- 13:56number 53. Yeah, you forgot to tell IP.
- 13:58What is the destination IP? IP uh
- 14:01destination IP. We don't know the
- 14:02destination. That is a DNS resolver IP.
- 14:06That that is correct. It's a DNS
- 14:07resolver IP. You already told it but
- 14:09didn't mention. Yeah, please go ahead
- 14:10Mark. Yeah. Okay. It's a DNS resolver
- 14:12IP. Then once DNS resolver reach this
- 14:15request, it will check its local catch
- 14:18that particular website application IP
- 14:20is available or not inside its local
- 14:22catch. If it is available the DNS
- 14:25resolver will generate a nonrecursive uh
- 14:28packet to the PC. If in case that
- 14:31particular IP is not available in DNS
- 14:33resolver catch, it will generate a
- 14:36recurs I mean it try to query to the
- 14:38root server. We have 13 root servers.
- 14:40Here that source IP is the DNS resolvers
- 14:43IP and the destination IP is the root
- 14:45server IP. So uh here yeah and here it
- 14:50will check that root server it will not
- 14:52contain that authorative server IP
- 14:54address but we have a 13 root servers
- 14:56and it will provide the top level uh top
- 15:00uh level domain server IP address. So
- 15:02once uh it will generate that that again
- 15:05that DNS resolver will establish a uh I
- 15:09mean it request to that top level
- 15:12domain. Okay. uh here that uh source IP
- 15:15is that uh DNS resolver IP and that uh
- 15:18destination IP is the top level domain
- 15:20server IP. Here in top level domain
- 15:23server that uh it will be uh like
- 15:25classified like com.in.org.uk
- 15:29based on that we're able to identify our
- 15:32particular author server IP address. So
- 15:35here also we are unable to get that our
- 15:37application IP but the top level uh
- 15:39domain server will provide the author to
- 15:42server IP. So once we get that
- 15:44authorative server IP address then again
- 15:46DNS resolver will uh send that iterate
- 15:49to query I mean uh yeah iterate to query
- 15:52to that authorative server. So here that
- 15:54source IP is the DNS resolver IP and the
- 15:58destination IP is the authorative server
- 15:59IP. So here we are able that authorative
- 16:02server will respond with that whatever
- 16:05we are asking whatever we are searching
- 16:06for that our particular website it will
- 16:08provide that particular IP address to
- 16:10our domain I mean DNS resolver once we
- 16:14got that IP address that DNS resolver
- 16:17will respond to the PC in the form of uh
- 16:20non-recursor non-recursor type it will
- 16:23generate that IP address once our uh PC
- 16:26will get that IP address again it will
- 16:29establish the connection with that
- 16:31particular web application server using
- 16:33the port number 443 and finally you got
- 16:36the IP address
- 16:38network so you said TCP 3-way handshake
- 16:40process right can you explain what is
- 16:42that yeah uh in TCP handway uh I mean
- 16:46TCP 3way handshake process first that uh
- 16:50TCP will uh send a sync packet to the
- 16:53server syn uh syn means uh at the time
- 16:55of generating that TCP header uh we have
- 16:58that options like uh flags inside that
- 17:01we will uh that at the time of sending
- 17:03the sin packet will be one. So at that
- 17:06time we are able to know we are
- 17:07generating the sin packet. So in the sin
- 17:09packet uh why we are generating the send
- 17:11packet means we need to establishing the
- 17:13connection with the server right. So for
- 17:15establishing the connection with the
- 17:17server we are establishing using the
- 17:19sequence number. So for that that uh
- 17:22server is uh replying back with the
- 17:24simplest act. Simple hack means whatever
- 17:26you are I mean requesting. So for that
- 17:29I'm giving the acknowledgement at the
- 17:31time of reply packet we are able to see
- 17:33that uh uh like sin is equal to one and
- 17:36that uh act is equal to one means we are
- 17:39getting the acknowledgement from that
- 17:40server. So again uh we will get we will
- 17:43that PC will generate the
- 17:44acknowledgement. So we are getting the
- 17:46acknowledgement from that particular
- 17:48server. So at that time inside that
- 17:50packet we are able to see the act is
- 17:52equal to one. Okay. So this is the three
- 17:54three-way handshake who will give
- 17:55acknowledgement
- 17:58uh that particular server server
- 18:00acknowledgement that application uh no
- 18:04this PC PC will give the acknowledgement
- 18:06yeah you're saying correct only you know
- 18:08be cautious okay yeah the the computer
- 18:12will give acknowledgement to the server
- 18:13then what will happen then threeway
- 18:15handshake process complete three-way
- 18:17handshake will channel will be yeah
- 18:21then after that some TLS magic that is
- 18:23necessary not necessary necessary
- 18:26cool fine uh that's a fantastic answer
- 18:30and now I'm moving to the DCP so now
- 18:35my computer doesn't have any IP address
- 18:37and all so we I what is DNC we need DCP
- 18:42right in that case what is DCP how
- 18:44exactly it will res it will assign IP
- 18:46addresses to the computer can you please
- 18:48explain the process yeah sure uh why
- 18:51DHCP means So for our uh local missions
- 18:54we need a IP address. So for
- 18:55automatically assignment it will take a
- 18:58long process. It is a time taking
- 19:00process. So for manual assignment we are
- 19:02using the DHCP server. HCPS correct your
- 19:05statement you're mixing you're you know
- 19:09oppositely you're saying manually it
- 19:11will take time right sorry sorry sorry
- 19:13manually manually sending it will take
- 19:15time for for that we are using DHCP for
- 19:19automatic assignment of IP address mask
- 19:21and DNS resolver so at that time we will
- 19:24configure one okay you're saying
- 19:27everything is correct so by you know
- 19:30like jet speed you're going so you're
- 19:33jumping the things but we really will
- 19:35lama just decrease your speed and
- 19:39everything will be all right. Yeah,
- 19:40please go ahead. Yeah. Yeah. So, first
- 19:43that DHCP is maintain a high level the
- 19:46speed speed only. Okay. Please go ahead.
- 19:49Yeah. Uh dynamic host configuration
- 19:52protocol HCP means yeah for uh assigning
- 19:55IP address automatically we are using
- 19:57DHCP. Yeah. So inside this DHCP we will
- 20:01follow the DOA process for assigning the
- 20:03IP address. Uh first the the first one
- 20:05is the Dora. Dora is nothing but the
- 20:08discover. We are going to discover first
- 20:10PC will generate the Dora I mean Dora
- 20:13request like that's a discover not Dora
- 20:16discover discover to that particular
- 20:18DHCP. So for getting that uh particular
- 20:22IP address we need to configure a DHCP
- 20:24for with the IP address first. So DCP
- 20:27server is already configured here. Okay.
- 20:29Cool. And all so my client is here. Now
- 20:32tell Yeah. Now that client will uh send
- 20:35a discovery I mean discover message to
- 20:38that uh I mean the HCP server. So once
- 20:41uh discover message is sent to that
- 20:43particular server I mean that HCP server
- 20:46server will uh server will give that uh
- 20:49uh offer like uh it will offer
- 20:52particular IP address to that PC. Sorry
- 20:54to interrupt you before going to offer
- 20:56right. So the client will send a discord
- 20:58message. May you know the which
- 21:00transport layer protocol it will use DCP
- 21:03uh DHCP it will use UDP. What is the
- 21:06source port and destination port here?
- 21:08Source port at the time of from PC side
- 21:10that the source port is the 68 and from
- 21:13that destination port is the 67 from the
- 21:15PC side. Perfect. Now, now the server
- 21:19server receives this discord message and
- 21:22uh this again server what server will
- 21:24do? Uh server will give that offer. I'm
- 21:28going to providing this particular IP
- 21:30address to you. So it will be in offer
- 21:33message. So once that PCs receives this
- 21:36offer message, it will Yeah, it receives
- 21:39the offer, right? What are the options
- 21:42you will see in offer message?
- 21:44uh in offform message I'm able to see
- 21:46the option 50 option 50 is the client
- 21:49identifier and option 51 is the option
- 21:5350 option requested requested IP address
- 21:56option 50 is the requested IP it's it's
- 21:58a offer right it's offering means it is
- 22:01saying it's per IP then after there is
- 22:03some options what is option one uh
- 22:06option one is a subnet mask very good
- 22:08what is the option six option six is the
- 22:12DNS domain name server IP. Okay. What is
- 22:16option three?
- 22:17Option three is that uh uh router gate I
- 22:21mean subnet mask I mean gateway IP
- 22:24address router IP router IP and you you
- 22:27DNS and subnet mask and IP you told it
- 22:30right and there is a one thing lease
- 22:31time option lease time
- 22:35uh sorry lease time that option do you
- 22:38remember that option lease time option
- 22:41uh lease type option is uh 51 uh yeah
- 22:45yeah 51 51 51. Yeah, 51 is the X. Okay,
- 22:49now you receive the offer. Now what PC
- 22:52will do? Please go ahead. PC will uh
- 22:55request whatever you are going to
- 22:57offering to that IP address, particular
- 22:59IP address, please assign to me and it
- 23:02will request to that uh our uh the HCP
- 23:05server. Okay.
- 23:08uh once it is request based on that
- 23:10request uh it will acknowledge whatever
- 23:13it's already offered and it will assign
- 23:15that particular IP address subnet mask
- 23:17and uh that router IP to that uh PC okay
- 23:20perfect now it is uh assigned so all
- 23:22these discover offer request and
- 23:25acknowledge right these packets are all
- 23:27what kind of packets is this broadcast
- 23:29packets or it is uniccast or what these
- 23:31all are no this all are broadcast
- 23:33packets because uh we don't know right
- 23:35that we are going to request Which one?
- 23:37So it those all are uh broadcast packets
- 23:40only. Yeah. Okay. Perfect. That's
- 23:42fantastic. Okay. So RPC which layer
- 23:45protocol? Uh RPC layer 2 protocol but it
- 23:49carries the layer three right? Yeah but
- 23:52it will use that uh layer 3 payload by
- 23:55uh because it going to use that
- 23:57particular IP address to identify the
- 23:59MAC address. So that's why it will carry
- 24:02that uh L3 layer uh layer three pay.
- 24:05Perfect. Perfect. Fantastic answer.
- 24:09Very nice. And next um Okay. So, what is
- 24:12the port number of SSH?
- 24:15Uh SSH port number is 22. What is the
- 24:18port number of uh HTTP?
- 24:22HTTP port number 80. Tnet
- 24:2523.
- 24:27Fantastic. Okay. Now moving to routing.
- 24:30Okay. Basics are perfect. Okay. Let's
- 24:32move to routing. Which routing protocol
- 24:34you familiar with?
- 24:36Uh I'm familiar with the OPF and PGP.
- 24:40Okay fine. Let's go with OPF. So uh I'll
- 24:45just directly ask you the questions. Now
- 24:46you're good at packet level. Okay. So
- 24:49I'll just ask the questions. Just tell
- 24:50me you know. So how many OPF packets we
- 24:53have? Uh we have a five packets. Uh the
- 24:56first one is the hello packet. Second
- 24:58one is the database description packet.
- 25:00The third one is the link state request.
- 25:03uh link state uh update and link state
- 25:05acknowledgement very nice and if I
- 25:08configure OPF between two routers can
- 25:11you explain the states and adjacency
- 25:12process yeah actually uh let's consider
- 25:16the two routers R1 and R2 in between
- 25:18that we configure the OPF actually we
- 25:21have seven state in OPF that neighbor
- 25:24discovering states the first we
- 25:26configure that OPF right in between the
- 25:28first two routers in uh in down state
- 25:32once we configured that will be more
- 25:34initialization state. In initialization
- 25:36state that R1 will send that hollow
- 25:38packet with the OPF fields. So once that
- 25:42R2 received this it will check that all
- 25:44fields are matched or not with the R2
- 25:46fields except that router ID that router
- 25:49ID should be unique. Yeah. So once this
- 25:51all fields are matched with the fields
- 25:54other than router ID. Can you please
- 25:55tell me the fields if you remember
- 25:56whatever you remember? Yeah. It's a
- 25:58version router ID area ID and subnet
- 26:01mask. This all the fields it should
- 26:03match with the R2 uh router fields also.
- 26:07Remember any authentication thing? Yeah.
- 26:09Authentication type and uh
- 26:11authentication
- 26:13uh like authentication thing I'm not
- 26:15able to authentication also there right?
- 26:17OP of authentication. Yeah. Yeah. Yes.
- 26:19Authentication also version type and
- 26:22authentication and authentication type
- 26:25and data as well.
- 26:27Yes. Data. Yeah. These parameters are
- 26:29now it's matched. Now please go ahead.
- 26:31Now once it is matched with the R2 then
- 26:35R2 it will rec R2 will recognize R1 is
- 26:38its neighbor and it will send another
- 26:40hello packet to R1 and in at the time of
- 26:43sending the hello packet it will place
- 26:45the active neighbor field inside the
- 26:47active neighbor field it will place the
- 26:49R1 router ID. So once uh once that uh it
- 26:53will send that hello packet from the R2
- 26:55that R1 it will be in initialization
- 26:58state and it will waiting for that R1
- 27:00route I mean uh any hello packet uh and
- 27:03before starting I missed one point it
- 27:05will uh go through with that uniccast IP
- 27:08that is a 224.0.0.5 0.5 it is sorry
- 27:12multiccast okay cool okay so hello
- 27:16packets are exchanged through multiccast
- 27:17IP multiccast IP this is I mean this is
- 27:20for only OSP of groups only so once uh
- 27:24it is that hollow packet is sent by the
- 27:27R2 so it is receive that R1 is receive
- 27:30actually it will wait for any hello
- 27:32packets is come from any other neighbors
- 27:34so once it is received that hello packet
- 27:37from the R2 it will check that in hello
- 27:39packet get that act to neighbor field it
- 27:42will see its own router ID then it will
- 27:45recognize R2 is recognizing R1 as a
- 27:47neighbor so then this the what I was
- 27:50saying the same process will be happen
- 27:52in R2 side uh it will do by uh it will
- 27:55uh um it will do like birectionally from
- 27:58the R2 side also once this both will
- 28:00exchange this hello packet it will move
- 28:02to two-way state once it will move to
- 28:04two-way state that both neighbors will
- 28:06discover and in uh two-way state After
- 28:09discovering that neighbors uh it will
- 28:12elect the DRBDR elections. Why BDR
- 28:15elections? Means for avoiding the
- 28:16duplicate LS we are going to elect the
- 28:19DRBDR elections. Then after the packet
- 28:22will move to I mean after it will move
- 28:24to that extract state. In extract state
- 28:27that data synchronization process will
- 28:29start by exchanging the DBD packet.
- 28:33Yeah, here that in extract state the
- 28:35both routers will elect m and slave
- 28:38elections will happen by exchanging the
- 28:41type one ls. So uh how it will we'll
- 28:44exchange the type one uh election or
- 28:47after master slave after master slave
- 28:50only it will exchange the type how they
- 28:51will elect master slave on what basis?
- 28:53Uh actually it will elect based on the
- 28:55router ID. Uh the highest router ID will
- 28:58be the master and the lowest router ID
- 29:01is the slave. So uh the router uh
- 29:03highest router id is the master right at
- 29:05that time we will able to see inside
- 29:07that the packet ms bit is equal to one
- 29:09and in uh that slave packet ms is equal
- 29:12to zero. So first that uh the slave will
- 29:15start exchange I mean slave will start
- 29:17advertising I mean sending that type
- 29:20type analysis yeah type one analysis
- 29:23then after receiving type one analysis
- 29:25from the slave then again master will
- 29:28start sending that type one analysis. So
- 29:30they both will exchange the type oneis
- 29:33then after the both will move to u
- 29:38exchange state here the total type one
- 29:40alyssis exchange will happen. So then
- 29:43after the both will move to loading
- 29:45state. In loading state uh uh it will
- 29:47ask any u missing router updates are
- 29:50there. So how it will uh based on that
- 29:53link state update, link state
- 29:55acknowledgement. I mean link state
- 29:57request, link state update and link
- 29:58state acknowledgement. So based on that
- 30:01uh that DR DR will uh exchange that type
- 30:06LS. We already that DRBDR elections is
- 30:09happening two two-way state. So based on
- 30:11that we will exchange that missing or
- 30:13routing updates that is the network
- 30:14information. So here the type two LSS
- 30:17will exchange. So after it will after
- 30:20come only type two type yeah type two LS
- 30:24why not type three and type four type
- 30:26five
- 30:27uh actually type three type four it's
- 30:30another scenario first it will uh in
- 30:32inside the area I'm telling okay got it
- 30:35got it totally got it yeah please go
- 30:37ahead yeah okay inside the area that
- 30:40particular area only it is exchanging if
- 30:42it is other than other area then we will
- 30:44able to know the type three analysis So
- 30:48here it will exchange and after it will
- 30:51move to full state. In full state it
- 30:53will use that discuss algorithm. Then it
- 30:56will elect the best path and it will
- 30:58install that particular uh I mean path
- 31:00to that routing table. This is the
- 31:02process behind that OPF. That's a
- 31:04fantastic answer. I can whatever you are
- 31:07saying is resembling meanings of me you
- 31:09know whatever I use the keywords the
- 31:11scenarios. Very good Mark. First time
- 31:13I'm encountering there's a person what
- 31:16exactly expected answer right same thing
- 31:19I expecting from you of course there are
- 31:21small small things are there to
- 31:23improvise but that is not considered
- 31:25it's a it's a very good answer very nice
- 31:28okay so what is TI LSA
- 31:32uh TYI LSA is nothing but the external
- 31:34SA let's consider two autonomous systems
- 31:37we configured elaborate I understood
- 31:39totally you got it just tell me what is
- 31:41TY LSA
- 31:43Ty Ty LS is a external LSA if you want
- 31:47to reach any external prefixes. uh
- 31:49actually OPF is a database link link
- 31:52state database protocol right if you
- 31:54want to uh understand any protocol so
- 31:57through LSA only we are able to
- 31:59understand so for external prefixes so
- 32:02we need that type LSA it will convert
- 32:04that external prefix gen
- 32:07will generate that type LSA will
- 32:10generate type three LSA
- 32:12ABR of that area ABR will generate the
- 32:16type three LSA what is type three LSA
- 32:18what information it contains? Uh, type
- 32:21three LSA contain that summary of that
- 32:24type one and type two LSA. It contain
- 32:26the type one and type two LS. So for
- 32:28reaching that another area routes we
- 32:30will use it will convert the type one
- 32:32type two LS into type three LSA. Now who
- 32:35is ASBR and sorry who will generate ASBR
- 32:38summary LSA the type four uh that ABR
- 32:41will generate that uh type for LSS that
- 32:44ASBR somewhere LS because of that for
- 32:47internal routes that internal area
- 32:49routes we don't know who is the ASBR so
- 32:51for reaching that ASBR first we need to
- 32:53reach that ABR router so inside that LSA
- 32:56it will contain that link state I mean
- 32:58advertising router and the link state ID
- 33:00that link state ID is the ABR uh router
- 33:03ID and that uh advertising router ID is
- 33:06that uh this particular uh yes router ID
- 33:10yeah correct ABR router ID that's fair
- 33:13enough okay so coming to BGP why we use
- 33:16BGP
- 33:17for external prefix if you want to
- 33:20establish a routing protocols between
- 33:22the different autonomous systems we will
- 33:24use this BGP okay perfect what is the
- 33:27BGP TCP port number
- 33:30BGP TCP port number it will use 179
- 33:33Okay. So, how many states we have in
- 33:35BGP? Just tell me the states. That's
- 33:37okay. In BGP, we have a six state. The
- 33:39first one is the ideal state. Next one
- 33:41is the connect. Uh third one is the
- 33:43active. The uh the next one is the open
- 33:45send BGP open send state. BG open
- 33:48confirm. And the final one is
- 33:50established state. Perfect. So, how many
- 33:52BGP messages we have? Uh we have a four
- 33:55BGP messages. Uh the first one is a open
- 33:58message, keep alive, notification, and
- 34:00update. Perfect. Okay. Now uh how many
- 34:04attributes we have in BGP? What are the
- 34:06attributes? We have well-known
- 34:08attributes. We have three attributes. So
- 34:10uh I mean PR IP that is a neighbor IP.
- 34:13Yeah. Per IP we call what? Neighbor that
- 34:16is the neighbor IP. It's called next
- 34:18hop, right? Yeah. Next hop. Okay. Uh
- 34:21next hop and that aspath origin. This
- 34:24three is the wellknown discretionary.
- 34:28Uh wellknown discretionary. Just tell me
- 34:30one
- 34:34if you want to influence outbound
- 34:35traffic we use that that uh local
- 34:38preference. Perfect. Yeah, local
- 34:40preference. Yeah, fair enough. Fair
- 34:42enough. Okay. Yeah. Do you know the BGP
- 34:44path selection process by any chance?
- 34:47Uh yes I know. Yes I know. Please
- 34:50explain how it will alert the best path
- 34:51in BGP. So first it will uh check that
- 34:54next value. First it will go with the
- 34:56next hop. Then highest local preference.
- 34:59Then shortest uh uh AS value, shortest
- 35:01origin. Then uh smallest immediate
- 35:04value. Then EBGP uh P I mean EBGP um RO
- 35:09prefers IBGP.
- 35:12Uh then uh next it will go to that
- 35:14oldest route.
- 35:16Great ma. Very good. So first is nexttop
- 35:20reachability. It will not check nexttop.
- 35:21It should say nexttop reachability.
- 35:23Okay. So you're good at BGP. So now
- 35:26coming to switching. What is STP? Why we
- 35:28need STP? Uh STP is a uh loop loop
- 35:32avoidance mechanism inside a switches.
- 35:34It's by default uh in switches by
- 35:37default it will be there. So what uh we
- 35:39are using the STP like uh in any uh
- 35:42redundant environment like switch one,
- 35:44switch two, switch three is connected in
- 35:45red I mean redundant environment at that
- 35:47time STP will avoid the sloops. Okay.
- 35:50How it will block one port. Okay. Block
- 35:53one port. Okay. How how it will choose
- 35:55blocking one port? What is the mechanism
- 35:57inside the STP? Actually, first these
- 35:59three uh switches will start sending the
- 36:02BPDU frames. So by sending the BPDU
- 36:04frames, it will elect that root bridge.
- 36:06Root bridge how it will elect? We have a
- 36:08bridge ID. Bridge ID is equal to
- 36:10priority plus MAC address. Priority we
- 36:12have by default 32768. If you want to
- 36:15choose any particular switch ID, we are
- 36:17able to adjust that priority. Then it
- 36:20will go to lowest MAC address. So based
- 36:22on that it will elect that uh root
- 36:24bridge then after so there's the one
- 36:26thing one more thing is there in bridge
- 36:28ID
- 36:30priority is there very good priority MAC
- 36:33address is there priority plus one more
- 36:36field is there what is that
- 36:40v ID right yeah vid by default we have v
- 36:44ID one right 368 + one that is a
- 36:47priority yeah perfect bridge ID based on
- 36:51the lower bridge ID what it will elect
- 36:53based on the lower bridge ID it will
- 36:55elect that root bridge perfect now root
- 36:58bridge is elected so what is the next
- 37:00yeah then it will elect that root port
- 37:03how it will elect a root port means
- 37:04based on the lowest interface cost we
- 37:06have a so many interfaces cost like for
- 37:09ethernet we have a 100 and fast ethernet
- 37:11we have a 19 and gigabit we have a four
- 37:13and 10g we have a one so based on the
- 37:16lowest interface cost it will root port
- 37:19then after it will comes to the blocking
- 37:22port that it will comes again that uh
- 37:24bridge ID what is the highest bridge ID
- 37:26then it will elect that as port as a uh
- 37:29blocking port and it will block that
- 37:30port highest one blocking the port
- 37:32fantastic and now what is the difference
- 37:35between STP and RSTP
- 37:37the main difference is the convergence
- 37:39times and the states uh in STP we have
- 37:42the convergence time is a 50cond and in
- 37:45RSTP the convergence uh time is the 15
- 37:47seconds in STP we are able to see the
- 37:49four states from forward I mean from
- 37:51blocking to forward but in RSTP we are
- 37:54able to see only two states. Okay. What
- 37:57are those? Uh in STP the first one is a
- 38:00blocking uh listening learning and that
- 38:03forwarding. And coming to the RSTP we
- 38:06have only learning and forwarding state
- 38:07we are able to see. Okay. Fantastic. And
- 38:11do you know why we use uh BPDU guard?
- 38:15Yeah, for we are using the BPD guard
- 38:18like if you are enabling any edge ports
- 38:20with the part port fast features at that
- 38:24time uh by mistakenly any field engineer
- 38:26any other uh our engineer is trying to
- 38:29connect any L2 switches. So at that time
- 38:32the BPDU frames will come right. So if
- 38:35upon seeing that BPDU frames we are
- 38:37enabling that BPD code here. So at that
- 38:39time that port will be go to error
- 38:41disabled state and uh uh yeah for going
- 38:44it will uh that port will be in disabled
- 38:47state and it will go to red disabled
- 38:49state and why why we are doing this
- 38:51generally why because uh if you're going
- 38:56to just uh just consider scenario like
- 38:58one switch is connected that edge port
- 39:00is connected to that any server like any
- 39:02DHCP server right so it's a layer three
- 39:05devices it will not generate any kind of
- 39:07BPDU frames and will not get any loops
- 39:09for from that server. So at that time no
- 39:11need of this convergence time. So in
- 39:13networking each and every second it will
- 39:16be we need to uh use right. So for that
- 39:19for immediate forwarding we will create
- 39:21that port fast. So at that time by
- 39:23mistake any field engineer trying to
- 39:25connect any L2 uh like to switch any uh
- 39:29uh mean yeah on this port. So at that
- 39:32time the BPDU frames will try to come
- 39:34right. So at the time of what will
- 39:36happen if I by mistake BPD frames came
- 39:38here then what will happen actually we
- 39:41are not uh uh I mean configure any BPD
- 39:44you got uh that loops will occur at that
- 39:47time the loop will occur that is the
- 39:50answer okay I'm expecting nice and the
- 39:53final question I'm going to ask is VRP
- 39:55do you know what is VRP yes I know VRP
- 39:59could you please explain VRP yeah VRP
- 40:02it's a uh virtual ual router redundancy
- 40:05protocol for achieving a high level
- 40:07redundancy I mean virtual level
- 40:10redundancy we are using this VRP like uh
- 40:13in our uh enterprise environment we have
- 40:16a two uh routers like in each side right
- 40:18we're using that both in redundance
- 40:21environment so for uh both routers we
- 40:24are unable to give the IP address same
- 40:26IP address if you're going to give any
- 40:28same IP address that will calculate and
- 40:31duplicate IP address will calculate but
- 40:33In pieces also we are unable to give
- 40:36that two IPs as a gateway gateway. Yeah
- 40:39correct that's correct. Single gateway.
- 40:41So at that time what we are going to do
- 40:43right we are creating the VRP group.
- 40:44It's a virtual group. So at that time
- 40:47based on the priority we are able to
- 40:48give same IP address to the PC. So based
- 40:52on the priority that uh the PC will uh
- 40:55able to identify that uh gateway. So in
- 40:58case of any uh if in case of any
- 41:00hardware uh failovers if we just
- 41:03consider two routers router one and
- 41:05router two we giving the priority for
- 41:07the router one. If in case any hardware
- 41:09failures we will not unexpectedly it
- 41:11will happen right at that time that PC1
- 41:13will uh select that another we have
- 41:16another redent uh router right it will
- 41:18select that yeah it will select that
- 41:20gateway. So VRP packets will exchange
- 41:22through how they will exchange VRP
- 41:24announcements actually it will announce
- 41:27uh every second it will announce like
- 41:29through multiccast there is a multiccast
- 41:31IP IP yeah IP address 224.0.0.18 0.18 is
- 41:36the VRP multiccast IP address. So you
- 41:40said priority right? If I configure
- 41:41highest priority on one router what will
- 41:43happen?
- 41:45Uh that PC will elect that particular
- 41:47router as the first priority highest
- 41:50router. What is the state? It is like
- 41:52what state you will see if a router one
- 41:54router two is there master. Yeah I think
- 41:56it will be master. It will elect as
- 41:58master master. Another one is backup.
- 42:00You must say that backup. Yeah. That's a
- 42:02fantastic. Okay. So in every aspect
- 42:06you're fantastic ma I really proud proud
- 42:09about you seriously proud of you and uh
- 42:13one final interview question they will
- 42:15ask you during main right what kind of
- 42:18real issues you face so far have you
- 42:20worked any issue recently the critical
- 42:24issue the P1 or P2 critical issue where
- 42:27you have contributed so much and resolve
- 42:29that issue do you have such kind of uh
- 42:32you know situation during your
- 42:33experience
- 42:34[Music]
- 42:36Yeah. Yes. Uh have that kind of P1 uh
- 42:39like we have configured that port first
- 42:42uh and uh I mean we configure the post
- 42:45portfast and BPDU card. Uh actually for
- 42:48that uh connecting the L3 uh it's like
- 42:50uh CC cameras for CCK we are we are
- 42:54configured that BPDU guard and both
- 42:56first at that time that field engineer
- 42:58that particular there is a separate
- 43:00team. So they're uh uh I mean
- 43:02unfortunately they're uh connected that
- 43:06plug and play switch like it's uh we
- 43:08have a switches two types of switches
- 43:09right so there uh unfortunately they
- 43:12connected the switch at that time that
- 43:14BPD frames is generated so we already uh
- 43:16created that BPD card right so it's goes
- 43:19to that error disabled state so that a
- 43:22protocols are uh stopped so at that time
- 43:24we checked uh at the back that the next
- 43:27other hand there uh that didn't
- 43:29configure any BPDU filter. So if we are
- 43:32configured any BPDU filter inside that
- 43:35switch uh it will not send and it will
- 43:37not receive any BPD filter name. So we
- 43:39don't have any issues. So at that time
- 43:41what we did like uh we uh we enter that
- 43:44port a particular port and whatever you
- 43:46created that BPD card right. So we uh
- 43:49disable that BPU do BPD that services is
- 43:52restored then once that created that
- 43:55BPDU filter inside that their side
- 43:57switch then again we enable that I mean
- 43:59we confident that BPDU uh got inside our
- 44:02switch. This is the scenario. Actually,
- 44:04this is the team means you you did or
- 44:06your team did. Actually, this is the
- 44:08teamwork. Uh I'm the one of the part in
- 44:11that. Okay. Okay. Got it. Got it. So,
- 44:13the thing is how you restore that link.
- 44:16It went to error disabled state, right?
- 44:18Bones the shut uh shut down and uh
- 44:22unshut and shut. Perfect.
- 44:26I'm so happy for your interview. Okay.
- 44:29So I'm telling you I have taken 10 to 15
- 44:32years of experience candidate interview
- 44:34recently in my organization. They're not
- 44:36good at basics but this is the best best
- 44:39best interview with the candidate. The
- 44:43only the only suggestion I can give you
- 44:45is go slow and use the right keywords.
- 44:49You are already using the right keywords
- 44:50but just flipping it between them. just
- 44:54go slowly and recall the right words and
- 44:57uh be cautious what you're saying. Okay,
- 45:00now you're so much cautious when I was
- 45:02correcting you and yeah all good ma
- 45:05fantastic. I really would like to refer
- 45:08you in other product based companies.
- 45:10Definitely do that right if anyone sees
- 45:13this interview right definitely they
- 45:15will you know I will right away I'm
- 45:17going to put this interview in YouTube
- 45:19people who saw this right they can
- 45:21seriously you know seriously I'm saying
- 45:24the way you answer it everyone should
- 45:25learn from you same way okay so if you
- 45:29give permission I'll upload it or else
- 45:31no but this is really really helpful to
- 45:34others you just tell me okay now so how
- 45:38can I proceed further Do you need time
- 45:40to think? Yes. I I need to think. Yeah.
- 45:44And let me know if it is good and if it
- 45:47is good to upload then I'll do that or
- 45:49else I'll put in internal at least
- 45:51private mode if you don't want because
- 45:54you know what uh you know what this is
- 45:57really really fantastic interview. Okay.
- 46:00Thank you. Yeah. And uh all the very
- 46:02best and I'll get back to you. Okay.
- 46:04With reference. Okay. Thank you ma. Have
- 46:06a nice day. See you. Thank you. Okay.
- 46:10[Music]
About this transcript
This page contains the full transcript of Network Engineer Mock Interview (packet level) | GOOGLE, ORACLE, AMAZON, CISCO interview questions by TungaBadra Networks, generated from the public captions YouTube serves with the video. The transcript has 7,838 words across 1,095 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.