+ All Categories
Home > Documents > Bao cao BTVN_1

Bao cao BTVN_1

Date post: 02-Feb-2016
Category:
Upload: shinichi-kudo
View: 219 times
Download: 0 times
Share this document with a friend
Description:
bao cao, IP Mang
Popular Tags:
21
August 27, 2015 BÁO CÁO BTVN 1 BT1: TOPOLOGY: VLan 10: Network: 192.168.10.0/24 PC1: IP address: 192.168.10.2/24 Default gateway: 192.168.10.1 PC3: IP address: 192.168.10.3/24 Default gateway: 192.168.10.1 Vlan 20: Network: 192.168.20.0/24 PC2: IP address: 192.168.20.2/24 Default gateway: 192.168.20.1 PC4: IP address: 192.168.20.3/24 Default gateway: 192.168.20.1 ĐHBK TP.HCM | Lê Hoàng Anh - 41100075 1
Transcript
Page 1: Bao cao BTVN_1

August 27, 2015

BT1:

TOPOLOGY:

VLan 10: Network: 192.168.10.0/24PC1: IP address: 192.168.10.2/24Default gateway: 192.168.10.1PC3: IP address: 192.168.10.3/24Default gateway: 192.168.10.1

Vlan 20:Network: 192.168.20.0/24PC2: IP address: 192.168.20.2/24Default gateway: 192.168.20.1PC4: IP address: 192.168.20.3/24Default gateway: 192.168.20.1

| Lê Hoàng Anh - 41100075 1

Page 2: Bao cao BTVN_1

August 27, 2015

CONFIGURATION:

SW1:>en#config t#vlan 10# name Vlan10#vlan 20#name Vlan20 #exit#int fa0/1#switchport access vlan 10#no shut#exit#int fa0/2#switchport access vlan 20#no shut#exit#int fa0/3#switchport mode trunk#switchport trunk allowed vlan 10,20#noshut#exit

SW2:>en#config t#vlan 10# name Vlan10#vlan 20#name Vlan20 #exit#int fa0/1#switchport access vlan 10#no shut#exit#int fa0/2#switchport access vlan 20#no shut#exit#int fa0/3#switchport mode trunk#switchport trunk allowed vlan 10,20#no shut#exit

SW3: >en#config t#vlan 10# name Vlan10

#vlan 20#name Vlan20 #exit#int fa0/3#switchport mode trunk#switchport trunk allowed vlan 10,20#no shut#exit

R1:>en#config t#int fa0/0#no ip address#no shut#exit#int fa0/0.10#ip address 192.168.10.1 255.255.255.0#encapsulation dot1Q 10#no shut#exit#int fa0/0.20#ip address 192.168.20.1 255.255.255.0#encapsulation dot1Q 20#no shut#exit#int fa0/1#ip address 192.168.30.1 255.255.255.0#no shut#exit#ip route 8.8.8.8 255.255.255.255 192.168.30.2#exit#exit

R2:>en#config t#int fa0/0#ip address 192.168.30.2 255.255.255.0#no shut#exit#interface loopback 0#ip address 8.8.8.8 255.255.255.255#no shut#exit#ip route 192.168.10.0 255.255.255.0 192.168.30.1#ip route 192.168.20.0 255.255.255.0 192.168.30.1#exit#exit

| Lê Hoàng Anh - 41100075 2

Page 3: Bao cao BTVN_1

August 27, 2015

PING:PC1 PC3

| Lê Hoàng Anh - 41100075 3

Page 4: Bao cao BTVN_1

August 27, 2015

PC1 PC4

| Lê Hoàng Anh - 41100075 4

Page 5: Bao cao BTVN_1

August 27, 2015

| Lê Hoàng Anh - 41100075 5

Page 6: Bao cao BTVN_1

August 27, 2015

PC1 Google(8.8.8.8)

| Lê Hoàng Anh - 41100075 6

Page 7: Bao cao BTVN_1

August 27, 2015

| Lê Hoàng Anh - 41100075 7

Page 8: Bao cao BTVN_1

August 27, 2015

BT2:

TOPOLOGY:

VLan 10: Network: 192.168.10.0/24PC1: IP address: 192.168.10.2/24Default gateway: 192.168.10.1PC3: IP address: 192.168.10.3/24Default gateway: 192.168.10.1

Vlan 20:Network: 192.168.20.0/24PC2: IP address: 192.168.20.2/24Default gateway: 192.168.20.1PC4: IP address: 192.168.20.3/24Default gateway: 192.168.20.1

CONFIGURATION:

