The routing

27
THE ROUTING 1- Router It is a device used to communication between two different networks. 2-Type of router: 1-software router - Software router present the operating system . - depend on the NIC card - Easy defect by virus or hacking 2-hardware router: -physical devices -depend on series interface. -not easy defeat by virus or hacking. Routing It is process of sending the data packets through the best path to reach the destination. Type of routing : 1-Static routing : the information has to be manually configure by the administrator . 2.dynamic routing : use ip routing protocol (RIP ,OSPF,etc…) There are 2 example of configuration router :- (OS server should install in routers ) Example one:- Using one router:- How to configure one router:

Transcript of The routing

Page 1: The routing

THE ROUTING1- RouterIt is a device used to communication between two different networks.

2-Type of router:1-software router - Software router present the operating system .- depend on the NIC card - Easy defect by virus or hacking2-hardware router:-physical devices-depend on series interface.-not easy defeat by virus or hacking.RoutingIt is process of sending the data packets through the best path to reach the destination.

Type of routing :1-Static routing : the information has to be manually configure by the administrator .2.dynamic routing : use ip routing protocol (RIP ,OSPF,etc…)

There are 2 example of configuration router :- (OS server should install in routers )Example one:-Using one router:-How to configure one router:

Ip address Ip address(NIC1) ip address10.0.0.2 10.0.0.1 20.0.0.2255.0.0.0 255.0.0.0 255.0.0.0DG 10.0.0.1 ip address(NIC2) DG 20.0.0.1 20.0.0.1 255.0.0.0

Pc1 R1 Pc2

Page 2: The routing

Go to R1 :- Start->programs->administration tools->Open routing &remote access

- right click system name - select configure & enable routing & remote access -> next

- next -> select custom configuration -> next ->

Page 3: The routing

[√ ] lan routing -> next

-> finish.

Page 4: The routing

- click yes in the message.

No you can make communication between pc 1 and pc 2

Page 5: The routing

Example 2:- Configure 2 routers:-

use static routing:

How to configure 2 one router:

PC1 R1 R2 PC2Ip address Ip address(NIC1) ip address(NIC1) ip address10.0.0.2 10.0.0.1 11.0.0.2 12.0.0.2255.0.0.0 255.0.0.0 255.0.0.0 255.0.0.0DG 10.0.0.1 ip address(NIC2) ip address(NIC2) DG 12.0.0.1 11.0.0.1 12.0.0.1 255.0.0.0 255.0.0.0

Go to R1 :- Start->programs->administration tools->Open routing &remote access

- right click system name

Pc1 R1 R2 Pc2

Page 6: The routing

- select configure & enable routing & remote access -> next

- next -> select custom configuration -> next ->

[√ ] lan routing -> next

Page 7: The routing

-> finish.

- click yes in the message.

Page 8: The routing

Open RRAS (routing and remote access)- right click static remote -> select new static remote

-> interface - ----- > 11.0.0.1-> Destination - ----- > 12.0.0.0-> Network mask - ----- > 255.0.0.0-> Default gateway - ----- > 11.0.0.2

Page 9: The routing

Go to R2 :- Start->programs->administration tools->Open routing &remote access

- right click system name - select configure & enable routing & remote access -> next

- next -> select custom configuration -> next ->

Page 10: The routing

[√ ] LAN routing -> next

-> Finish.

- click yes in the message.

Page 11: The routing

- in R2 Open RRAS (Routing and Remote Access)- right click static remote -> select new static remote

-> interface - ----- > 11.0.0.2-> Destination - ----- > 10.0.0.0-> Network mask - ----- > 255.0.0.0-> Default gateway - ----- > 11.0.0.1

Now you can make communication between pc1 and pc2

Page 12: The routing

2-dynamic routing : the information will be automatically update in routing table .

use dynamic routing:(RIP)

How to configure 2 one router:

PC1 R1 R2 PC2Ip address Ip address(NIC1) ip address(NIC1) ip address10.0.0.2 10.0.0.1 11.0.0.2 12.0.0.2255.0.0.0 255.0.0.0 255.0.0.0 255.0.0.0DG 10.0.0.1 ip address(NIC2) ip address(NIC2) DG 12.0.0.1 11.0.0.1 12.0.0.1 255.0.0.0 255.0.0.0

Go to R1 :- Start->programs->administration tools->Open routing &remote access

- right click system name

Pc1 R1 R2 Pc2

Page 13: The routing

- select configure & enable routing & remote access -> next

- next -> select custom configuration -> next ->

[√ ] lan routing -> next

Page 14: The routing

-> finish.

- click yes in the message.

Page 15: The routing

Open RRAS (routing and remote access)- R/C in general and select new routing protocols

- select RIP protocols

Ok

Page 16: The routing

-R/C in (RIP) select New interface and add(all interface)- finish

Go to R2 :-

Start->programs->administration tools->Open routing &remote access

Page 17: The routing

- right click system name - select configure & enable routing & remote access -> next

- next -> select custom configuration -> next ->

[√ ] lan routing -> next

Page 18: The routing

-> finish.

- click yes in the message.

Page 19: The routing

Open RRAS (routing and remote access)- R/C in general and select new routing protocols

- select RIP protocols

Ok

Page 20: The routing

-R/C in (RIP) select New interface and add(all interface)- finish - now you can make communication between pc1 and pc2

Configure NAT server. (R1): -in R1 ->open RRAS -> right click on NAT and basic firewall->select new interface ->

select 10.0.0.1 as private -> ok.

select 11.0.0.1 as public and check [√] enable NAT -> ok.

Page 21: The routing

-What Is a DHCP Relay Agent? A DHCP Relay agent is a computer or router that listens for DHCP Broadcasts from DHCP clients and then relays those messages to DHCP Servers.-How a DHCP Relay A

(Configure DHCP scope)

Ip address Ip address(NIC1) ip address10.0.0.2 10.0.0.1 obtain 255.0.0.0 255.0.0.DG 10.0.0.1 ip address(NIC2) DNS10.0.0.2 20.0.0.1 255.0.0.0

Steps:PC1(dhcp server ):

1- configure DHCP server and add scope(form 12.0.0.0 range) in scope give router IP as 12.0.0.1

(R1): 2-Open RRAS ->right click general -> select New routing protocol –

Pc1 R1 Pc2

Page 22: The routing

>select DHCP relay agent ->ok

- Right click DHCP rely agent -> properties ->

Page 23: The routing

add DHCP server IP (IE) 10.0.0.2 -> ok

pc2:3-Obtain ip automatically open cmd prompt -> ipconfig/release Ipconfig/renew 4- ping 10.0.0.2 reply