lan interview questions

Top lan frequently asked interview questions

My colleague often shuts down my machine through the LAN - how do I prevent it?

This might sound weird. My colleague and I were working on a Windows machine. He frequently shuts it down through the LAN.

He usually follows these steps:

  1. Access command prompt, enter shutdown -i.
  2. Choose my IP address, click on Shutdown.
  3. Select a timeout of 2–3 seconds.
  4. Click OK

Unfortunately, I cannot disable remote access to my computer. Is there a way to prevent this?

Source: (StackOverflow)

How to use Wireless and Wired Connection both at a same time in Windows 7?

I am using Windows 7. Problem is while using internet in Wireless if i connect LAN cable to my laptop, it stop Wireless connection and Wired Connection gets active.

I am using Internet using Wireless and doing my work through Wired Connection. I want to use Wireless and Wired Connections both at same time

HOW to use wireless and wired connection at the same time?

Source: (StackOverflow)

Expanding wireless coverage: What are the differences between LAN to LAN and LAN to WAN when it comes to connecting two wireless routers?

I'm trying to link two wireless routers with an Ethernet cable in order to expand my wireless network. Both routers need to provide wired and wireless Internet access.

I'd like to know the differences between the "LAN to LAN" and "LAN to WAN" connection methods, their advantages and disadvantages.

Source: (StackOverflow)

What is the real difference between LAN and WAN?

What I understand is:

  • A LAN is connecting two or more computers to form a cable network between them.
  • A WAN is connecting two or more computers over a broad area to form a cable network between them.

So, is the difference the length of cable used to form a network or does it depend if it's formed in a city, state or between countries?

Source: (StackOverflow)

Secure LAN within existing office LAN

First things first, I was gonna post this on Server Fault but honestly, I'm no network admin, I'm a CS student who has been called upon to sort something out for a very small family business who have just moved into a small office space and don't really have the cash on hand to hire someone in to sort it so I'm having to learn what is needed to complete the job. I'm also aware that this question 'LAN within a LAN' has been asked before so feel free to mark this as a duplicate though none of the existing questions really answered the questions I have.

Thus, the issue. The office we've moved into is being converted from a large building previously used by a single business into a 'business centre' with individual rooms being rented out. Each room is wired up with several ethernet ports leading back to a network room with a cabinet full of switches to tie everything together although none of that is in use as far as I can tell. The guy who managed the network was made redundant and it's now mostly a shrine to his lack of cable management.

The current businesses that are occupying the rooms are all relying on a wifi network provided by a 'BT HomeHub' ISP provided home router/modem combo. As we're Government regulated, I don't like the idea of sharing a network and I doubt the regulators would either.

So, what are the options here? I can't really do anything about the home router/modem as there are multiple other businesses sharing this for wireless access. I'd ideally like to access the internet via this modem but need to ensure that the network we're running on is completely inaccessible by the other devices on the network that aren't part of our business. I've been browsing some of the small business router offerings by Cisco along with wireless access points (wireless access being the immediate priority) but I'm not sure if I can achieve the above with one and want to be certain before I order any hardware.

I'm sure the best option would be to simply run another line into the building but that adds an extra monthly cost plus a service contract so I'm keen to avoid that for the moment.

Any thoughts on the best option in this situation and how I might go about it?

Source: (StackOverflow)

How do I change the Windows7 LAN proxy config from the command line?

In Windows 7, Is it possible to define/change the proxy config from the command line?

So, using the GUI, I would go:

Start → Control Panel → Network and Internet → Internet Options → Connections → LAN Settings

and then

  • enable/disable the proxy;
  • define IP:port of proxy server.

But I would like to rather do this from the command line (so that I can run the command from a batch-file with a shortcut key — enabling me to switch proxy configs using a short-cut, rather than having to wade through the MS wizard).

I've looked at using netsh.exe to change the settings for WinHTTP, but this seems to be thr wrong thing to do, as the WinHTTP setting do not appear to be related to the LAN settings.

Source: (StackOverflow)

How do IP answer packets reach their destination inside of a private LAN?

This is a little theory question that has been confusing me for a pretty long time.

Basically, if we are inside of a private LAN, and we want incoming packets to reach, for example, an HTTP server located on one of the machines, we forward ports so that incoming packets reach exactly that computer.

