SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
UCCN 1003 (May 2010)


Data Communications & Networks
            (Lecture 02b)



    Local Area Network (LAN) basics
           in Packet Tracer 2
Adding a new LAN


Adding and configure a new LAN on
the existing network step by step
The design plan for second LAN
• Keep it as a good habit to plan for your network
  design.
• The design plan for second LAN:
  – The network components needed
     • 1 Switch
     • 2 PCs
     • 1 server
  – The services
     • DNS: Set 192.168.2.1 as “www.uccn1003.com”
     • HTTP
     • DHCP (dynamic IP for PCs in 2nd LAN)
        –   Server IP (preferred static) = 192.168.2.1
        –   Default gateway IP = 192.168.2.254
        –   DHCP range for the PCs => 192.168.2.5 to 192.168.1.200
        –   DNS IP = Web Server IP = 192.168.2.1
Adding new network components
•   Add to the workspace
     – 1 2950-24 switch
     – 2 Generic PCs
     – 1 Generic server
•   Make connection with
    “Automatic Choose
    Connection Type” for
     – PC2 to Switch1
     – PC3 to Switch1
     – Server1 to Switch1
•   Make connection with
    “Copper Straight-Through”
     – Switch1 to Router0
     – FastEthernet0/1 of
       Router0
     – FastEthernet0/4 of
       Switch1
A Review on IP address design Plan
              Static IP:
              192.168.1.100
                        DHCP IP range:
                        192.168.1.5 - 54

Static IP:                       Dynamic      Dynamic   Dynamic
192.168.1.1                      IP                IP        IP




          fa0/0:                                          Static IP:
          192.168.1.200                                   192.168.2.1


 Note: Router ports’                 fa0/1:        DHCP IP range:
 IP have to static IP         192.168.2.254        192.168.2.5 - 200
 (ALWAYS)
Setting IP for Fa0/1 in Router0


Set port fa0/1 to have
ip = 192.168.2.254

1. Type “en”


2. Type ”conf t”


3. Type ”int fa0/1”


4. Type ”ip address
192.168.2.254
255.255.255.0”

5. Type ”no shut”
Caution on Setting IP on Router
• Router ports (e.g. fa0/0, fa0/1) are set with static
  IP.
   – Note: the port here is a physical port, not the port
     number (services) that we have discussed.
• Make sure that you set your IP on the correct
  Router ports. For example:
   – The original design
      • fa0/0 = 192.168.1.200,
      • fa0/1 = 192.168.2.254
   – But you mistakenly set
      • fa0/0 = 192.168.2.254 (fa0/1 ‘s IP)
      • fa0/1 = 192.168.1.200 (fa0/0 ‘s IP)
IP Configuration of Server1
• The setting of the server IP, subnet mask and gateway.
DHCP service setup of Server1

Set Default Gateway IP
= 192.168.2.254


Set DNS IP
= 192.168.2.1



Set Start IP address
= 192.168.2.5


Set Max # of Users
= 201
Comments on Second DHCP Service
• DHCP service in Server1 does not service PC0 and PC1, it
  can only service PC2 and PC3.
   – Same as Server0, only servicing PC0 and PC1
   – DHCP service can not “cross” Router.
      • Whereas, HTTP, DNS service can “cross” Router




                                                    Service boundary of
                                                    DHCP service of
                                                    Server1
HTTP service setup of Server1
• Click on “Config” tab
  and then “HTTP”
  button to go the
  HTTP screen.
• Type in or modify the
  web page as shown
DNS Service setup of Server1


1. Click DNS


                                                      2. Type in
                                                      these

                                                     3. Press the
                                                     “Add” button.




                                  Domain name
                                  www.uccn1003.com is now
                                  associated with ip 192.168.2.1
Requesting Dynamic IP for PC3
Testing Connectivity for PC3


PC3 ping gateway
(fa0/1 of Router0)




PC3 ping PC0
Requesting Dynamic IP for PC2
Launch Web Browser for PC2



                         Click on this
PC2 Access Web Page in Server1
• PC2 has successfully
  communicate with the
  DNS to resolve the
  domain name
  www.uccn1003.com

• PC2 has successfully
  access the web page
  hosted in 192.168.2.1
  (Server1)
