Date post: | 02-Feb-2016 |
Category: |
Documents |
Upload: | shinichi-kudo |
View: | 219 times |
Download: | 0 times |
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
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
August 27, 2015
PING:PC1 PC3
| Lê Hoàng Anh - 41100075 3
August 27, 2015
PC1 PC4
| Lê Hoàng Anh - 41100075 4
August 27, 2015
| Lê Hoàng Anh - 41100075 5
August 27, 2015
PC1 Google(8.8.8.8)
| Lê Hoàng Anh - 41100075 6
August 27, 2015
| Lê Hoàng Anh - 41100075 7
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
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
August 27, 2015
PC1 PC3
| Lê Hoàng Anh - 41100075 10
August 27, 2015
PC1 PC4:
| Lê Hoàng Anh - 41100075 11
August 27, 2015
PC1 Google(8.8.8.8)
| Lê Hoàng Anh - 41100075 12
August 27, 2015
BT3:
| Lê Hoàng Anh - 41100075 13
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
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
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
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
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