Vous êtes sur la page 1sur 14

No 1.

1. Router>en
2. Router#conf t
3. Enter configuration commands, one per line. End with CNTL/Z.
4. Router(config)#int serial2/0
5. Router(config-if)#ip add 12.12.12.99 255.255.255.0
6. Router(config-if)#no sh
7.
8. %LINK-5-CHANGED: Interface Serial2/0, changed state to down
9. Router(config-if)#
10. Router(config-if)#ex
11. Router(config)#ex
12. Router#
13. %SYS-5-CONFIG_I: Configured from console by console
14. wr
15. Building configuration...
16. [OK]
17. Router#conf t
18. Enter configuration commands, one per line. End with CNTL/Z.
19. Router(config)#int fa0/0
20. Router(config-if)#ip add 10.10.10.1 255.255.255.0
21. Router(config-if)#no sh
22.
23. Router(config-if)#
24. %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
25.

26. %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed


state to up
27.
28. Router(config-if)#ex
29. Router(config)#ex
30. Router#
31. %SYS-5-CONFIG_I: Configured from console by console
32. wr
33. Building configuration...
34. [OK]
35. Router#
36. Router#
37. %LINK-5-CHANGED: Interface Serial2/0, changed state to up
38.
39. %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
40.
41. Router#conf t
42. Enter configuration commands, one per line. End with CNTL/Z.
43. Router(config)#ip route 10.10.10.0 255.255.255.0
44. % Incomplete command.
45. Router(config)#ip route 2.2.2.2 255.255.255.255 12.12.12.99
46. %Invalid next hop address (it's this router)
47. Router(config)#no sh
48.

49. % Invalid input detected at '^' marker.


50.
51. Router(config)#ip route 2.2.2.2 255.255.255.255 12.12.12.100
52. Router(config)#no sh
53.

54. % Invalid input detected at '^' marker.


55.
56. Router(config)#ex
57. Router#
58. %SYS-5-CONFIG_I: Configured from console by console
59. wr
60. Building configuration...
61. [OK]
62. Router#
63. Router#
Setting di pc
1. Masukkan ip address
2. Ip address 10.10.10.2
3. Subnet 255.255.255.0
4. Getway 10.10.10.1
5. Ping ke 10.10.10.1
6. Ping ke 2.2.2.2

No 2

1. Router>en
2. Router#conf t
3. Enter configuration commands, one per line. End with CNTL/Z.
4. Router(config)#int serial2/0
5. Router(config-if)#ip add 12.12.12.100 255.255.255.0
6. Router(config-if)#no sh

7. Router(config-if)#

8. %LINK-5-CHANGED: Interface Serial2/0, changed state to up

9. Router(config-if)#ex
10. Router(config)#ex
11. Router#
12. %SYS-5-CONFIG_I: Configured from console by console

13. %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to


up
14. wr
15. Building configuration...
16. [OK]
17. Router#conf t
18. Enter configuration commands, one per line. End with CNTL/Z.
19. Router(config)#int loopback0

20. Router(config-if)#
21. %LINK-5-CHANGED: Interface Loopback0, changed state to up

22. %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to


up

23. Router(config-if)#ip add 2.2.2.2 255.255.255.255


24. Router(config-if)#no sh
25. Router(config-if)#ex
26. Router(config)#ex
27. Router#
28. %SYS-5-CONFIG_I: Configured from console by console
29. wr

30. Building configuration...


31. [OK]
32. Router#conf t
33. Enter configuration commands, one per line. End with CNTL/Z.
34. Router(config)#ip route 10.10.10.0 255.255.255.0 12.12.12.99
35. Router(config)#no sh
^
36. % Invalid input detected at '^' marker.

37. Router(config)#ex
38. Router#
39. %SYS-5-CONFIG_I: Configured from console by console
40. wr
41. Building configuration...
42. [OK]
43. Router#
44. Router#

No 4 RIP 1.
1. Configure router 1
2. Router1>enable
3. Router1#config terminal
4. Router(config)# hostname R1
5. R1(config)# username jakarta password jakarta
6. R1(config)# enable secret jakarta
7. R1(config-line)# line vty 0 4

8. R1(config-line)# login local


9. R1(config)# interface serial2/0
10. R1(config-if)# ip address 12.12.12.1 255.255.255.0
11. R1(config-if)# clock rate 9600
12. R1(config-if)# no shutdown
13. R1(config)# interface fastethernet0/0
14. R1(config-if)# ip address 10.10.10.1 255.255.255.0
15. R1(config-if)# no shutdown
16.
17. Configure router 2
18. Router2>enable
19. Router2# configure terminal
20. Router(config)# hostname R2
21. R2(config)# username jakarta password jakarta
22. R2(config)# enable secret jakarta
23. R2(config-line)# line vty 0 4
24. R2(config-line)# login local
25. R2(config)# interface serial2/0
26. R2(config-if)# ip address 12.12.12.2 255.255.255.0
27. R2(config-if)# no shutdown
28. R2(config)# interface loopback0
29. R2(config-if)# ip address 2.2.2.2 255.255.255.255
30. R2(config-if)# no shutdown
31.
32. Configure routing R1
33. R1(config)# router rip
34. R1(config-router)# network 10.0.0.0
35. R1(config-router)# network 12.0.0.0

36.
37. Configure routing R2
38. R2(config)# router rip
39. R2(config-router)# network 12.0.0.0
40. R2(config-router)# network 2.0.0.0
41.
42. Configure PC
43. IP Address : 10.10.10.2/24
44. IP Gateway : 10.10.10.1

No 5 RIP 2.

1. Configure router 1
2. Router1>enable
3. Router1#config terminal
4. Router(config)# hostname R1
5. R1(config)# username jakarta password jakarta
6. R1(config)# enable secret jakarta
7. R1(config-line)# line vty 0 4
8. R1(config-line)# login local
9. R1(config)# interface serial2/0
10. R1(config-if)# ip address 12.12.12.1 255.255.255.0
11. R1(config-if)# clock rate 9600
12. R1(config-if)# no shutdown
13. R1(config)# interface fastethernet0/0
14. R1(config-if)# ip address 10.10.10.1 255.255.255.0
15. R1(config-if)# no shutdown

16. Configure router 2


17. Router2>enable
18. Router2# configure terminal
19. Router(config)# hostname R2
20. R2(config)# username jakarta password jakarta
21. R2(config)# enable secret jakarta
22. R2(config-line)# line vty 0 4
23. R2(config-line)# login local
24. R2(config)# interface serial2/0
25. R2(config-if)# ip address 12.12.12.2 255.255.255.0
26. R2(config-if)# no shutdown
27. R2(config)# interface loopback0
28. R2(config-if)# ip address 2.2.2.2 255.255.255.255
29. R2(config-if)# no shutdown

30. Configure routing R1


31. R1(config)# router rip
32. R1(config-router)# version 2
33. R1(config-router)# network 10.0.0.0
34. R1(config-router)# network 12.0.0.0

35. Configure routing R2


36. R2(config)# router rip
37. R2(config-router)# version 2
38. R2(config-router)# network 12.0.0.0
39. R2(config-router)# network 2.0.0.0

40. Configure PC

41. IP Address : 10.10.10.2/24


42. IP Gateway : 10.10.10.1

6.EIGRP.

1. Configure router 1
2. Router1>enable
3. Router1#config terminal
4. Router(config)# hostname R1
5. R1(config)# username jakarta password jakarta
6. R1(config)# enable secret jakarta
7. R1(config-line)# line vty 0 4
8. R1(config-line)# login local
9. R1(config)# interface serial2/0
10. R1(config-if)# ip address 12.12.12.1 255.255.255.0
11. R1(config-if)# clock rate 9600
12. R1(config-if)# no shutdown
13. R1(config)# interface fastethernet0/0
14. R1(config-if)# ip address 10.10.10.1 255.255.255.0
15. R1(config-if)# no shutdown

16. Configure router 2


17. Router2>enable
18. Router2# configure terminal
19. Router(config)# hostname R2

20. R2(config)# username jakarta password jakarta


21. R2(config)# enable secret jakarta
22. R2(config-line)# line vty 0 4
23. R2(config-line)# login local
24. R2(config)# interface serial2/0
25. R2(config-if)# ip address 12.12.12.2 255.255.255.0
26. R2(config-if)# no shutdown
27. R2(config)# interface loopback0
28. R2(config-if)# ip address 2.2.2.2 255.255.255.255
29. R2(config-if)# no shutdown

30. Configure routing R1


31. R1(config)# router eigrp 10
32. R1(config-router)# network 10.10.10.0
33. R1(config-router)# network 12.12.12.0
34. R1(config-router)# no auto-summary

35. Configure routing R2


36. R2(config)# router eigrp 10
37. R2(config-router)# network 12.12.12.0
38. R2(config-router)# network 2.2.2.2
39. R2(config-router)# no auto-summary

40. Configure PC
41. IP Address : 10.10.10.2/24
42. IP Gateway : 10.10.10.1

No 7 ospf

1. Configure router 1
2. Router1>enable
3. Router1#config terminal
4. Router(config)# hostname R1
5. R1(config)# username jakarta password jakarta
6. R1(config)# enable secret jakarta
7. R1(config-line)# line vty 0 4
8. R1(config-line)# login local
9. R1(config)# interface serial2/0
10. R1(config-if)# ip address 12.12.12.1 255.255.255.0
11. R1(config-if)# clock rate 9600
12. R1(config-if)# no shutdown
13. R1(config)# interface fastethernet0/0
14. R1(config-if)# ip address 10.10.10.1 255.255.255.0
15. R1(config-if)# no shutdown
16. R1(config)# interface loopback 0
17. R1(config-if)# ip address 1.1.1.1 255.255.255.255
18. R1(config-if)# no shutdown

19. Configure router 2


20. Router2>enable
21. Router2# configure terminal
22. Router(config)# hostname R2
23. R2(config)# username jakarta password jakarta

24. R2(config)# enable secret jakarta


25. R2(config-line)# line vty 0 4
26. R2(config-line)# login local
27. R2(config)# interface serial2/0
28. R2(config-if)# ip address 12.12.12.2 255.255.255.0
29. R2(config-if)# no shutdown
30. R2(config)# interface loopback0
31. R2(config-if)# ip address 2.2.2.2 255.255.255.255
32. R2(config-if)# no shutdown

33. Configure routing R1


34. R1(config)# router ospf 1
35. R1(config-router)# network 12.12.12.0 0.0.0.255 area 0
36. R1(config-router)# network 1.1.1.1 0.0.0.0 area 0
37. R1(config-router)# network 10.10.10.0 0.0.0.255 area 10

38. Configure routing R2


39. R2(config)# router ospf 2
40. R2(config-router)# network 12.12.12.0 0.0.0.255 area 0
41. R2(config-router)# network 2.2.2.2 0.0.0.0 area 20

42. Configure PC
43. IP Address : 10.10.10.2/24
44. IP Gateway : 10.10.10.1

No 8 acl
1. Router>en

2. Router#conf t
3. Enter configuration commands, one per line. End with CNTL/Z.
4. Router(config)#int eth 6/0
5. Router(config-if)#ip add 192.168.2.254 255.255.255.0
6. Router(config-if)#no sh
7. Router(config-if)#ex
8. Router(config)#int eth 7/0
9. Router(config-if)#ip add 192.168.1.1 255.255.255.0
10. Router(config-if)#no sh
11. Router(config-if)#ex

Configurasi server
1. Masukkan ip address server
2. Ip address 192.168.2.1
3. Subnet 255.255.255.0
4. Getway 192.168.2.254

Configurasi pada swicth hanya menggunakan socket ethernet sebanyak 4 buah


untuk koneksi ke router, dan ke 3 buah pc client.

Configurasi pada 3buah PC

Pc 1

1. Menggunakan socket ethernet modul


2. Masukkan ip address
3. Ip address 192.168.1.2

4. Subnet 255.255.255.0
5. Getway 192.168.1.1

Pc 2

6. Menggunakan socket ethernet modul


7. Masukkan ip address
8. Ip address 192.168.1.3
9. Subnet 255.255.255.0
10. Getway 192.168.1.1

Pc 3

11. Menggunakan socket ethernet modul


12. Masukkan ip address
13. Ip address 192.168.1.4
14. Subnet 255.255.255.0
15. Getway 192.168.1.1

Vous aimerez peut-être aussi