PC1 Access Web Page in Server1
                 • PC1 unsuccessfully
                   access the web page
                   since the hostname is
                   unresolved.
                 • Need to troubleshoot the
                   DNS mechanism…
Troubleshoot PC1: ipconfig
•    Check PC1 with “ipconfig /all”.

•    The DNS IP is missing = 0.0.0.0

•    Check with nslookup => Not working

•    PC1 is under dynamic IP

•    We need to fix it first on the DHCP
     server.




    Note: Keep it as a habit that
    whenever you troubleshoot the
    network always start with
    “ipconfig”
Fixing the DNS IP in DHCP



Change the DNS
Server IP from 0.0.0.0
to 192.168.2.1

Remember to click
“Save”
Request New Dynamic IP in PC1
     Renew Dynamic IP
     Since DNS server IP is
     added


Check again with nslookup
on domain name
“www.uccn1003.com”



   PC1 ping web server
Launch Web Browser in PC1

• PC1 Successfully
  access web page
  www.uccn1003.com
PC0 and DNS
• Though PC0 can ping DNS, this
  does not mean you can resolved
  hostname in the web browser.
    – Since PC0 doesn’t have the
      DNS server IP.

• PC0 is set under static IP.
Launch Web Browser in PC0




                    Successful !!
Key in the DNS IP
Conclusion
• Through the previous slides, you have been shown step by
  step, in Packet Tracer on:
   –   Setting up a simple and working network.
   –   Providing HTTP service
   –   Providing DNS service
   –   Providing DHCP service
   –   Setting IP address in PCs and servers
   –   Setting IP address in router
   –   simple testing and troubleshooting
• Packet Tracer is just a simulator, it is not 100% real world
  (around 70% to 80%).
   –   Server configuration has been greatly simplified in Packet Tracer
   –   It helps you to visualize how the network functions
   –   It is a good reference for you in the real world.
   –   You have to find out which part in Packet Tracer is comparable to
       the real world, and which part is not.

Mais conteúdo relacionado

Mais procurados

Step by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerStep by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerSorath Asnani
 
Wireless lab4902
Wireless lab4902Wireless lab4902
Wireless lab4902mark scott
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic ConfigurationProf. Erwin Globio
 
How to configure a router
How to configure a router How to configure a router
How to configure a router IT Tech
 
Router configuration
Router configurationRouter configuration
Router configuration97148881557
 
designandimplementanetwork
designandimplementanetworkdesignandimplementanetwork
designandimplementanetworkAdi Fang
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
Networking Chapter 8
Networking Chapter 8Networking Chapter 8
Networking Chapter 8mlrbrown
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2AIRTEL
 
Networking Chapter 7
Networking Chapter 7Networking Chapter 7
Networking Chapter 7mlrbrown
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1VISHNU N
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4VISHNU N
 

Mais procurados (20)

Step by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerStep by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet Tracer
 
Wireless lab4902
Wireless lab4902Wireless lab4902
Wireless lab4902
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
How to configure a router
How to configure a router How to configure a router
How to configure a router
 
Router configuration
Router configurationRouter configuration
Router configuration
 
designandimplementanetwork
designandimplementanetworkdesignandimplementanetwork
designandimplementanetwork
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
Networking Chapter 8
Networking Chapter 8Networking Chapter 8
Networking Chapter 8
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2
 
Networking Chapter 7
Networking Chapter 7Networking Chapter 7
Networking Chapter 7
 
Modes of router
Modes of routerModes of router
Modes of router
 
Networking
NetworkingNetworking
Networking
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
Basic network training2
Basic network training2Basic network training2
Basic network training2
 
Router commands
Router commandsRouter commands
Router commands
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4
 
Basic to advance protocols
Basic to advance protocolsBasic to advance protocols
Basic to advance protocols
 

Destaque

02 Information System Security
02  Information System Security02  Information System Security
02 Information System SecurityShu Shin
 
Uccn1003 -may2010_-_mid_term_01_-_part2of2
Uccn1003  -may2010_-_mid_term_01_-_part2of2Uccn1003  -may2010_-_mid_term_01_-_part2of2
Uccn1003 -may2010_-_mid_term_01_-_part2of2Shu Shin
 
Uccn1003 -may2010_-_mid_term_02
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02Shu Shin
 
