The routing
-
Upload
mohammed-faris-majeed -
Category
Technology
-
view
73 -
download
1
Transcript of The routing
![Page 1: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/1.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/2.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/3.jpg)
[√ ] lan routing -> next
-> finish.
![Page 4: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/4.jpg)
- click yes in the message.
No you can make communication between pc 1 and pc 2
![Page 5: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/6.jpg)
- select configure & enable routing & remote access -> next
- next -> select custom configuration -> next ->
[√ ] lan routing -> next
![Page 7: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/7.jpg)
-> finish.
- click yes in the message.
![Page 8: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/8.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/9.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/10.jpg)
[√ ] LAN routing -> next
-> Finish.
- click yes in the message.
![Page 11: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/11.jpg)
- 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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/12.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/13.jpg)
- select configure & enable routing & remote access -> next
- next -> select custom configuration -> next ->
[√ ] lan routing -> next
![Page 14: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/14.jpg)
-> finish.
- click yes in the message.
![Page 15: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/15.jpg)
Open RRAS (routing and remote access)- R/C in general and select new routing protocols
- select RIP protocols
Ok
![Page 16: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/16.jpg)
-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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/17.jpg)
- right click system name - select configure & enable routing & remote access -> next
- next -> select custom configuration -> next ->
[√ ] lan routing -> next
![Page 18: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/18.jpg)
-> finish.
- click yes in the message.
![Page 19: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/19.jpg)
Open RRAS (routing and remote access)- R/C in general and select new routing protocols
- select RIP protocols
Ok
![Page 20: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/20.jpg)
-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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/21.jpg)
-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](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/22.jpg)
>select DHCP relay agent ->ok
- Right click DHCP rely agent -> properties ->
![Page 23: The routing](https://reader036.fdocuments.in/reader036/viewer/2022062308/558becc6d8b42ac9158b4781/html5/thumbnails/23.jpg)
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