Now, I'm quite confused as to how 'response' packets reach their destination inside of a LAN, like, when we open a web page or so. Can't really find any useful information on that topic.

I hope someone can give me a couple of clues or link me to some information that might explain it. Thanks.

EDIT: I think I should clarify. An example of what I'm asking would be something like this:
1. A computer inside of a LAN with a single external IP tries to load a web-page from a web-server outside of this LAN (Basically on the Internet)
2. The web-server responds and sends the web-page back to that computer.

What quite confuses me at this point is, how does the router know what computer to send the incoming data (given the router is connected to a LAN with multiple computers) without previous port forwarding.

Source: (StackOverflow)

How can I join two simple home networks together using an ethernet cable?

I want to join two different home networks together like so:

PC A1      PC A2                              PC B1      PC B2
  \         /                                   \         /
   Gateway A      <----- ethr. cable ----->      Gateway B
       |                                             |
  ADSL modem A                                  ADSL modem B

Both networks are of the basic residential type with identical configuration, with all PCs running Vista/7. The point is to temporarily join two apartments in a building for gaming and file sharing, and the holy grail would be:

  1. PCs on network A can access PCs on network B and vice-versa (file shares and gaming).
  2. Each network uses its own internet connection.
  3. Data between networks shouldn't take a trip through the internet (broadband upload speeds are severely capped)
  4. A network's internet access should continue working if the joining cable is disconnected with minimal configuration changes.

How closely can this be achieved?

Source: (StackOverflow)

Best way to transfer files over a LAN between two Linux computers

I want to transfer files (a music folder) between two Linux computers. After searching for the best way to do this, I've seen that there are lots of ways of doing this. I know this has been asked a lot, everywhere and all the time. The main problem with this is that there is no clear, recent consensus on one best way to do this task in 2011 for Linux beginners (even depending on some parameters).

So in the spirit of the Stack Exchange websites, I want this not to be related to my particular situation, but more of a guide to others as well on how to transfer files between two Linux computers over a local network. I think a wiki would be useful for many.

Here's what I found so far:

  • ssh
  • sshfs
  • scp
  • sftp
  • nfs
  • samba
  • giver

What is the easiest? Most flexible? Simplest? Best solution? What are the pros and cons of each? Are there other (better) options? What are the parameters in choosing the best method (solution might depend on number of files, filesize, easiness vs. flexibility, ...)?

Source: (StackOverflow)

Set Ethernet Network as Metered Connection in Windows 8

Windows 8 introduced a new feature which allows users to set any Wi-Fi network as metered so that they can check their bandwidth usage:

[img credit]

But, it doesn't allow users to set any Ethernet network as metered:

So, is there a trick/workaround to do it?

Source: (StackOverflow)

What do different types of LAN IP addresses mean?

I have seen LAN IP addresses in the following ways:





127.0.0.* (This one is normally with a 1, and I'm not sure if it is LAN, since I see it normally with proxy stuff.)

So, why are there different forms of an LAN IP addresses, and what do they mean/represent?

Source: (StackOverflow)

How can I force Windows 7 to give my LAN (wired) conection priority over my WiFi?

Given the choice between my LAN (wired) and my WiFi connections, my Windows 7 PC gives priority to the WiFi - how can I make it prioritize the LAN connection?

Source: (StackOverflow)

Test the Speed of a Local Area Network

How can I test the speed of a LAN? I hope there is something baked into Windows to do this, because I am unable to install any third-party products.

Source: (StackOverflow)

How to shut down a computer having a particular IP address?

If we have a collection of Windows and Linux computers on a LAN, is it possible to shutdown a computer having a specific IP address, using the Linux shell?

Assume that I do not have ssh or telnet running on the PCs. I have the root password for all the computers.

Source: (StackOverflow)

Can a huge coiled LAN cable have some trouble for transmitting a signal?

Let's say I have a long (> 30m) LAN cable, that connect two (very close) devices.

Could some of the unused wire, disposed as a huge coil, cause any issue ? I'm thinking about the special wire layout that would create a magnetic field (like in an inductance) and cause problems for transmitting the signal.

Large Cable Coil

Source: (StackOverflow)