Теоремата на фон Нойман за отсъствие на скрити параметри в квантовата механика
Теоремата на фон Нойман за отсъствие на скрити параметри в квантовата механикаТеоремата на фон Нойман за отсъствие на скрити параметри в квантовата механика
Теоремата на фон Нойман за отсъствие на скрити параметри в квантовата механикаVasil Penchev
 
Аудио-визуална база - система за управление
Аудио-визуална база - система за управлениеАудио-визуална база - система за управление
Аудио-визуална база - система за управлениеNIT- New Internet Technologies PLC
 
Software University: for the Business (Jan 2014)
Software University: for the Business (Jan 2014)Software University: for the Business (Jan 2014)
Software University: for the Business (Jan 2014)Software University
 
Техническа обезпеченост на студентите за учене чрез мобилни технологии
Техническа обезпеченост  на студентите за учене чрез мобилни технологииТехническа обезпеченост  на студентите за учене чрез мобилни технологии
Техническа обезпеченост на студентите за учене чрез мобилни технологииgjadkov
 
безопасност и защита на Big data димитърузунов
безопасност и защита на Big data димитърузуновбезопасност и защита на Big data димитърузунов
безопасност и защита на Big data димитърузуновДимитър Узунов
 
Възприемане на заплахата и горовност за реакция в ситуация на повишена радио...
 Възприемане на заплахата и горовност за реакция в ситуация на повишена радио... Възприемане на заплахата и горовност за реакция в ситуация на повишена радио...
Възприемане на заплахата и горовност за реакция в ситуация на повишена радио...Petar Kardjilov
 
Safety and email protection from spam
Safety and email protection from spamSafety and email protection from spam
Safety and email protection from spamSvetoslav Stoimenov
 
Network Security and Network Attacks
Network Security and Network AttacksNetwork Security and Network Attacks
Network Security and Network AttacksSvetlin Nakov
 
Webit 2011 New Cloud Platform
Webit 2011 New Cloud PlatformWebit 2011 New Cloud Platform
Webit 2011 New Cloud PlatformSuperHosting.BG
 
Презенация мини-семинар "Социални мрежи"
Презенация мини-семинар "Социални мрежи"Презенация мини-семинар "Социални мрежи"
Презенация мини-семинар "Социални мрежи"eTel (Bulgaria)
 
СофтУни - представяне във Велико Търново - 1 март 2014
СофтУни - представяне във Велико Търново - 1 март 2014СофтУни - представяне във Велико Търново - 1 март 2014
СофтУни - представяне във Велико Търново - 1 март 2014Software University
 

Destaque (20)

02 Information System Security
02  Information System Security02  Information System Security
02 Information System Security
 
Uccn1003 -may2010_-_mid_term_01_-_part2of2
Uccn1003  -may2010_-_mid_term_01_-_part2of2Uccn1003  -may2010_-_mid_term_01_-_part2of2
Uccn1003 -may2010_-_mid_term_01_-_part2of2
 
Uccn1003 -may2010_-_mid_term_02
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02
 
Lan network with Redundancy
Lan network with RedundancyLan network with Redundancy
Lan network with Redundancy
 
Chap4
Chap4Chap4
Chap4
 
Теоремата на фон Нойман за отсъствие на скрити параметри в квантовата механика
Теоремата на фон Нойман за отсъствие на скрити параметри в квантовата механикаТеоремата на фон Нойман за отсъствие на скрити параметри в квантовата механика
Теоремата на фон Нойман за отсъствие на скрити параметри в квантовата механика
 
Аудио-визуална база - система за управление
Аудио-визуална база - система за управлениеАудио-визуална база - система за управление
Аудио-визуална база - система за управление
 
Software University: for the Business (Jan 2014)
Software University: for the Business (Jan 2014)Software University: for the Business (Jan 2014)
Software University: for the Business (Jan 2014)
 
Техническа обезпеченост на студентите за учене чрез мобилни технологии
Техническа обезпеченост  на студентите за учене чрез мобилни технологииТехническа обезпеченост  на студентите за учене чрез мобилни технологии
Техническа обезпеченост на студентите за учене чрез мобилни технологии
 
Referat
ReferatReferat
Referat
 
