User from one country(USA) can access the LAN service (WCE )from another country
USA USER:- Its is a user who want to access the service in WCE Campus which is in LAN .So how that user connect’s to WCE server ,let’s see.
ROUTER:- A router receives(from usa user) and sends(service in wce campus) data on computer networks.Routers are sometimes confused with network hubs, modems, or network switches. However, routers can combine the functions of these components, and connect with these devices, to improve Internet access or help create business networks.
SWITCH:- A network switch is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device. A network switch is a multiport network bridge that uses MAC addresses to forward data at the data link layer of the OSI model.
ANY SERVICE IN WCE CAMPUS:-Any service which can be access from theUSA by the user through router in WCE campus.
How it actually works?
i. So the user from USA will access the service in LAN from WCE ,if that person should be registered user of WCE LAN. So user can use his ID and password to access the service provided in WCE LAN services.
ii. USA user will send the message to the LAN server by it’s host name for asking the IP address ,then the server will return the message by giving it’s IP address and th eserver will record the IP address of USA user.
iii. As the USA user is not from the same LAN server of WCE (it can be known by comparing the network component of the sending and target device’s IP address).
iv. So now the USA user will send the message to the router(by MAC address which is stored in the deafult router’s cache) for sending the data to WAN service of WCE or to access the service from WAN.
v. Now the router adds the destination MAC address to the header of the message.Then this message packet is sent ot the WAN server of WCE.
vi. Then the router send the message to to the servers int the WAN for comparing the MAC address of the header message and the device.
vii. Now the router send the data packet (of USA user)to the switch.Now the USA user can access the service of LAN service in WCE by its MAC address.