| Lê Hoàng Anh - 41100075 8

Page 9: Bao cao BTVN_1

August 27, 2015

SW1:>en#config t#vlan 10# name Vlan10#vlan 20#name Vlan20 #exit#int fa0/1#switchport access vlan 10#no shut#exit#int fa0/2#switchport access vlan 20#no shut#exit#int fa0/3#switchport mode trunk#switchport trunk allowed vlan 10,20#noshut#exit

SW2:>en#config t#vlan 10# name Vlan10#vlan 20#name Vlan20 #exit#int fa0/1#switchport access vlan 10#no shut#exit#int fa0/2#switchport access vlan 20#no shut#exit#int fa0/3#switchport mode trunk#switchport trunk allowed vlan 10,20#no shut#exit

MS:>en#config t#ip routing#vlan 10#name Vlan10#vlan 20#name Vlan20#exit#interface Vlan10#ip address 192.168.10.1 255.255.255.0#no shut#exit#interface Vlan20#ip address 192.168.20.1 255.255.255.0#no shut#exit#int fa0/3#no switchport #ip address 192.168.30.1 255.255.255.0#no shut#exit#ip route 0.0.0.0 0.0.0.0 192.168.30.2#ip route 8.8.8.8 255.255.255.255 192.168.30.2#exit#exit

R2:>en#config t#int fa0/0#ip address 192.168.30.2 255.255.255.0#no shut#exit#interface loopback 0#ip address 8.8.8.8 255.255.255.255#no shut#exit#ip route 192.168.10.0 255.255.255.0 192.168.30.1#ip route 192.168.20.0 255.255.255.0 192.168.30.1#exit#exit

PING:

| Lê Hoàng Anh - 41100075 9

Page 10: Bao cao BTVN_1

August 27, 2015

PC1 PC3

| Lê Hoàng Anh - 41100075 10

Page 11: Bao cao BTVN_1

August 27, 2015

PC1 PC4:

| Lê Hoàng Anh - 41100075 11

Page 12: Bao cao BTVN_1

August 27, 2015

PC1 Google(8.8.8.8)

| Lê Hoàng Anh - 41100075 12

Page 13: Bao cao BTVN_1

August 27, 2015

BT3:

| Lê Hoàng Anh - 41100075 13

Page 14: Bao cao BTVN_1

August 27, 2015

OS: Windows_XP Professional : VMNet1

OS: Linux_Ubuntu15.04: VMNet2

Tạo 2 VMnet tương ứng với 2 PC thuộc 2 mạng khác nhau

| Lê Hoàng Anh - 41100075 14

Page 15: Bao cao BTVN_1

August 27, 2015

Cấu hình địa chỉ IP tĩnh cho các hệ điều hành

| Lê Hoàng Anh - 41100075 15

Page 16: Bao cao BTVN_1

August 27, 2015

Dùng lênh ipconfig để kiểm tra địa chỉ IP trên HĐH Window XP

Dùng lệnh ifconfig để kiểm tra địa chỉ IP trên HĐH Linux Ubuntu

CONFIGURATION:

| Lê Hoàng Anh - 41100075 16

Page 17: Bao cao BTVN_1

August 27, 2015

R1:>en#config t#int fa0/0#ip address 192.168.10.1 255.255.255.0#no shut#exit#int fa0/1#ip address 192.168.20.1 255.255.255.0#no shut#exit#ip routing#int fa1/0#no switchport#ip address 192.168.30.1 255.255.255.0#no shut #exit #ip routing 0.0.0.0 0.0.0.0 192.168.30.2#ip routing 8.8.8.8 255.255.255.255 192.168.30.2#exit

#exit#copy run start#copy running-config start

R2:>en#config t#int fa0/0#ip address 192.168.30.2 255.255.255.0#no shut#exit#interface loopback 0#ip address 8.8.8.8 255.255.255.255#no shut#exit#ip route 192.168.10.0 255.255.255.0 192.168.30.1#ip route 192.168.20.0 255.255.255.0 192.168.30.1#exit#exit#copy run start#copy running-config start

Thực hiện Ping giữa các PC thuộc 2 HĐH khác nhau.

| Lê Hoàng Anh - 41100075 17

Page 18: Bao cao BTVN_1

August 27, 2015

Ta lần lượt chạy các máy ảo Window XP và Linux trên VMWare

Trên Window ta mở Command Prompt và thực hiện lệnh Ping.

Trên Linux t mở Terminal và thực hiện lệnh Ping.

| Lê Hoàng Anh - 41100075 18


Recommended