безопасност и защита на Big data димитърузунов
безопасност и защита на Big data димитърузуновбезопасност и защита на Big data димитърузунов
безопасност и защита на Big data димитърузунов
 
Възприемане на заплахата и горовност за реакция в ситуация на повишена радио...
 Възприемане на заплахата и горовност за реакция в ситуация на повишена радио... Възприемане на заплахата и горовност за реакция в ситуация на повишена радио...
Възприемане на заплахата и горовност за реакция в ситуация на повишена радио...
 
Safety and email protection from spam
Safety and email protection from spamSafety and email protection from spam
Safety and email protection from spam
 
Reup&Audit2
Reup&Audit2Reup&Audit2
Reup&Audit2
 
Chap3
Chap3Chap3
Chap3
 
Network Security and Network Attacks
Network Security and Network AttacksNetwork Security and Network Attacks
Network Security and Network Attacks
 
Webit 2011 New Cloud Platform
Webit 2011 New Cloud PlatformWebit 2011 New Cloud Platform
Webit 2011 New Cloud Platform
 
Презенация мини-семинар "Социални мрежи"
Презенация мини-семинар "Социални мрежи"Презенация мини-семинар "Социални мрежи"
Презенация мини-семинар "Социални мрежи"
 
хакери
хакерихакери
хакери
 
СофтУни - представяне във Велико Търново - 1 март 2014
СофтУни - представяне във Велико Търново - 1 март 2014СофтУни - представяне във Велико Търново - 1 март 2014
СофтУни - представяне във Велико Търново - 1 март 2014
 

Semelhante a Adding and Configuring a Second LAN in Packet Tracer

Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)LabannaSaha
 
Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)TanjilurRahman6
 
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntpCCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntpFaisal Khan
 
Byte blower basic setting full_v2
Byte blower basic setting full_v2Byte blower basic setting full_v2
Byte blower basic setting full_v2Chen-Chih Lee
 
Dns server configuration
Dns server configurationDns server configuration
Dns server configurationGolam Sadeque
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxjasembo
 
Load Sharing Internet with MikroTik.pdf
Load Sharing Internet with MikroTik.pdfLoad Sharing Internet with MikroTik.pdf
Load Sharing Internet with MikroTik.pdfEnics
 
DNS server configuration in packet tracer
DNS server configuration in packet tracerDNS server configuration in packet tracer
DNS server configuration in packet tracerprodhan999
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 Configuring a Cisco Router as a PPPoE Client for DSL Connectivity Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity3Anetwork com
 
MULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSMULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSKathirvel Ayyaswamy
 
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docxCCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docxketurahhazelhurst
 
Course 102: Lecture 20: Networking In Linux (Basic Concepts)
Course 102: Lecture 20: Networking In Linux (Basic Concepts) Course 102: Lecture 20: Networking In Linux (Basic Concepts)
Course 102: Lecture 20: Networking In Linux (Basic Concepts) Ahmed El-Arabawy
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer) Arz Sy
 
Dns server in packet tracer by tanjilur rahman city university bangladesh
Dns server in packet tracer by tanjilur rahman city university bangladeshDns server in packet tracer by tanjilur rahman city university bangladesh
Dns server in packet tracer by tanjilur rahman city university bangladeshTanjilurRahman6
 
CCNA NAT (Network Address Translation)
CCNA NAT (Network Address Translation)CCNA NAT (Network Address Translation)
CCNA NAT (Network Address Translation)Networkel
 
DNS server packet tracer
DNS server packet tracerDNS server packet tracer
DNS server packet tracerJalalMiah5
 
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric VanderburgCCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric VanderburgEric Vanderburg
 

Semelhante a Adding and Configuring a Second LAN in Packet Tracer (20)

N at
N atN at
N at
 
Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)
 
Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)Dns server in packet tracer converted (labanna saha)
Dns server in packet tracer converted (labanna saha)
 
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntpCCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
 
Byte blower basic setting full_v2
Byte blower basic setting full_v2Byte blower basic setting full_v2
Byte blower basic setting full_v2
 
Dns server configuration
Dns server configurationDns server configuration
Dns server configuration
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linux
 
