ÍøÂçÅäÖãº×ۺϷÓÉʵÑé1 - ¿¼²ìµ¥±Û·ÓÉ¡¢¾²Ì¬Â·ÓÉ֪ʶµã ÏÂÔØ±¾ÎÄ

1.5±¶£»Ê×ÐÐËõ½ø£º2×Ö·û£»ÌâÄ¿×ÖÌ壺3ºÅºÚÌ壬µ¥±¶ÐоࣻÕ½Ú×ÖÌ壺4ºÅºÚÌ壬µ¥±¶Ðоࡣ

ÍøÂçÅäÖãº×ۺϷÓÉʵÑé1¡ª¡ª¿¼²ìµ¥±Û·ÓÉ¡¢¾²Ì¬Â·ÓÉ֪ʶµã

2009Äê11ÔÂ09ÈÕ ÐÇÆÚÒ» 15:09

ʵÑé»·¾³£º

ijһ¹«Ë¾ÄÚÓÐÏúÊÛ²¿ºÍ²ÆÎñ²¿Á½¸ö²¿·Ö£¬·Ö´¦²»Í¬ÐéÄâ¾ÖÓòÍø£¬ÏÖÒªÇóʵÏÖͨÐÅ£¬Í¨¹ýµ¥±Û·ÓÉÍê³ÉÏúÊÛ²¿¡¢²ÆÎñ²¿Á½²¿ÃÅͨÐÅÎÊÌ⣻

¹«Ë¾Í¨¹ýÒ»ÌõDDNרÏßרÏßÓëISPͨÐÅ£¬ÏÖÔÚÒªÇóPC1¡¢PC2Óë×Ó¹«Ë¾µÄ·þÎñÆ÷PC3ºÍ·þÎñÆ÷PC4ʵÏÖͨÐÅ¡£ÔÚ·þÎñÆ÷PC3ºÍ·þÎñÆ÷PC4ÉÏÅäÖÃDNS¡¢HTTP·þÎñÆ÷¡£(Pc4³Ðµ£DNS¡¢HTTP·þÎñÆ÷£¬PC3Ö»³Ðµ£HTTP·þÎñÆ÷¡£)

ÏÖÔÚÒªÇóÔÚR1¡¢R2¡¢R3ºÍR4ÉÏʵÏÖ¾²Ì¬Â·ÓÉ¡£¹«Ë¾ÄÚ²¿½»»»»úSW2ÉÏÅäÖÃVLAN£¬Íâ²¿ÍøÂçµÄ½»»»»ú²»×öÈκÎÅäÖã¬Ö»³Ðµ£¼¶Áª×÷Óá£ ÍøÂçÍØÆË£º

ʵÑé²½Ö裺

Ò»¡¢Ö÷»ú¼°·þÎñÆ÷IPµØÖ·¡¢×ÓÍøÑÚÂ롢ĬÈÏÍø¹Ø¡¢DNS·þÎñÆ÷

PC1 ¡ª¡ª 192.168.1.2/24 255.255.255.0 192.168.1.1 192.168.7.2 PC2 ¡ª¡ª 192.168.2.2/24 255.255.255.0 192.168.2.1 192.168.7.2 ·þÎñÆ÷PC3¡ª¡ª 192.168.5.2/24 192.168.5.1 ·þÎñÆ÷PC3µÄHTTP·þÎñµÄIndex.htmlÎļþ

- 1 -

1.5±¶£»Ê×ÐÐËõ½ø£º2×Ö·û£»ÌâÄ¿×ÖÌ壺3ºÅºÚÌ壬µ¥±¶ÐоࣻÕ½Ú×ÖÌ壺4ºÅºÚÌ壬µ¥±¶Ðоࡣ

Cisco Packet Tracer MY hello to you


Welcome to Cisco Packet Tracer, the best thing since..... Packet Tracer 4.x.

Quick Links:


A small page
Copyrights
Image page
Image

·þÎñÆ÷PC4 ¡ª¡ª 192.168.7.2/24 255.255.255.0 ·þÎñÆ÷PC4µÄHTTP·þÎñµÄIndex.htmlÎļþ

Cisco Packet Tracer Your hello to Me


Welcome to Cisco Packet Tracer, the best thing since..... Packet Tracer 4.x.

Quick Links:


A small page
Copyrights
Image page
Image

·þÎñÆ÷PC4µÄDNS·þÎñÅäÖüǼ

www.123.com A Record 192.168.7.2 www.abc.com A Record 192.168.5.2

¶þ¡¢¹«Ë¾ÄÚSW2ÅäÖà SW2#show running-config Building configuration...

Current configuration : 1021 bytes !

version 12.1

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname SW2 !

- 2 -

1.5±¶£»Ê×ÐÐËõ½ø£º2×Ö·û£»ÌâÄ¿×ÖÌ壺3ºÅºÚÌ壬µ¥±¶ÐоࣻÕ½Ú×ÖÌ壺4ºÅºÚÌ壬µ¥±¶Ðоࡣ

! !

interface FastEthernet0/1 switchport mode trunk !

interface FastEthernet0/2 switchport access vlan 10 !

interface FastEthernet0/3 switchport access vlan 20 !

interface FastEthernet0/4 !

interface FastEthernet0/5 !

interface FastEthernet0/6 !

interface FastEthernet0/7 !

interface FastEthernet0/8 !

interface FastEthernet0/9 !

interface FastEthernet0/10 !

interface FastEthernet0/11 !

interface FastEthernet0/12 !

interface FastEthernet0/13 !

interface FastEthernet0/14 !

interface FastEthernet0/15 !

interface FastEthernet0/16 !

interface FastEthernet0/17 !

interface FastEthernet0/18 !

interface FastEthernet0/19 !

interface FastEthernet0/20 !

interface FastEthernet0/21

- 3 -

1.5±¶£»Ê×ÐÐËõ½ø£º2×Ö·û£»ÌâÄ¿×ÖÌ壺3ºÅºÚÌ壬µ¥±¶ÐоࣻÕ½Ú×ÖÌ壺4ºÅºÚÌ壬µ¥±¶Ðоࡣ

!

interface FastEthernet0/22 !

interface FastEthernet0/23 !

interface FastEthernet0/24 !

interface Vlan1 no ip address shutdown ! !

line con 0 !

line vty 0 4 login

line vty 5 15 login ! ! end Èý¡¢R1ÅäÖÃ

R1#show running-config Building configuration...

Current configuration : 830 bytes !

version 12.2

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname R1 !

interface FastEthernet0/0 no ip address duplex auto speed auto !

interface FastEthernet0/0.10 encapsulation dot1Q 10

ip address 192.168.1.1 255.255.255.0 !

- 4 -