Upload
raj
View
158
Download
0
Tags:
Embed Size (px)
Citation preview
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
William HuSAIT CATC
Eagle Server Practice
Oct., 2007
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 2
Concept & Overview
Installation Options & Process
Explore Services (fix glitches encountered)
Q/A
Eagle ServerIntroduction
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 3
Overview
Top-down approach is used in CCNA Exploration Network Fundamentals course.
A key role of the Eagle server is to provide a range of network services and applications that students can experience in the lab environment without interfering the campus network.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4
Where to get Eagle Server
Eagle Server is available to Cisco Networking Academies from Tools section on the Academy Connection.
This is a downloadable ISO image that is then written to a CD-ROM as an image (not data).
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 5
Eagle (Discovery) Server Concept
Students can access and use applications and services in the Lab as if on the Internet
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 6
Eagle Server Topology
Pre-configured
Students configure
PC hosts to access the
model network and
server
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 7
Student Connection to Topology
Glitch 1: With DHCP enabled on the PC, PC will get IP 172.26.254.1 that conflicts with switch IP.
At the command prompt you type ipconfig /release, then ipconfig /renew to obtain the next IP address from the R2-Central router.
DNS doesn’t map to the addresses obtained via DHCP.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 8
Simplify the Server Topology (Discovery Server) can be used for Eagle Server as well
Host: 1A
192.168.254.10
GW:
Eagle Server
192.168.254.254
GW:192.168.254.253
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 9
My Remote Demonstration Topology
Host: 1A
192.168.254.10
GW:
Eagle Server
192.168.254.254
GW:192.168.254.253
SiSi
Campus
network
Internet
Virtual machine running on my
laptop
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 10
Four Options
1. Bootable CD-ROM downloadable as an ISO image
1.1 Run from the CD
1.2 Run as a permanently installed server on a PC
(Discovery Server option)
2. Downloadable VMware image
2.3 Run from the image in RAM
In the future -
2.4 Run as a virtual server installed on a PC hard disk drive
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 11
Option 1 (For both Eagle & Discovery)
1.1 Bootable CD-ROM (ISO) - Run from the CD
The CD contains a bootable Linux file system.
Runs network services directly from RAM on the PC on which it boots.
Very Flexible:
• PC lab resources can be shared with non-CCNA classes or courses.
• Any available PC meeting the specifications can temporarily act as the server for the duration of the class.
But:
• Any modifications made to the Server are lost when the computer is rebooted.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 12
Option 2 (For both Eagle & Discovery)
1.2 Permanent Server
The file system may be installed on a Linux or Windows FAT partition on the hard disk drive of a PC available to be permanently used as the server.
• A permanent installation enables any modifications made to the server to be retained when the computer is rebooted and re-used in later labs.
• Facilitates local server development and customization.
• Enables local backup copies of IOS images, configurations and class resources to be stored for future use.
But:
• Requires dedicated PC or partition on a PC hard drive.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 13
Option 2: Permanent Server Create and format a 4 GB FAT file system partition (not
NTFS) on a MS Window PC hard drive.
Reboot from the Eagle Server CD.
At the opening screen press <ENTER> . This will load the Linux kernel.
Type menu option installonFAT. Follow the instructions that are displayed. The installation will take approximately 15 minutes, depending on the speed of the CD.
Leave the CD in the tray, required to access the server partition when the computer is rebooted.
When the server is rebooted, press <ENTER> and type menu option runondisk.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 14
Option 3
2.1 Run from the saved VMware image
Compressed VMware image (RAR file) of server ISO
Downloaded and deployed using VMware.
Enables use of different lab and classroom computer resources that are available at different times.
The server runs as virtual server on a PC running VMware Player.
Very flexible, but:
• Requires VMware Player to be installed and running on PC
• Changes made to the server do not persist when the virtual server is restarted.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 15
Option 3: Run VMware from Image Download and install the latest version of WMWare
Player from URL: http://www.vmware.com/download/player/
Download Eagle-Server-version.rar
Open the file in Winrar or Winzip, and drag the Eagle-Server folder to the computer’s desktop
Double-click on folder Eagle-Server
Double-click on the VMWare configuration file, Eagle_Server.vmx
This will start Eagle Server inside VMWare.
Note: Changes will not be persistent because the VMWare image is in ISO format.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 16
Eagle Server Minimum Requirements
CPU: Minimum Pentium 3 or equivalentPentium 4 or equivalent recommended
RAM: Minimum 512 MB1 GB recommended
HDD: Minimum 15 GB4 GB required to install Eagle-server on HDD.
CD-ROM: Minimum 10x CD-ROM Minimum 30x CD-ROM to run from RAM
NIC: 1
OS: Minimum Microsoft Windows 2000
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 17
Before Starting
1. Eagle Server supports only 1 network interface card, eth0.
• Disable built-in wireless NICs in BIOS.
• Cable only eth0 if multiple wired NICs exist.
2. Power sequencing is important
• Configure, at a minimum, router R1-ISP interface Fa0/0 with IP address 192.168.254.253, mask 255.255.255.0 and issue no shutdown.
• Connect a crossover cable between R1-ISP Fa0/0 and the server NIC.
• Power on the router first before starting Eagle Server.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 18
Services Provided
Eagle Server
Domain Name Service
HTTP Web Server
Wiki & Web logs (blogging)
Instant Messaging / IRC
FTP
TFTP
SSH
Discovery Server
Domain Name Service
HTTP Web Server
FTP
SSH
Telnet
DHCP
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 19
Eagle Server Name Service
Eagle Server primary network is 192.168.254.0 /24 on eth0
NAME IP ADDRESS
eagle-server.example.com 192.168.254.254
r1-isp 192.168.254.253
r2-central 172.16.255.254
s1-central 172.16.254.1
Host-1a.example.com 172.16.1.1*
Host-1b.example.com 172.16.1.2*
Host-2a.example.com 172.16.2.1*
Host-2b.example.com 172.16.2.2*
etc, to
Host-11b.example.com 172.16.11.2*
* provided the student lab computer is configured for this IP Address
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 20
Web Server Name Resolution
Eagle Server has a Name Service which maps eagle-server.example.com to 192.168.254.254
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 21
Chapter FTP Resources
Eagle Server supports FTP access.
Instructors can put class files in /var/ftp/pub/eagle_labs/ for student download.
Students can point a web browser at URL
ftp://eagle-server.example.com/pub/eagle_labs/eagle1/chapterX
and download material from the appropriate folder.
For example, folder eagle1/chapter2 contains pcap files for Wireshark.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 22
Software Downloadable from Eagle Server
Wireshark (formerly Ethereal)
Apache Web Server
TWiki
Gaim
Mozilla Thunderbird
*SolarWinds
*TeraTerm
* Must be downloaded from Internet then uploaded to Eagle Server
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 23
Chapter Downloadable Programs
Eagle Server supports FTP access to download programs.
For example, Chapter3 provides:
Thunderbird Setup 1.5.0.9.exe
apache_2.2.4-win32-x86-no_ssl.msi
wireshark-setup-0.99.4.exe .
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 24
Web Server Access to Eagle Server
Eagle Server acts as a web server on TCP port 80.
Instructors can put class web pages in /var/www/html for student access.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 25
Upload a New Home page
Start FTP with username ‘cisco’
Upload a html file (index1.htm) to Eagle-server directory: /var/home/cisco
Go to eagle server change privilege to root by using ‘su’ and password ‘cisco’
Move ‘index1.htm’ to web root directory: /var/www/html/
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 26
Mozilla Thunderbird
Mozilla Thunderbird is an email and news client used with Wireshark to analyze and understand the flow of traffic of the SMTP protocol.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 27
How to Configure email client
Use IMAP mail server to retrieve incoming mail
POP3 is not enable on Eagle server
Configure outgoing server using SMTP
Uncheck “use name and password” in Security and authentication box
Email address must be: [email protected]
Do not use: [email protected]
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 28
How to enable POP3 on Eagle Server
If you want to use POP3 services to retrieve email from Eagle server, POP3 service needs to be enabled first.
I got the following solution from the discussion forum on AC.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 29
How to enable POP3 Service
su (change to super user) password is cisco nano /etc/xinetd.d/ipop3 (opens config file using nano editor) edit the setting called disabled to be no hit CTRL-O (to write the file out) hit enter (to use the exiting name) hit CTRL-X (to exit nano) /etc/rc.d/init.d/xinetd restart (restarts the services so pop3 is active)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 30
TWiki
Wiki creation
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 31
Create New topic on WiKi
Click “Sandbox
Create a new document by name: (Use a topic name in WikiNotation)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 32
Gaim
Instant Messaging
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 33
Wireshark
Formerly known as Ethereal
Packet sniffing software.
Reveals the structure of PDUs
Demonstrates TCP and UDP port numbers.
Source and destination IP and MAC addresses.
Displays FTP, HTTP, DNS, ICMP and ARP transactions.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 34
PING/ARP Captures
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 35
Apache Web Server
Apache is used with Wireshark to capture communications between a host and web server.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 36
TeraTerm
TeraTerm is an alternate terminal program to HyperTerminal.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 37
Solarwinds
TFTP Server Software
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 38
Ejecting Eagle Server CD
Place mouse over the “K” at bottom left of desktop.
Click on logout
Another box will appear with the following choices:
End current session.
Turn off computer.
Restart computer.
Select turn off computer and CD will eject from PC.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 39
Documentation
On Academy Connection Tools:
Eagle Server FAQ
Eagle Server Info
Orientation Lab
CCNA Exploration1 Student Lab Manual–Lab 3.4.3: E-mail Services and Protocols
–Lab 1.6.2 IRC & IM
–Lab 1.6.2 WiKi
–Lab 9.8.1: Address Resolution Protocol (ARP)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 40
Q and A
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 41