Load Sharing Internet with MikroTik.pdf
Load Sharing Internet with MikroTik.pdfLoad Sharing Internet with MikroTik.pdf
Load Sharing Internet with MikroTik.pdf
 
DNS server configuration in packet tracer
DNS server configuration in packet tracerDNS server configuration in packet tracer
DNS server configuration in packet tracer
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 Configuring a Cisco Router as a PPPoE Client for DSL Connectivity Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 
MULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSMULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKS
 
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docxCCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
 
Course 102: Lecture 20: Networking In Linux (Basic Concepts)
Course 102: Lecture 20: Networking In Linux (Basic Concepts) Course 102: Lecture 20: Networking In Linux (Basic Concepts)
Course 102: Lecture 20: Networking In Linux (Basic Concepts)
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer)
 
Dns server in packet tracer by tanjilur rahman city university bangladesh
Dns server in packet tracer by tanjilur rahman city university bangladeshDns server in packet tracer by tanjilur rahman city university bangladesh
Dns server in packet tracer by tanjilur rahman city university bangladesh
 
CCNA NAT (Network Address Translation)
CCNA NAT (Network Address Translation)CCNA NAT (Network Address Translation)
CCNA NAT (Network Address Translation)
 
EMEA Airheads- Manage Devices at Branch Office (BOC)
EMEA Airheads- Manage Devices at Branch Office (BOC)EMEA Airheads- Manage Devices at Branch Office (BOC)
EMEA Airheads- Manage Devices at Branch Office (BOC)
 
Nat 07
Nat 07Nat 07
Nat 07
 
DNS server packet tracer
DNS server packet tracerDNS server packet tracer
DNS server packet tracer
 
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric VanderburgCCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
 

Mais de Shu Shin (20)

Information System Security introduction
Information System Security introductionInformation System Security introduction
Information System Security introduction
 
Chap12 part 1_
Chap12 part 1_Chap12 part 1_
Chap12 part 1_
 
Chap11
Chap11Chap11
Chap11
 
Chap10
Chap10Chap10
Chap10
 
Chap9
Chap9Chap9
Chap9
 
Chap8
Chap8Chap8
Chap8
 
Chap7
Chap7Chap7
Chap7
 
Chap6
Chap6Chap6
Chap6
 
Chap5
Chap5Chap5
Chap5
 
Chap4
Chap4Chap4
Chap4
 
Chap2
Chap2Chap2
Chap2
 
Chap1
Chap1Chap1
Chap1
 
Chap13
Chap13Chap13
Chap13
 
Chap13
Chap13Chap13
Chap13
 
Chap11
Chap11Chap11
Chap11
 
Chap10
Chap10Chap10
Chap10
 
Chap9
Chap9Chap9
Chap9
 
Chap7
Chap7Chap7
Chap7
 
Chap6
Chap6Chap6
Chap6
 
Chap5
Chap5Chap5
Chap5
 

