27
University of Babylon, IT College Information Network Dep., Third Class, Second Semester MTCNA Course MikroTik Certified Network Associate 2014-2015 By M.Sc. I.T Alaa A. Mahdi

MikroTik Certified Network Associate 2014-2015 By M.Sc. I

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

University of Babylon, IT CollegeInformation Network Dep., Third Class, Second Semester

MTCNA CourseMikroTik Certified Network Associate

2014-2015 By M.Sc. I.T Alaa A. Mahdi

Page 2: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

Secure local network;• point-to-point addresses;• create PPPoE client on• PPPoE service-name;• create PPPoE server + LAB;PPP settings;• ppp secret + LAB;• ppp profile + LAB;• ppp status;IP pool;• create pool;• manage ranges;• assign to service;

Page 3: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

Point-to-point protocol

• In networking, the Point-to-Point Protocol(PPP) is a data link protocol commonlyused in establishing a direct connectionbetween two networking nodes. It canprovide connection authentication,transmission encryption and compression.

Page 4: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

• PPP is used over many types of physicalnetworks including serial cable, phone line,cellular telephone, radio links, and fiberoptic links.

• PPP is also used over Internet accessconnections (now marketed as"broadband").

Page 5: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

Most encapsulated forms of PPP is Point-to-Point Protocol over Ethernet (PPPoE)which used most commonly by InternetService Providers (ISPs) to establish anInternet service connection with customers.

Page 6: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

• RFC 2516 describes Point-to-Point Protocolover Ethernet (PPPoE) as a method fortransmitting PPP over Ethernet

Page 7: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

• The PPPoE (Point to Point Protocol overEthernet) protocol provides extensive usermanagement, network management andaccounting benefits to ISPs and networkadministrators. Currently PPPoE is usedmainly by ISPs to control client connectionsfor Ethernet networks. PPPoE is anextension of the standard Point to PointProtocol (PPP). The difference betweenthem is expressed in transport method:PPPoE employs Ethernet instead of serialmodem connection.

Page 8: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

Transition Phases

Page 9: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

• Dead: In the dead phase the link is not being used.There is no active carrier (at the physical layer) and theline is quiet.

• Establish: When one of the nodes starts thecommunication, the connection goes into this phase. Inthis phase, options are negotiated between the twoparties. If the negotiation is successful, the system goesto the authentication phase (if authentication isrequired) or directly to the networking phase. The linkcontrol protocol packets, that will be discussed shortly,are used for this purpose. Several packets may beexchanged here.

Transition Phases

Page 10: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

• Authenticate: The authentication phase is optional; the twonodes may decide, during the establishment phase, not to skipthis phase. However, if they decide to proceed withauthentication, they send several authentication packets. If theresult is successful, the connection goes to the networking phase;otherwise, it goes to the termination phase.

• Network: In the network phase, negotiation for the networklayer protocols takes place. PPP specifies that two nodes establisha network layer agreement before data at the network layer can beexchanged. The reason is that PPP supports multiple protocols atthe network layer. If a node is running multiple protocolssimultaneously at the network layer, the receiving node needs toknow which protocol will receive the data.

Transition Phases

Page 11: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

• Open: In the open phase, data transfer takes place.When a connection reaches this phase, the exchange ofdata packets can be started. The connection remains inthis phase until one of the endpoints wants to terminatethe connection.

• Terminate: In the termination phase the connection isterminated. Several packets are exchanged between thetwo ends for house cleaning and closing the link.

Transition Phases

Page 12: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

• PPPoE is used to hand out IP addresses toclients based on the username.

Page 13: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

Supported

• MikroTik RouterOS PPPoE client to anyPPPoE server

• MikroTik RouterOS server to multiplePPPoE clients (clients are available foralmost all operating systems and mostrouters)

Page 14: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

Hardware usage

• PPPoE server may require additional RAM(uses approx. 9KiB (plus extra 10KiB forpacket queue, if data rate limitation is used)for each connection) and CPU power.Maximum of 65535 connections issupported .

Page 15: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

PPPoE client configuration

Page 16: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 17: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 18: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

PPPoE Server

(Access Concentrator)

Page 19: MikroTik Certified Network Associate 2014-2015 By M.Sc. I

To configure MikroTik RouterOS to be an PPPoE Server:

1- Add an address pool for the clients2- Add ppp profile;3- Add ppp secret (username/password);4- Add pppoe server itself.5-Add Masqurade action to the firewall

Page 20: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 21: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 22: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 23: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 24: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 25: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 26: MikroTik Certified Network Associate 2014-2015 By M.Sc. I
Page 27: MikroTik Certified Network Associate 2014-2015 By M.Sc. I