Saturday, July 14, 2012

OS routing ( part 2)

Here we will talk about steps we need to Make windows Server (2008) act as Router

1-Click Start and open Administrative Tools then choose Server Manager.

2-In the pane, Select  Roles, and in the right pane , click add roles.

3-We will find at left "Before you begin" we will Click next.
4-Then we will check Box Beside Network Policy and Access Services and Click Next.

5-We will Click Next again, after that will appear choices we will check the Box Beside Routing and Remote Access Services ( will automatic check Boxes under it) then click next.

6-Confirm Page will appear then click INSTALL.
7- After install , choose Roles from Left and Expand it, you will find Network Policy and access Services, Expand it, you will find Routing and Remote access , click on with right click and choose Configure and Enable.....

8- First we will Click Next, Then we choose Custom Configuration and next, Then LAN Routing, Then Finish Then Start Service.


*Now Windows Server Can Act As Router , We will Talk about Configure Static Routing .

1-after we expand Routing and Remote Access we will find IPv4 IPv6 , we will try on IPv4.
2-Expand IPv4 then right click on Static Routes,choose New Static.
3- Thw window will appear it has 5 thing to specify on it:
A-Inter Face: Here you will choose inter Face(NIC) that you will USE .
B-Destination: it Can be Network-Host you want to reach.
C-Network Mask: the Net Mask  .
D-Gateway: the interface (NIC) who will forward your packet in the other Side.
E-Metric: specify the number of routers which the Packet will go through Them.

Example:




Here we want to make PC-1 Ping PC-2 now we Configure S1
1-InterFace: we choose 192.168.1.1 this inter face we will use to send from Pc-1 to Pc-2
2-Destination: here we can use 172.16.0.1 the NetWork or 172.16.0.2 the Host.
3-Network Mask: depend on what we will choose if the network we will use like 255.255.255.0 
4-Gateway: will be 10.1.1.2
5-Metric: 1 (because theres is one Router will pass throught it "S2"


*We Can use "RIP" protocol :

1-Right Click on General at IPv4, then choose New Routing Protocol
.
2- Then choose RIP and Click OK.

3-right Click on RIP and choose New Interface, then Choose NIC you want to use.





No comments:

Post a Comment