Adding and Configuring a Second LAN in Packet Tracer

  • 1. UCCN 1003 (May 2010) Data Communications & Networks (Lecture 02b) Local Area Network (LAN) basics in Packet Tracer 2
  • 2. Adding a new LAN Adding and configure a new LAN on the existing network step by step
  • 3. The design plan for second LAN • Keep it as a good habit to plan for your network design. • The design plan for second LAN: – The network components needed • 1 Switch • 2 PCs • 1 server – The services • DNS: Set 192.168.2.1 as “www.uccn1003.com” • HTTP • DHCP (dynamic IP for PCs in 2nd LAN) – Server IP (preferred static) = 192.168.2.1 – Default gateway IP = 192.168.2.254 – DHCP range for the PCs => 192.168.2.5 to 192.168.1.200 – DNS IP = Web Server IP = 192.168.2.1
  • 4. Adding new network components • Add to the workspace – 1 2950-24 switch – 2 Generic PCs – 1 Generic server • Make connection with “Automatic Choose Connection Type” for – PC2 to Switch1 – PC3 to Switch1 – Server1 to Switch1 • Make connection with “Copper Straight-Through” – Switch1 to Router0 – FastEthernet0/1 of Router0 – FastEthernet0/4 of Switch1
  • 5. A Review on IP address design Plan Static IP: 192.168.1.100 DHCP IP range: 192.168.1.5 - 54 Static IP: Dynamic Dynamic Dynamic 192.168.1.1 IP IP IP fa0/0: Static IP: 192.168.1.200 192.168.2.1 Note: Router ports’ fa0/1: DHCP IP range: IP have to static IP 192.168.2.254 192.168.2.5 - 200 (ALWAYS)
  • 6. Setting IP for Fa0/1 in Router0 Set port fa0/1 to have ip = 192.168.2.254 1. Type “en” 2. Type ”conf t” 3. Type ”int fa0/1” 4. Type ”ip address 192.168.2.254 255.255.255.0” 5. Type ”no shut”
  • 7. Caution on Setting IP on Router • Router ports (e.g. fa0/0, fa0/1) are set with static IP. – Note: the port here is a physical port, not the port number (services) that we have discussed. • Make sure that you set your IP on the correct Router ports. For example: – The original design • fa0/0 = 192.168.1.200, • fa0/1 = 192.168.2.254 – But you mistakenly set • fa0/0 = 192.168.2.254 (fa0/1 ‘s IP) • fa0/1 = 192.168.1.200 (fa0/0 ‘s IP)
  • 8. IP Configuration of Server1 • The setting of the server IP, subnet mask and gateway.
  • 9. DHCP service setup of Server1 Set Default Gateway IP = 192.168.2.254 Set DNS IP = 192.168.2.1 Set Start IP address = 192.168.2.5 Set Max # of Users = 201
  • 10. Comments on Second DHCP Service • DHCP service in Server1 does not service PC0 and PC1, it can only service PC2 and PC3. – Same as Server0, only servicing PC0 and PC1 – DHCP service can not “cross” Router. • Whereas, HTTP, DNS service can “cross” Router Service boundary of DHCP service of Server1
  • 11. HTTP service setup of Server1 • Click on “Config” tab and then “HTTP” button to go the HTTP screen. • Type in or modify the web page as shown
  • 12. DNS Service setup of Server1 1. Click DNS 2. Type in these 3. Press the “Add” button. Domain name www.uccn1003.com is now associated with ip 192.168.2.1
  • 14. Testing Connectivity for PC3 PC3 ping gateway (fa0/1 of Router0) PC3 ping PC0
  • 16. Launch Web Browser for PC2 Click on this
  • 17. PC2 Access Web Page in Server1 • PC2 has successfully communicate with the DNS to resolve the domain name www.uccn1003.com • PC2 has successfully access the web page hosted in 192.168.2.1 (Server1)
  • 18. PC1 Access Web Page in Server1 • PC1 unsuccessfully access the web page since the hostname is unresolved. • Need to troubleshoot the DNS mechanism…
  • 19. Troubleshoot PC1: ipconfig • Check PC1 with “ipconfig /all”. • The DNS IP is missing = 0.0.0.0 • Check with nslookup => Not working • PC1 is under dynamic IP • We need to fix it first on the DHCP server. Note: Keep it as a habit that whenever you troubleshoot the network always start with “ipconfig”
  • 20. Fixing the DNS IP in DHCP Change the DNS Server IP from 0.0.0.0 to 192.168.2.1 Remember to click “Save”
  • 21. Request New Dynamic IP in PC1 Renew Dynamic IP Since DNS server IP is added Check again with nslookup on domain name “www.uccn1003.com” PC1 ping web server
  • 22. Launch Web Browser in PC1 • PC1 Successfully access web page www.uccn1003.com
  • 23. PC0 and DNS • Though PC0 can ping DNS, this does not mean you can resolved hostname in the web browser. – Since PC0 doesn’t have the DNS server IP. • PC0 is set under static IP.
  • 24. Launch Web Browser in PC0 Successful !! Key in the DNS IP
  • 25. Conclusion • Through the previous slides, you have been shown step by step, in Packet Tracer on: – Setting up a simple and working network. – Providing HTTP service – Providing DNS service – Providing DHCP service – Setting IP address in PCs and servers – Setting IP address in router – simple testing and troubleshooting • Packet Tracer is just a simulator, it is not 100% real world (around 70% to 80%). – Server configuration has been greatly simplified in Packet Tracer – It helps you to visualize how the network functions – It is a good reference for you in the real world. – You have to find out which part in Packet Tracer is comparable to the real world, and which part is not.