<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-198728554863192297</id><updated>2011-11-29T13:00:06.517-08:00</updated><category term='CCNA'/><category term='DBA'/><category term='Cisco'/><category term='Perl'/><category term='Microsoft'/><category term='Oracle'/><category term='ICND1'/><category term='Linux'/><category term='31 days b4 CCENT'/><category term='Networking'/><title type='text'>IT vault</title><subtitle type='html'>Every IT-professional knows that his 'smartest colleague' is often Google. I'd like a place to keep and share those little tips and tricks.

Sometimes I'll be throwing in studynotes when preparing for a certification. My main intrests are Linux, networking and databases.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-8556121878418428571</id><published>2010-03-22T07:56:00.000-07:00</published><updated>2010-03-22T07:56:38.638-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>proxy prevents ppm to access ActiveState Package Repository</title><content type='html'>&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;When you're trying to install packages with Perl Package Manager (ppm) in a Windows environment a proxy will block the connection to it's repository.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Avoid this by setting the &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;environmental variable HTTP_PROXY like this:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;set http_proxy=http://username:password@proxy.net:8080&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-8556121878418428571?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/8556121878418428571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/proxy-prevents-ppm-to-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8556121878418428571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8556121878418428571'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/proxy-prevents-ppm-to-access.html' title='proxy prevents ppm to access ActiveState Package Repository'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-7709635860722868625</id><published>2010-03-22T02:58:00.000-07:00</published><updated>2010-03-22T04:38:50.683-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>checking sessions to an Oracle database</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Checking the maximum number of sessions:&lt;br /&gt;&lt;b&gt;SQL&amp;gt; select name, value from v$parameter where name='sessions';&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Checking the number of currently active sessions:&lt;br /&gt;&lt;b&gt;SQL&amp;gt; select count(*) from v$session;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Looking for blocking sessions:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;SQL&amp;gt; select blocking_session from v$session where blocking_session is not NULL;&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Looking for idle sessions (more than 24 hours in this example):&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;SQL&amp;gt; select username from v$session where username is not NULL and status='inactive' and last_call_et/60/60&amp;gt;=24;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Please note that you'll need to be connected as sysdba!&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Useful links:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;a href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:209412348074#tom26247484939076"&gt;http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:209412348074#tom26247484939076&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-7709635860722868625?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/7709635860722868625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/checking-sessions-to-oracle-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7709635860722868625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7709635860722868625'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/checking-sessions-to-oracle-database.html' title='checking sessions to an Oracle database'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-4601078907158882912</id><published>2010-03-13T12:54:00.000-08:00</published><updated>2010-03-22T02:30:49.132-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>connecting to a database with sqlplus</title><content type='html'>&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Here are some examples:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;b&gt;sqlplus &lt;/b&gt;&lt;a href="mailto:user/password@alias"&gt;&lt;b&gt;user/password@alias&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Here the alias has to be resolved into the full name. This can be done with the tnsnames.ora file or by contacting an LDAP directory. Alternative is to provide all the connect details in line.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;b&gt;sqlplus &lt;/b&gt;&lt;a href="mailto:sys/oracle@orcl"&gt;&lt;b&gt;sys/oracle@orcl&lt;/b&gt;&lt;/a&gt;&lt;b&gt; as sysdba&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;While this is handy it's also a potential security risk. In Linux/Unix it might show up in show processes.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Arial;"&gt;Before 10g you could use quotes like sqlplus "/ as sysdba", now you safely login with &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;sqlplus / as sysdba&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;b&gt;sqlplus /nologon&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;This prevents the immediate login prompt. Afterwards you connect from the SQL prompt:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;b&gt;SQL&amp;gt; connect sys/oracle@orcl as sysdba&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Please note that it's not always necessary to specify the sid.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-4601078907158882912?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/4601078907158882912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/connecting-to-database-with-sqlplus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4601078907158882912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4601078907158882912'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/connecting-to-database-with-sqlplus.html' title='connecting to a database with sqlplus'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-6664392850316883845</id><published>2010-03-09T08:14:00.000-08:00</published><updated>2010-03-09T08:14:57.783-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>listener.ora – tnsnames.ora – alert log</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;listener.ora&lt;/b&gt;&lt;br /&gt;The listener is a server-side process that listens for database connection requests from user processes and launches dedicated server processes to establish sessions. The sessions become the connections between the user process and the database unless shared servers are in use, in which case a dispatcher process is used to share time to shared server processes.&lt;br /&gt;&lt;br /&gt;With local naming the user supplies an Oracle Net service alias for the connect string and this is resolved by a local file into the full network address. This local file is the tnsnames.ora file. There's no need for any relationship between the alias, service name and the instance name - it's recommended to keep them the same! The Service Naming branch of the Net Manager creates or edits the Local Naming tnsnames.ora file that resides in ORACLE_HOME/network/admin directory.&lt;br /&gt;&lt;br /&gt;You can configure several listeners in the listener.ora file but they must all have different names and addresses. Under Windows the listener will run as a Windows service, but there's no need to create the service explicitly; it'll be created implicitly the first time the listener is started.&lt;br /&gt;&lt;br /&gt;A listener finds out about instances by the process of "registration". For static registration, you hard-code a list of instances in the listener.ora file. Dynamic registration means that the instance itself, at startup time, locates a listener and registers with it.&lt;br /&gt;&lt;br /&gt;You can start and stop listeners through Database Control, but there's also a command-line utility lsnrctl.&lt;br /&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The &lt;b&gt;tnsnames.ora &lt;/b&gt;file is a client-side file used for name resolution. It is used by user processes to locate database listeners. It may also be used the instance itself, to locate a listener with which to register.&lt;br /&gt;&lt;br /&gt;TNS stands for Transparent Network Substrate&lt;br /&gt;&lt;br /&gt;The heart of Oracle Net, a proprietary layered protocol running on top of whatever underlying network transport protocol you choose to use - probably TCP/IP.&lt;br /&gt;&lt;br /&gt;The Oracle Net files by default exist in the directory ORACLE_HOME/network/admin. It's possible to relocate them with an environment variable: TNSADMIN. Mainly on systems that have several Oracle Homes. Example on Windows:&lt;br /&gt;&lt;br /&gt;set TNSADMIN=c:\oracle\net&lt;br /&gt;&lt;br /&gt;&lt;b&gt;alert_&lt;oracle sid=""&gt;.log&lt;/oracle&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The standard Oracle alert log location defined by the initialization parameter DIAGNOSTIC_DEST or USER_DUMP_DEST.&lt;br /&gt;&lt;br /&gt;The alert log file, located in the directory specified by the initialization parameter BACKGROUND_DUMP_DEST, contains the most significant routine status messages as well as critical error conditions. When the database is started up or shut down, a message is recorded in the alert log, along with a list of initialization parameters that are different from their default values. In addition, any ALTER DATABASE or ALTER SYSTEM commands issued by the DBA are recorded. Operations involving tablespaces and their datafiles are also recorded here. All error/critical conditions are recorded. The alert log file can be deleted or renamed at any time; it's re-created the next time an alert log message is generated. The trace files for the Oracle instance background processes are also located in BACKGROUND_DUMP_DEST. Trace files are also created for individual user sessions or connections to the database; these are located in the directory specified by the initialization parameter USER_DUMP_DEST. As of Oracle Database 11g Release 1, the diagnostics for an instance are centralized in a single directory specified by the initialization parameter DIAGNOSTIC_DEST.&lt;br /&gt;&lt;br /&gt;The DBA will often set up a daily batch job to rename and archive the alert log on a daily basis.&lt;br /&gt;&lt;br /&gt;The alert log is a continuous record of critical operations applied to the instance and the database. Its location is determined by the instance parameter BACKGROUND_DUMP_DEST, and its name is alert_SID.log where SID is the name of the instance. The alert log entry for a startup shows all the non-default initialization parameters. Locate the file with this command:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL&amp;gt; select value from v$parameter where name='background_dump_dest';&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-6664392850316883845?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/6664392850316883845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/listenerora-tnsnamesora-alert-log.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6664392850316883845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6664392850316883845'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/listenerora-tnsnamesora-alert-log.html' title='listener.ora – tnsnames.ora – alert log'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-7648820871454396234</id><published>2010-03-04T08:16:00.000-08:00</published><updated>2010-03-04T08:24:57.594-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>starting up an instance in different states</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;NOMOUNT&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;startup nomount&amp;nbsp;&lt;/b&gt;&amp;nbsp; &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Start the instance without mounting a database. This does not allow access to the database and usually would be done only for database creation or the re-creation of control files. The database instance has been started using initialization file, processes are started and memory is allocated.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;MOUNT&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;alter database mount&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Start the instance and mount the database, but leave it closed. This state allows for certain DBA activities, but does not allow general access to the database. The instance is started and the control file is opened, read but it's contents are not validated. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;OPEN&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;alter database open&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;startup force restrict&lt;/b&gt;&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Start the instance, and mount and open the database. Normal database operation means that an instance is started and the database is mounted and open. This mode allows any valid user to connect to the database and perform data access operations. This can be done in unrestricted mode, allowing access to all users, or in restricted mode, allowing access for database administrators only. Normal database operation means that an instance is started and the database is mounted and open. This mode allows any valid user to connect to the database and perform data access operations. If the database is opened then control file is validated against the physical structure of database. The database is verified that all of it's file are in consistent state. If any of the file is not in consistent state, we may need some sort of recovery. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Beginning with Oracle Database 11g Release 2, the preferred (and platform-independent) method of configuring automatic startup of a database is &lt;b&gt;Oracle Restart&lt;/b&gt;. Oracle Restart improves the availability of your Oracle database. When you install Oracle Restart, various Oracle components can be automatically restarted after a hardware or software failure or whenever your database host computer restarts. &lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;References:&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?messageID=3750464"&gt;http://forums.oracle.com/forums/thread.jspa?messageID=3750464&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/start001.htm#i1006285"&gt;http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/start001.htm#i1006285&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/restart005.htm#srvstartdb1"&gt;http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/restart005.htm#srvstartdb1&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/restart.htm#BABGIGDB"&gt;http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/restart.htm#BABGIGDB&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-7648820871454396234?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/7648820871454396234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/starting-up-instance-in-different.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7648820871454396234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7648820871454396234'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/starting-up-instance-in-different.html' title='starting up an instance in different states'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-7596966926899839547</id><published>2010-03-04T02:08:00.000-08:00</published><updated>2010-03-04T02:08:39.951-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><title type='text'>ip tcp adjust-mss command</title><content type='html'>&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;While a host will know the MTU of its own interface and possibly that of its peers (from initial handshakes), it will not initially know the lowest MTU in a chain of links to any other peers. &lt;br /&gt;To get around this issue, IP allows fragmentation: dividing the datagram into pieces, each small enough to pass over the single link that is being fragmented for, using the MTU parameter configured for that interface. &lt;br /&gt;RFC 1191 (IPv4) and RFC 1981 (IPv6) describe "Path MTU discovery", a technique for determining the path MTU between two IP hosts. It works by setting the DF (Don't Fragment) option in the IP headers of outgoing packets. Any device along the path whose MTU is smaller than the packet will drop such packets and send back an ICMP "Destination Unreachable (Datagram Too Big)" message containing its MTU. This information allows the source host to reduce its assumed path MTU appropriately. The process repeats until the MTU becomes small enough to traverse the entire path without fragmentation. &lt;br /&gt;Unfortunately, increasing numbers of networks drop ICMP traffic (e.g. to prevent denial-of-service attacks), which prevents path MTU discovery from working. One often detects such blocking in the cases where a connection works for low-volume data but hangs as soon as a host sends a large block of data at a time &lt;br /&gt;Most Ethernet LANs use an MTU of 1500 bytes (modern LANs can use Jumbo frames, allowing for an MTU up to 9000 bytes); however, border protocols like PPPoE will reduce this. &lt;br /&gt;he difference between the MTU seen by end-nodes (e.g. 1500) and the path MTU causes path MTU discovery to come into effect, with the possible result of making some sites behind badly-configured firewalls unreachable. One can possibly work around this, depending on which part of the network one controls; for example one can change the MSS (maximum segment size) in the initial packet that sets up the TCP connection at one's firewall. &lt;br /&gt;&lt;br /&gt;Sometimes the demands of efficiency encourage artificially declaring a reduced MTU in software below the true maximum possible length supported - for example: where an ATM (Asynchronous Transfer Mode) network carries IP traffic. Some providers, particularly those with a telephony background, use ATM on their internal backbone network. &lt;br /&gt;&lt;br /&gt;ATM operates at optimum efficiency when packet length is a multiple of 48 bytes. This is because ATM is sent as a stream of fixed-length packets (known as 'cells'), each of which can carry a payload of 48 bytes of user data with 5 bytes of overhead for a total cost of 53 bytes per cell. Artificially declaring a reduced MTU in software maximises protocol efficiency at the ATM layer by making the ATM AAL5 total payload length a multiple of 48 bytes whenever possible. &lt;br /&gt;RFC 2516 prescribes a maximum MTU for PPPoE/DSL connections of 1492: a PPPoE header of 6 bytes, leaving enough room for a 1488 byte payload, or 31 full ATM cells. &lt;br /&gt;&lt;br /&gt;The TCP MSS Adjustment feature enables the configuration of the maximum segment size (MSS) for transient packets that traverse a router, specifically TCP segments in the SYN bit set, when PPP over Ethernet (PPPoE) is being used in the network. PPPoE truncates the Ethernet maximum transmission unit (MTU) 1492, and if the effective MTU on the hosts (PCs) is not changed, the router in between the host and the server can terminate the TCP sessions. The ip tcp adjust-mss command specifies the MSS value on the intermediate router of the SYN packets to avoid truncation. &lt;br /&gt;&lt;br /&gt;When a host (usually a PC) initiates a TCP session with a server, it negotiates the IP segment size by using the MSS option field in the TCP SYN packet. The value of the MSS field is determined by the maximum transmission unit (MTU) configuration on the host. The default MSS value for a PC is 1500&amp;nbsp;bytes. &lt;br /&gt;The PPP over Ethernet (PPPoE) standard supports a MTU of only 1492 bytes. The disparity between the host and PPPoE MTU size can cause the router in between the host and the server to drop 1500-byte packets and terminate TCP sessions over the PPPoE network. Even if the path MTU (which detects the correct MTU across the path) is enabled on the host, sessions may be dropped because system administrators sometimes disable the ICMP error messages that must be relayed from the host in order for path MTU to work. The ip tcp adjust-mss command helps prevent TCP sessions from being dropped by adjusting the MSS value of the TCP SYN packets. The ip tcp adjust-mss command is effective only for TCP connections passing through the router. In most cases, the optimum value for the max-segment-size argument is 1452 bytes. This value plus the 20-byte IP header, the 20-byte TCP header, and the 8-byte PPPoE header add up to a 1500-byte packet that matches the MTU size for the Ethernet link. &lt;br /&gt;If you are configuring the ip mtu command on the same interface as the ip tcp adjust-mss command, it is recommended that you use the following commands and values: &lt;br /&gt;ip tcp adjust-mss 1452 &lt;br /&gt;ip mtu 1492 &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;XXXNR&amp;gt;&lt;b&gt;enable&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;XXXNR#&lt;b&gt;conf t&lt;/b&gt;&lt;br /&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;br /&gt;XXXNR(config)#&lt;b&gt;interface vlan 104&lt;/b&gt;&lt;br /&gt;XXXNR(config-if)#&lt;b&gt;ip tcp adjust-mss 1250&lt;/b&gt;&lt;br /&gt;XXXNR(config-if)#&lt;b&gt;end&lt;/b&gt;&lt;br /&gt;XXXNR#&lt;b&gt;copy run start&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;References:&lt;/b&gt;&lt;br /&gt;http://www.cisco.com/en/US/docs/ios/12_2t/12_2t4/feature/guide/ft_admss.html&lt;br /&gt;http://en.wikipedia.org/wiki/Maximum_transmission_unit&lt;br /&gt;http://help.expedient.net/broadband/mtu_ping_test.shtml&lt;br /&gt;&amp;gt; MTU Ping Test&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-7596966926899839547?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/7596966926899839547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/ip-tcp-adjust-mss-command.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7596966926899839547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7596966926899839547'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/ip-tcp-adjust-mss-command.html' title='ip tcp adjust-mss command'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-8246197750352308342</id><published>2010-03-02T10:35:00.000-08:00</published><updated>2010-03-02T10:35:53.604-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><title type='text'>client-identifier command</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(dhcp-config)#&lt;strong&gt;client-identifier unique-identifier&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;pecifies the unique identifier for DHCP clients. This command is used for DHCP requests. DHCP clients require client identifiers. The unique identification of the client is specified in dotted hexadecimal notation, for example, 01b7.0813.8811.66, where 01 represents the Ethernet media type. Every request sent from a DHCP client to DHCP servers contains a hardware type and a client hardware address. For Ethernet and 802.11 wireless clients, the hardware type is always 01. The client hardware address is simply the MAC address of the client's network (Ethernet or Wireless) interface. Every request sent from a DHCP client to DHCP servers may optionally also contain a DHCP Client Identifier option. This is an arbitrary value that may be used to identify a client instead of the hardware type and client hardware address. Traditionally, the DHCP Client Identifier (when present) has been set to a value equal to the hardware type followed by the client hardware address. (For example, 01 00 01 02 a0 bc d3.)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router#&lt;strong&gt;conf t&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;ip dhcp pool AccessPoint1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;client identifier 01ab.cdef.ghij.kl&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;client-name AccessPoint1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;References:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html#wp1001108"&gt;http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html#wp1001108&lt;/a&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-8246197750352308342?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/8246197750352308342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/client-identifier-command_02.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8246197750352308342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8246197750352308342'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/client-identifier-command_02.html' title='client-identifier command'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-4090827260592846247</id><published>2010-03-01T10:05:00.000-08:00</published><updated>2010-03-01T10:05:19.030-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Earned my Cisco CCENT</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Today I finally took the Cisco ICND1 exam and passed without any real problems.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;As we're not allowed to discuss it, let me just say that you really need to understand it and get some hands on experience.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-4090827260592846247?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/4090827260592846247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/03/earned-my-cisco-ccent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4090827260592846247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4090827260592846247'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/03/earned-my-cisco-ccent.html' title='Earned my Cisco CCENT'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-9130889766886046073</id><published>2010-02-28T02:37:00.000-08:00</published><updated>2010-02-28T15:14:10.715-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 1: ICND1 Last Review (WAN basics, NAT/PAT terminology and RIP)</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;My ICND1 exam is booked on monday but I didn't have much time this week so I'll focus mainly on WAN connections, namings in NAT/PAT&amp;nbsp;and RIP.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;There are two major categories for WANs:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Dedicated&lt;/strong&gt;: point-point lines provide a preestablished WAN communications path from the customer premises through the provider network to a remote destination. Usually leased from a carrier and obviously called leased lines.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Switched&lt;/strong&gt;: &lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Circuit-Switched&lt;/strong&gt;: dynamically establishing a dedicated virtual connection. Before communication can start it's necessary to establish the connection through the network of the service provider. Examples are &lt;strong&gt;PSTN&lt;/strong&gt; and &lt;strong&gt;DSL&lt;/strong&gt; (I know it's also a bit packet-switched but for the exam I'll keep it to this).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Packet-Switched&lt;/strong&gt;: because data flow fluctuates (nobody uses 100% bandwith all the time) so in these networks the data is transmitted in labeled cells, frames or packets. There's no dedicated path between source and destination endpoints, allowing for the sharing of connection links and common carrier resources for data transmission. The carrier can create virtual circuits between customer sites. When the customer is not using the full bandwith on its virtual circuit, the carrier, through statistical multiplexing, can make the unused bandwith available to another customer. Examples are &lt;strong&gt;Cable, Frame Relay&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Cell-Switched&lt;/strong&gt;: an example is &lt;strong&gt;ATM &lt;/strong&gt;and it uses small fixed-size cells of 53 bytes (48 bytes for data).&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;NAT&lt;/strong&gt; connects two networks together and translates the private addresses&amp;nbsp;(&lt;strong&gt;inside local&lt;/strong&gt;) in the internal network into public addresses (&lt;strong&gt;inside global&lt;/strong&gt;) before packets are forwarded to another network. The &lt;strong&gt;inside network&lt;/strong&gt; is the set of networks that are subject to translation, the &lt;strong&gt;outside network&lt;/strong&gt; refers to all other addresses.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;inside local address&lt;/strong&gt;: the IP address assigned to a host on the inside network, likely not assigned by the NIC or service provider.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;inside global address&lt;/strong&gt;: a legitimate IP address assigned by the NIC or service provider that represents one or more inside local IP addresses to the outside world.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;outside local address&lt;/strong&gt;: the IP address of an outside host as it appears to the inside network, not necessarily legitimate, it's allocated from an address space routable on the inside.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;outside global address&lt;/strong&gt;: the IP address assigned to a host on the outside network by the host owner. This address is allocated from a globally routable address or network space.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;You can verify the NAT and PAT configuration by using&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show ip nat translation&lt;/strong&gt; to display active translations and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;clear ip nat translation * &lt;/strong&gt;to clear all dynamic address translation entries (they'll time out after 24 hours by default).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Static routes&lt;/strong&gt; are commonly used when you're routing from a network to a &lt;strong&gt;stub network&lt;/strong&gt;. This stub network or leaf node is a network accessed by a single route. They can also be useful for specifying a "gateway of last resort" to which all packets with an unknown destination address will be sent. Obviously the static route must be configured in &lt;strong&gt;both &lt;/strong&gt;directions for end-to-end connectivity. An example:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial;"&gt;ip route 172.16.1.0 255.255.255.0 172.16.2.1&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Don't mix it up with default route, for this you also give the IP address of the next-hop router to be &lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;used as default for packet forwarding, an example:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;ip route 0.0.0.0 0.0.0.0 172.16.2.2&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The&lt;strong&gt; ip classless&lt;/strong&gt; command&amp;nbsp;tells the route not to drop packets that are destined for a network that's not in the routing table, but to use the default route instead. If you don't use the ip classless command, packets like that would be dropped before being sent to the default route. (ip classless is on by default in IOS 12.x.).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;It's recommended to set the &lt;strong&gt;bandwith&lt;/strong&gt; command on the serial interface, this&amp;nbsp;provides a minimum bandwith guarantee during congestion (used by some routing protocols). It has no effect on the actual speed of the line. Bandwith refers to the rate at which data is transferred over the communication link.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1DS0 = 64 kb/s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;24DS0s = DS1 or T1 = 1.544 Mb/s&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;show controller&lt;/strong&gt; command displays information about the physical interface itself. Very useful to termine the type of cable connected to the serial interface. Please note that this information is determined when the router initially starts!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;High-Level Data Link Control (HDLC)&lt;/strong&gt; protocol specifies an encapsulation method for data on synchronous serial data links using frame character and checksum. HDLC supports both point-to-point and multipoint configurations and includes a means for authentication. HDLC may not be compatible between vendors from different vendors. There's a Cisco implementation of HDLC which is the default encapsulation for serial lines, as you probably know it doesn't show up in running-config! Cisco HDLC has no windowing or flow control, and only point-to-point connections are allowed. The Cisco HDLC implementation includes proprietary extensions in the data field to allow multiprotocol support at a time before PPP was specified. Use ppp when interoperability is required.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Routing protocols&lt;/strong&gt; (like RIP, EIGRP) are used between routers to determine paths and maintain routing tables. After the path is determined, a router can route a &lt;strong&gt;routed protocol&lt;/strong&gt; (like IP).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;An &lt;strong&gt;autonomous system&lt;/strong&gt; is a collection of networks under a common administrative domain. IGPs operate within an autonomous system and EGPs connect different autonomous systems.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Classful routing protocols&lt;/strong&gt; do not include the subnet mask with the route advertisements (most distance vector routing protocols). When a classful routing protocol is used, all subnetworks of the same major network must use the same subnet mask. Routers that are running a classful routing protocol perform automatic route summarization accross network boundaries. When receiving a routing update packet, the router will apply the default classful mask if the routing update information contains a major network that is&lt;/span&gt;&lt;span style="font-family: Arial;"&gt;&amp;nbsp;different! If the routing update information contains the same major network number as is configured on the receiving interface, the router applies the subnet mask that is configured on the receiving interface.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Classless routing protocols&lt;/strong&gt; include the subnet mask with the route advertisement, they support &lt;strong&gt;variable-length subnet mask (VLSM)&lt;/strong&gt;. The summarization process is controlled manually and can usually be invoked at any bit position with in the address. Manual summarization may be required to keep the size of the routing tables manageable.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;RIP&lt;/strong&gt; is capable of load-balancing over as many as 16 equal-cost paths (default = 4). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;RIPv1&lt;/strong&gt;: classful, no VLSM, subnet mask is not send, broadcast, no manual route summarization and no authentication support.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;RIPv2&lt;/strong&gt;: classless, VLSM, subnet mask is sent, multicast, manual route summarization, authentication support.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;router rip&lt;/strong&gt; command starts the RIP routing process.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;version 2&lt;/strong&gt; enables RIP version 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;network 10.0.0.0&lt;/strong&gt; selects the participating attached networks and requires a major classful network number!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Use the &lt;strong&gt;show ip protocols&lt;/strong&gt; command to display values about routing protocols and the routing protocol timer information associated with the routers. Important values is the &lt;strong&gt;flushed&lt;/strong&gt; field (240 seconds) which specifies the time after which the individual routing information will be thrown out. The &lt;strong&gt;hold down&lt;/strong&gt; (180 seconds) field: an update to a route that was down and is now up will stay in the hold down (possibly down) state until 180 seconds have passed.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-9130889766886046073?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/9130889766886046073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-1-icnd1-last-review-wan-basics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/9130889766886046073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/9130889766886046073'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-1-icnd1-last-review-wan-basics.html' title='Day 1: ICND1 Last Review (WAN basics, NAT/PAT terminology and RIP)'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-3792575812587391314</id><published>2010-02-19T02:23:00.000-08:00</published><updated>2010-02-22T13:54:05.089-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>show users - show sessions</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If you want to see who's logged onto a router, use command&lt;b&gt; show users&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;BE-607NR01#&lt;b&gt;show users&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Line&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Host(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Idle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location&lt;br /&gt;*&amp;nbsp; 6 vty 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; admin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00 10.32.20.1&lt;br /&gt;&amp;nbsp;&amp;nbsp; 7 vty 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; admin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:22 10.32.20.7&lt;br /&gt;&lt;br /&gt;&amp;nbsp; Interface&amp;nbsp;&amp;nbsp;&amp;nbsp; User&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Idle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Peer Address&lt;br /&gt;&amp;nbsp; Vi3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPPoATM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00 80.1.2.2&lt;br /&gt;&lt;br /&gt;This shows the open sessions to your router. The line with the * is the current session, where we used the command. If you want to kill an open Telnet session, use command &lt;b&gt;clear line &lt;i&gt;x&lt;/i&gt;&lt;x&gt;&lt;/x&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/5.x/command/reference/sh_ti_tr.html#wp1028456"&gt;http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/5.x/command/reference/sh_ti_tr.html#wp1028456&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To see the active sessions from your remote device, use command &lt;b&gt;show sessions&lt;/b&gt;&lt;br /&gt;If you enter a sessionnumber you'll access it, use &lt;b&gt;disconnect &lt;/b&gt;to leave. &lt;br /&gt;&lt;b&gt;Ctrl-Shift-6-x&lt;/b&gt; brings you back, it also suspends Telnet/SSH sessions.&lt;br /&gt;&lt;br /&gt;XX-001NR01#&lt;b&gt;show sessions&lt;/b&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;% No connections open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Another useful command is &lt;b&gt;show line&lt;/b&gt; which gives a nice overview. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-3792575812587391314?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/3792575812587391314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/show-users-show-sessions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3792575812587391314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3792575812587391314'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/show-users-show-sessions.html' title='show users - show sessions'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1771551962683703811</id><published>2010-02-18T03:03:00.000-08:00</published><updated>2010-02-18T03:04:41.755-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>dash shell</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Just noticed that Ubuntu Server 9.10 has &lt;b&gt;dash&lt;/b&gt; for default shell.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;In case you're wondering what it is:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;dash stands for &lt;b&gt;D&lt;/b&gt;ebian &lt;b&gt;A&lt;/b&gt;lmquist &lt;b&gt;sh&lt;/b&gt;ell en is a POSIX-compliant implementation of /bin/sh that aims  to be as small as possible.  It does this without sacrificing  speed where possible.  In fact, it is significantly faster  than bash (the GNU Bourne-Again SHell) for most tasks. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If you want to figure your current shell, the command is&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;echo $0&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Changing the default shell can be done by the command &lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;ln -sf /bin/bash /bin/sh&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;-s symbolic links instead of hard links&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;-f force&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Useful links:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Debian_Almquist_shell"&gt;http://en.wikipedia.org/wiki/Debian_Almquist_shell&lt;/a&gt;&lt;/div&gt;&lt;a href="http://en.wikipedia.org/wiki/POSIX"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;http://en.wikipedia.org/wiki/POSIX&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1771551962683703811?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1771551962683703811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/dash-shell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1771551962683703811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1771551962683703811'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/dash-shell.html' title='dash shell'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-550476044755390835</id><published>2010-02-16T12:04:00.000-08:00</published><updated>2010-02-28T15:16:36.254-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 2: Studying Sample Exam Questions</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;I'm probably not gonna be able to take the exam this weekend plus I'm booked for an Oracle course next week so I'll spend some extra time studying sample exam questions. This is gonna be an overview of interesting questions (for me) collected from various books and sites to review just before exam day.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;This post will be updated till I take (and pass) the exam...&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;It is not possible to obtain &lt;strong&gt;CDP information about a remote device&lt;/strong&gt;. Don't answer that you can use SSH or Telnet.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;A&lt;strong&gt; CDP update packet&lt;/strong&gt; has platform and device identifiers information.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show cdp entry * &lt;/strong&gt;produces the same result as the &lt;strong&gt;show cdp neighbors detail &lt;/strong&gt;command.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show cdp interface &lt;/strong&gt;displays the frequency at which packets are sent, encapsulation type and holdtime for an interface where CDP is enabled. &lt;strong&gt;show cdp traffic &lt;/strong&gt;displays CDP packet checksum errors. This is an &lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;example (thx to David L. from CLN):&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1R1#&lt;strong&gt;show cdp interface&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FastEthernet0/0 is up, line protocol is down&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Encapsulation ARPA&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sending CDP packets every 60 seconds&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Holdtime is 180 seconds&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FastEthernet0/1 is administratively down, line protocol is down&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Encapsulation ARPA&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sending CDP packets every 60 seconds&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Holdtime is 180 seconds&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial0/0/1 is up, line protocol is up&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Encapsulation HDLC&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sending CDP packets every 60 seconds&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Holdtime is 180 seconds&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1R1#&lt;strong&gt;show cdp traffic&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CDP counters :&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total packets output: 38, Input: 34&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hdr syntax: 0, Chksum error: 0, Encaps failed: 0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No memory: 0, Invalid packet: 0, Fragmented: 0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CDP version 1 advertisements output: 0, Input: 0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CDP version 2 advertisements output: 38, Input: 34&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;ROMMON&lt;/strong&gt; is a low-level os normally used for manufacturing testing and troubleshooting. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;If the &lt;strong&gt;boot field&lt;/strong&gt; value is 0x2 then the router will check the startup-config file for boot system commands. The boot field is the low-order 4 bits of the configuration register in a Cisco router. the value in part tells the router where to look for a Cisco IOS image to load.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;On most routers, the &lt;strong&gt;Cisco IOS software is loaded&lt;/strong&gt; into RAM to run, but on some routers it's run directly from flahs memory.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show flash&lt;/strong&gt; displays the amount of memory that's available where the IOS image is stored, don't mix this up with show run!&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;service timestamps&lt;/strong&gt; command is used to add time stamps to a debug or log message.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;application layer&lt;/strong&gt; is the most diverse area of the OSI model and the TCP/IP stack.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-550476044755390835?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/550476044755390835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-2-studying-sample-exam-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/550476044755390835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/550476044755390835'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-2-studying-sample-exam-questions.html' title='Day 2: Studying Sample Exam Questions'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-8931556856592085803</id><published>2010-02-15T13:11:00.000-08:00</published><updated>2010-02-15T13:11:47.202-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 3: WAN Connections</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;A &lt;strong&gt;telecommunications service provider (TSP)&lt;/strong&gt; can offer these WAN connection types:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Point-to-Point Protocol (PPP)&lt;/strong&gt;: a specific dedicated path through the TSP network that connects two LANs over a large geographic area. Typically leased lines.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Circuit-switched&lt;/strong&gt;: allows the client to create and close connections over the TSP network. Think of the operation as phone call. Examples are ISDN or dialup network access.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Packet-switched&lt;/strong&gt;: a client uses a software-managed virtual circuit over a shared connection. Examples are Frame Relay.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;After connecting your router or &lt;strong&gt;customer premises equipment (CPE)&lt;/strong&gt; device to the &lt;strong&gt;Channel Service Unit/Data Service Unit (CSU/DSU)&lt;/strong&gt; provided by the ISP, you need to configure the interface on the router. If its a serial interface, the CSU/DSU provides the &lt;strong&gt;clock rate&lt;/strong&gt; as the &lt;strong&gt;data circuit-terminating equipment (DCE)&lt;/strong&gt; and your router acts as the &lt;strong&gt;data terminal equipment (DTE)&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The Cisco default encapsulation for a serial interface is &lt;strong&gt;High-Level Data Link Control (HDLC)&lt;/strong&gt;.&amp;nbsp;This is a &lt;strong&gt;Data Link layer protocol&lt;/strong&gt; used to encapsulate and transmit packets over point-to-point links. It handles the transfer of data in full duplex, as well as link management functions. As an OSI standard, many vendors implement the HDLC protocol in their equipment. These are usually not interoperable. This is because the Cisco HDLC frame uses a &lt;strong&gt;proprietary "Type" field&lt;/strong&gt; that may not be compatible with equipment of other vendors. When the HDLC frame format was defined, it did not enclude a field to identify the Network layer protocol that it was framing. As such, the OSI version of HDLC assumes that any link using HDLC is running only a single Network layer protocol like IP. This has led vendors to implement HDLC using&amp;nbsp;a proprietary frame format that includes a type code field, thus allowing the Network layer protocol within a frame to be identified. Because of this proprietary nature, you should only use HDLC framing on point-to-point links when the routers at each end of a link is from the same vendor. In cases where you want to connect equipment from different vendors over a leased line, the &lt;strong&gt;Point-to-Point protocol (or PPP)&lt;/strong&gt; should be used. Always remember that the router on both sides of a ppp link must be using the same data framing method in order to communicate.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Arial;"&gt;You can change the encapsulation to &lt;strong&gt;PPP&lt;/strong&gt; as a more flexible, nonpropietary encapsulation. PPP supports authentication in clear-text &lt;strong&gt;Password Authentication Protocol (PAP)&lt;/strong&gt; or encrypted &lt;strong&gt;Challenge Handshake Authentication Protocol (CHAP)&lt;/strong&gt;. A router can also use &lt;strong&gt;Frame Relay&lt;/strong&gt; as an encapsulation. Frame Relay virtual circuits use HDLC encapsulation and each circuit is identified by a &lt;strong&gt;data link connection identifier (DLCI)&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;You can use the &lt;strong&gt;encapsulation&lt;/strong&gt; command in interface configuration mode. An example is &lt;strong&gt;encapsulation ppp&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;HDLC and PPP are layer 2 protocols. HDLC is actually the default protocol on all Cisco serial interfaces. If you do a show run on a Cisco router, your serial interfaces will have no encapsulation by default (it's HDLC)! Use a show interface serial ... to see that you're running HDLC.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;You can select one of the following address types for a serial WAN connection:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A static&lt;/strong&gt; &lt;strong&gt;IP address&lt;/strong&gt; allows the administrator to manually enter the IP address and subnet mask.&amp;nbsp;Available for PPP,&amp;nbsp;Frame Relay and HDLC.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;IP unnumbered&lt;/strong&gt; sets the interface to match the IP address of another enabled interface on the router. Available for PPP, Frame Relay and HDLC.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;IP negotiated &lt;/strong&gt;is available for PPP and allows the router to obtain address information automatically from the ISP.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-8931556856592085803?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/8931556856592085803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-3-wan-connections.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8931556856592085803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8931556856592085803'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-3-wan-connections.html' title='Day 3: WAN Connections'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-952449420023091825</id><published>2010-02-15T12:46:00.000-08:00</published><updated>2010-02-15T12:46:34.754-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 4: Security Applications</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Besides antivirus, antispam and antispyware software you should make use of a&amp;nbsp;&lt;strong&gt;firewall&lt;/strong&gt;. This&amp;nbsp;can come packaged as a standalone security appliance, a server-based firewall that installs on a network operating system (NOS), a module that can be installed or is integrated inside an existing router, or a personal firewall that installs on a network host. Firewalls are installed between two networks and can control traffic in the following ways:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Filter traffic&lt;/strong&gt; based on destination and source IP address or MAC address, block websites based on url or keywords, and filter traffic based on the type of application used for network transmission.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Inspect incoming traffic and ensure that each incoming packet is a response to a legitimate outgoing request. This &lt;strong&gt;stateful packet inspection (SPI)&lt;/strong&gt; can prevent DoS attacks.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Firewalls can also provide &lt;strong&gt;network address translation (NAT)&lt;/strong&gt; for additional security on an internal network.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;A firewall can protect users on the intranet but some network devices may need greater access. Servers outside the internal network protected by another firewall are in the &lt;strong&gt;demilitarized zone (DMZ)&lt;/strong&gt;. This is typically an area more secure than a direct connection to the Internet lcoated between an internal and external firewall. When setting up a smaller network, you can create a subnet and configure a single integrated router/firewall to provide DMZ levels of security to only specific devices. A standard DMZ allows incoming requests on standard server ports like 80, 21 and 110 (POP3). I bet you know the other two :)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;On larger networks you usually design firewall security in layers. Border routers filter packets and route traffic to the DMZ or an internal firewall. The internal firewall only allows outside traffic that was specifically requested by an internal device. Additional internal firewalls may seperate and protect sensitive areas. These can provide an extra layer of security in case an internal host is infected.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Short overview of two types of sensors available to detect and prevent network intrusions:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Intrusion Detection Systems (IDS)&lt;/strong&gt;: monitors traffic on one port and notifies a management station. Can detect only the first malicious transmission but can reconfigure the router to block future attacks. Used on the network perimeter in front of a firewall to analyze attacks or behind a firewall to detect firewall configuration issues.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Intrusion Prevention Systems (IPS)&lt;/strong&gt;: traffic passes through the IPS in one port and out another which filters suspicious traffic in real time. Can examine the entire data packet from L7 to&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; L2. Usually placed behind a firewall to further examine packets destined for the internal network.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Both are implemented as software (Cisco IOS ISP), hardware and Adaptive Security Appliance (ASA).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;N&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;etwork security can also be improved by:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Authentication&lt;/strong&gt; requires users to verify their identity with a username and password using a RADIUS or TACACS server.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Authorization&lt;/strong&gt; limits access for users based on rights assigned to the user account by the administrator.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Accounting&lt;/strong&gt; tracks user network activity and application use.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-952449420023091825?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/952449420023091825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-4-security-applications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/952449420023091825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/952449420023091825'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-4-security-applications.html' title='Day 4: Security Applications'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1748459081487555805</id><published>2010-02-15T11:42:00.000-08:00</published><updated>2010-02-15T11:42:51.588-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 5: Security Threats</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;These are some common techniques that focus on the user as the weak link:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Pretexting&lt;/strong&gt;: an attacker masquerades as the helpdesk or creates a legitimate-sounding scenario to convince the user to reveal sensitive network information.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Phishing&lt;/strong&gt;: an attacker sends an email posing as a legitimate organization and requests verification of account username and passwords.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Vishing/phone phishing&lt;/strong&gt;: an attacker uses Voice over Internet Protocol (VoIP) to leave a message with a user that claims to be from a banking service with a callback number.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Attackers can also use software in many forms to gain access to a network:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Virus&lt;/strong&gt;: typically attached to and activated within another legitimate program.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Worm&lt;/strong&gt;: runs independently to send copies of itself.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Trojan horse:&lt;/strong&gt; looks like a legitimate program to trick the user into intalling.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Denial of service (DoS)&lt;/strong&gt;: attackers also use bandwith and available connections to affect the network's operation. A DoS attack floods a network or server with traffic, preventing any legitimate connections or use.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Overview of various Network Service Attacks:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;DoS&amp;nbsp;- &lt;strong&gt;Synchronous (SYN) flooding&lt;/strong&gt;: flooding a server with requests from a fake IP address and cause the server to use resources responding to these requests.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;DoS - &lt;strong&gt;Ping of death&lt;/strong&gt;: attackers send a ping greater than the maximum allowed and causes a system to shut down.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;DDoS - &lt;strong&gt;Distributed Denial of Service&lt;/strong&gt;: attackers use multiple hosts to attack a single server or servcie. Usually there'll be botnets used to attack a target site.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Brute force&lt;/strong&gt;: repeated attempts to crack usernames/passwords with software that uses combinations.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Besides all these there are also spyware, cookies, spam, even randomware nowadays:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;a href="https://patrickwbarnes.com/blog/2009/11/on-borrowed-time-the-threat-of-ransomware/"&gt;https://patrickwbarnes.com/blog/2009/11/on-borrowed-time-the-threat-of-ransomware/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Don't forget that internal users can also (un)intentionally harm a network and an ISP should be the first line of defence!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Here are some &lt;strong&gt;common methods for protecting our networks&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Patch&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Update &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Virus protection&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Spyware protection&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Spam blocker&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Popup blocker&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Firewall&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1748459081487555805?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1748459081487555805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-5-security-threats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1748459081487555805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1748459081487555805'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-5-security-threats.html' title='Day 5: Security Threats'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1026039277744462381</id><published>2010-02-15T09:48:00.000-08:00</published><updated>2010-02-15T09:48:55.967-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><category scheme='http://www.blogger.com/atom/ns#' term='CCNA'/><title type='text'>Day 6: Wireless Security</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;A network administrator shoudl implement the following security features on a WLAN during initial setup (mind you they're easily avoided):&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Disable SSID broadcast.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Change default settings.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Enable MAC address filtering.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;We can implement authentication for the WLAN (by username or password). This will occur before MAC filtering and there are three types of wireless authentication:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Open authentication&lt;/strong&gt;: all clients can connect to the WLAN.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Preshared keys (PSK)&lt;/strong&gt;: both AP and client are configured with the same key. This is a one-way authentication because the AP doesn't authenticate with the host (user doesn't have to authenticate).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Extensible Authentication Protocol (EAP)&lt;/strong&gt;: the EAP software on the client communicates with an authentication server as RADIUS which maintains a database of users separate from the AP. 802.1x can also provide AP security through user authentication (EAP).&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family: Arial;"&gt;Its obvious that we need to protect transmission by using some form of WLAN encryption:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Wired Equivalent Privacy&amp;nbsp;- WEP &lt;/strong&gt;key&amp;nbsp;is 64 to 256 bits but all devices (including AP) must have the same &lt;strong&gt;manually configured static key&lt;/strong&gt; to understand transmissions. This is easily avoided nowadays with hacking software.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Wi-Fi&amp;nbsp;Protected Access (WPA)&lt;/strong&gt; is also 64 to 256 but&amp;nbsp;has a more secure encryption because it rotates keys. WPA uses &lt;strong&gt;TKIP (temporal key integrity protocol)&lt;/strong&gt; to generate new keys for clients and rotate them at a configurable interval, both client and AP have the key. Remember that WPA dynamically generates a different key with each client communication with the AP. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;802.11i/WPA2 &lt;/strong&gt;is a better version that uses &lt;strong&gt;advanced encryption standard (AES)&lt;/strong&gt; technology.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;WPA is a more powerful security technology for Wi-Fi networks than WEP. It provides strong data protection by using encryption as well as strong access controls and user authentication. WPA utilizes 128-bit encryption keys and dynamic session keys to ensure your wireless network's privacy and enterprise security. There are two basic forms of WPA: WPA Enterprise (requires a Radius server) and WPA Personal (also known as WPA-PSK). Either can use TKIP or AES for encryption. Not all WPA hardware supports AES. WPA-PSK is basically an authentication mechanism in which users provide some form of credentials to verify that they should be allowed access to a network. This requires a single password entered into each WLAN node. As long as the passwords match, a client will be granted access to a WLAN. Encryption mechanisms used for WPA and WPA-PSK are the same. The only difference between the two is in WPA-PSK, authentication is reduced to a simple common password, instead of user-specific credentials. The Pre-Shared Key (PSK) mode of WPA is considered vulnerable to the same risks as any other shared password system - dictionary attacks for example. Another issue may be key management difficulties such as removing a user once access has been granted when the key is shared among multiple users, not likely in a home environment.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Consider these points when planning/troubleshooting a WLAN:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Signal: 802.11b/g/n have a larger coverage area than 802.11a. Generally speaking: the more data rates the lower the coverage area. There's also interference and reflection (RF waves bounce off metal or glass surfaces).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Standards: be careful with backward-compatibility, some AP's don't support the 5 GHz frequency (802.11a).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Bandwith: all users share the same bandwith on a BSS.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Association: make sure that the SSID is correct on clients and AP.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Total cost of ownership (TCO).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Channels and correct&amp;nbsp;placing.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Authentication/security.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1026039277744462381?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1026039277744462381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-6-wireless-security.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1026039277744462381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1026039277744462381'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-6-wireless-security.html' title='Day 6: Wireless Security'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-150330568936037232</id><published>2010-02-15T09:25:00.000-08:00</published><updated>2010-02-15T09:25:04.256-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><category scheme='http://www.blogger.com/atom/ns#' term='CCNA'/><title type='text'>Day 7: Wireless Standards</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Wireless devices use &lt;strong&gt;electromagnetic waves&lt;/strong&gt; as the physical media for&amp;nbsp;data transmission. &lt;strong&gt;Infrared (IR)&lt;/strong&gt;&amp;nbsp; transmits over short distances, &lt;strong&gt;radio frequency (RF)&lt;/strong&gt; waves can be used for "real networking". The &lt;strong&gt;Industrial, Scientific and Medical (ISM) bands&lt;/strong&gt; are free to use by unlicensed devices for communication:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;900 MHz&lt;/strong&gt; (902 to 928 MHz) supports devices such as wireless headphones and cordless phones.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;2.4 GHz&lt;/strong&gt; (2.400 to 2.4835) supports lower-speed, short-range Bluetooth as well as wireless LAN technologies compliant with IEEE 802.11 standards. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;5 GHz&lt;/strong&gt; (5.725 to 5.850) supports IEEE 802.11 standards at a higher power level, providing a wider range and increased speeds.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Unfortunately Wireless LANs can interfere with each other.&amp;nbsp;Reduced cost and increased&amp;nbsp;mobility are major advantages.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;We can define wireless networks in three categories:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;WPAN - wireless personal-area network&lt;/strong&gt;: these include PDAs, mice, keyboards and other short-range IR or Bluetooth devices.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;WLAN - wireless local-area network&lt;/strong&gt;: typically the wireless portion of a LAN that uses RF technology and IEEE 802.11 standards. An access point (AP) usually provides connectivity fro the wireless clients to the wired Ethernet network.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;WWAN&amp;nbsp;- wireless wide-area network&lt;/strong&gt;: networks that can use cell phone technologies such as Global System for Mobile Communication (GSM) or Code Division Multiple Access (CDMA) to cover large geographic areas.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;Wireless Fidelity (Wi-Fi) Alliance&lt;/strong&gt; tests wireless devices from different manufacturers and ensures that each device meets standards and will function with devices using the same standards. So its a global, nonprofit industry trade assocation devoted to promoting the growth and acceptance of wireless LANs. The IEEE 802.11 standard governs implementations of WLANs.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE 802.11 Wireless LAN Standards&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;802.11&lt;/strong&gt;: This original standard was released in 1997 and supports a 2 Mbps data rate over the 2.4 GHz frequency. A maximum range is undefined.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;802.11a&lt;/strong&gt;: This amendment was released in 1999 and supports a 54 Mbps data rate over the 5 GHz frequency. The maximum range is estimated at about 50 meters. Interesting sidenote is that this didn't make due to shortage of material at the time, so 802.11b made it.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;802.11b&lt;/strong&gt;: released at the same time as 802.11a and made it despite supporting an 11 Mbps data rate over the 2.4 GHz frequency. Maximum range is estimated at about 100 meters.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;802.11g&lt;/strong&gt;: This amendment was released in 2003 and supports a 54 Mbps data rate over the 2.4 GHz frequency. Maximum range is estimated at about 100 meters. 802.11g is backwards compatible with 802.11b!&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;802.11n&lt;/strong&gt;: This is a recent amendment (october 2009) and adds multiple-input and multiple output (MIMO). 802.11n is backwards compatible with 802.11a, 802.11b and 802.11g!&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;A wireless networks consists of the following components:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Wireless clients&lt;/strong&gt; or wireless stations (STA) are devices that participate in a wireless network.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Wireless access point (AP)&lt;/strong&gt; provides connectivity between a wired and wireless network by converting Ethernet frames into 802.11-compliant frames or vice versa. APs support connectivity in a &lt;strong&gt;basic service set (BSS)&lt;/strong&gt; or limited area.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Wireless bridge &lt;/strong&gt;provides connectivity between two wired networks with a wireless link - typically a long-range ppp connection over RF frequencies.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Wireless antenna&lt;/strong&gt; can be a directional antenna that concentrates the signal in one direction or an omnidirectional antenna that increases the signal in all directions. Antennas increase signal strength or gain an can increase distances.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;A WLAN is located with a &lt;strong&gt;Service Set Identifier (SSID)&lt;/strong&gt;. This is a 32-character, case-sensitive, alphanumeric string located in the header of WLAN frames. WLANs can be set up in od-hoc or infrastructure mode:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Ad-hoc&lt;/strong&gt;: &lt;strong&gt;Independent basic service set (IBSS)&lt;/strong&gt; in which devices communicate with each other and are not part of a network. This is a simple peer-to-peer connection among clients to exchange files and data without an access point.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Infrastructure&lt;/strong&gt;: BSS in which a group of devices are connnected to an AP. Devices cannot communicate directly; connectivity is centralized, controlle and directed by an access point.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Multiple BSS access points can be connected by a &lt;strong&gt;distribution system (DS)&lt;/strong&gt; to form an &lt;strong&gt;extended service set (ESS)&lt;/strong&gt;. To create it, each BSS AP's range must overlap by 10 to 15 percent! This allows a client to move through the ESS without a loss of signal. The ability to shift data rates allows a client to communicate while moving! &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Another important aspect is to use different channels for efficient communicatino. Multiple AP's can overlap in range and divide the available RF spectrum by using separate channels (for example 1-6-11). &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Wireless networks use an access method called &lt;strong&gt;Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA)&lt;/strong&gt;. These points define this process and how a client can reserve a channel:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;A device on a BSS asks permission from the AP to communicate in the form of a request to send (RTS).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;If the channel's available, the AP responds with a clear to send (CTS) message.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;The CTS is broadcast to all devices on the BSS so that all devices know that the channel is in use or that a reservation is in place on the channel.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;When the communication is complete, the sending device sends an acknowledgement (ACK)&amp;nbsp; to the AP, saying that the channel can be released. This ACK is also broadcast to all devices on the BSS to indicate that the channel is available.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;The following common parameters must be configured on a wireless access point to provide connectivity:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Wireless or network mode&lt;/strong&gt;: can be 802.11a , 802.11b, 802.11g, 802.11n or mixed mode.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;SSID or network name&lt;/strong&gt;: all devices connected to the WLAN must have the same SSID. It may be a good idea to disable broadcast of the SSID. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Wireless channel&lt;/strong&gt;: you can manually configure a channel that doesn't overlap with nearby BSSs or you can allow the AP to automatically find the best channel.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-150330568936037232?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/150330568936037232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-7-wireless-standards.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/150330568936037232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/150330568936037232'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-7-wireless-standards.html' title='Day 7: Wireless Standards'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-7627357029225410811</id><published>2010-02-15T05:29:00.000-08:00</published><updated>2010-02-15T05:29:41.696-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 8: Network Status Verification</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Show commands are important in ICND1 so I'll describe some common commands to verify network status:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show running-config&lt;/strong&gt;: displays running configuration form RAM on the router.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show interfaces&lt;/strong&gt;: displays information about the router interfaces, including encapsulation, address configuration and whether the interface is up or down. I use this one a lot!&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show arp&lt;/strong&gt;: displays any address resolution protocol entries learned by the router.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show ip route&lt;/strong&gt;: displays routes manually configured or dynamically discovered by the router.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show users&lt;/strong&gt;: displays any users connected to the router.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show version&lt;/strong&gt;: displays the version of Cisco IOS software running on the router, name of image and amount of RAM.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;There are also well-known some utilities to use on hosts like:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;ipconfig&lt;/strong&gt; (ifconfig on Linux).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;ping &lt;/strong&gt;to test Layer 3 connectivity and basic DNS functionality.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;tracert&lt;/strong&gt; (on windows)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;traceroute&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;netstat &lt;/strong&gt;show information about devices communicating with a host, including IP address and TCP port information.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="font-family: Arial;"&gt;nslookup&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Important reminder&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;After all this you can test &lt;strong&gt;Layer 7 connectivity&lt;/strong&gt; by accessing the router through SSH, Telnet and a web browser.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;There's also some debugging with the &lt;strong&gt;debug &lt;/strong&gt;commands, for example &lt;strong&gt;debug ip rip&lt;/strong&gt;. Stop debugging with &lt;strong&gt;undebug all&lt;/strong&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-7627357029225410811?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/7627357029225410811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-8-network-status-verification.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7627357029225410811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7627357029225410811'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-8-network-status-verification.html' title='Day 8: Network Status Verification'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-263178088343548051</id><published>2010-02-15T05:19:00.000-08:00</published><updated>2010-02-15T05:19:31.274-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 9: Configuration, IOS and Security</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S&lt;/span&gt;ometimes you'll use &lt;strong&gt;static and default routes&lt;/strong&gt;.&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Any packet for which a router doesn't know the destination will be dropped or forwarded to the default route. This can be done like this:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial;"&gt;ip route 0.0.0.0 0.0.0.0 {&lt;em&gt;outgoing-interface | next-hop-address&lt;/em&gt;}&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;If you look in the routing table you'll see static routes identified with prefix &lt;em&gt;S&lt;/em&gt;&lt;strong&gt;. &lt;/strong&gt;This is how we manually configure static routes:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial;"&gt;ip route 192.168.2.0 255.255.255.0 192.168.1.2&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;These can all be reviewed with &lt;strong&gt;show running-config&lt;/strong&gt;, and &lt;strong&gt;show ip route&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Reviewing IOS configuration files management is also needed for the ICND1 exam. You can either copy/paste the show runs but preferably you have a &lt;strong&gt;trivial file transfer protocol (TFTP) &lt;/strong&gt;server on your network.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;copy running-config tftp&lt;/strong&gt;: you'll have to enter the ip/hostname of the server and destination filename (router-config).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;copy tftp running-config&lt;/strong&gt;: restoring the file.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;show version&lt;/strong&gt; command allows to check the name of the IOS image. We can use &lt;strong&gt;copy flash tftp&lt;/strong&gt; to copy the IOS image from flash memory to a TFTP server. To restore it back we can use &lt;strong&gt;copy tftp flash&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;It's very important to secure the telecommunications room or wiring closets in your facility. The &lt;strong&gt;main distribution facility (MDF) &lt;/strong&gt;and &lt;strong&gt;intermediate distribution facilities (IDF) &lt;/strong&gt;are the backbone of the network and should be protected. Access to these areas should be restricted. Besides this we also have to protect configuration privileges by adding password security. Don't forget that passwords are encrypted if the command &lt;strong&gt;service password encryption&lt;/strong&gt; is entered.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-263178088343548051?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/263178088343548051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-9-configuration-ios-and-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/263178088343548051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/263178088343548051'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-9-configuration-ios-and-security.html' title='Day 9: Configuration, IOS and Security'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-3305260271339785213</id><published>2010-02-15T05:01:00.000-08:00</published><updated>2010-02-15T05:01:21.762-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>ESENT - Extensible Storage Engine</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Just noticed that this post was unreadable so:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;One of my database servers gave this error in event viewer: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;svchost (828) The database engine stopped&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Windows comes with an embeddable, transactional database engine which is available to developers through the Windows SDK. The ESENT database engine can be used whenever an application wants high-performance, low-overhead storage of structured or semi-structured data. This can range from something as simple as a hash table which is too large to store in memory to a complex application with many tables, columns and indexes. ESENT is used by the Active Directory, Windows Desktop Search, Windows Mail and several other Windows services and a slightly modified version of the code is used by Microsoft Exchange to store all its mailbox data. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Interesting links:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms684493%28EXCHG.10%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms684493%28EXCHG.10%29.aspx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://managedesent.codeplex.com/"&gt;http://managedesent.codeplex.com/&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-3305260271339785213?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/3305260271339785213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/esent-extensible-storage-engine_15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3305260271339785213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3305260271339785213'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/esent-extensible-storage-engine_15.html' title='ESENT - Extensible Storage Engine'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-2902953890541370049</id><published>2010-02-03T02:39:00.000-08:00</published><updated>2010-02-15T04:55:39.561-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><title type='text'>err-disabled mode</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Today I had a switchport that went in err-disabled mode. Command &lt;span class="content"&gt;&lt;b&gt;show interfaces status err-disabled&lt;/b&gt; indicated loopback for reason. It took a while but our technicians eventually followed the cables in the ceiling and they were badly patched.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Cisco has a great page with all the details:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a00806cd87b.shtml#topic2"&gt;http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a00806cd87b.shtml#topic2&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-2902953890541370049?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/2902953890541370049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/err-disabled-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2902953890541370049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2902953890541370049'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/err-disabled-mode.html' title='err-disabled mode'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1405332632320510606</id><published>2010-02-02T08:51:00.000-08:00</published><updated>2010-02-02T08:51:49.775-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 10: CLI Parameter</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Cisco IOS Editing keys/commands&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Ctrl-P or up arrow: repeats previous command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Ctrl-A: beginning of command line&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Ctrl-E: end of command line&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Esc-B: move back one word&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Esc-F: move forward one word&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Ctrl-Z: exits configuration mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show history&lt;/strong&gt;: displays command buffer&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;terminal history size &lt;em&gt;x&lt;/em&gt;&lt;/strong&gt;: sets history buffer size&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;terminal no editing&lt;/strong&gt;: turns off advanced editing (why would you use this...)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router Initial Configuration:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router&amp;gt;&lt;strong&gt;enable&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router#&lt;strong&gt;configure terminal&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;hostname Cairo&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;banner motd #&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter TEXT message. End with the character '#'.&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo - unauthorized use prohibited&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;#&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;enable password cisco&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;enable secret sanfran&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;line console 0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;password sanjose&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;login&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;line vty 0 4&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;password netadmin&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;login&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;service password-encryption&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;%SYS-5-CONFIG_I: Configured from console by console&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;strong&gt;copy running-config startup-config&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Destination filename [startup-config]? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Building configuration...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;[OK]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router Ethernet Interface Configuration:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo&amp;gt;&lt;strong&gt;enable&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Password: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;strong&gt;configure terminal&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;interface fa0/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-if)#&lt;strong&gt;ip address 192.168.1.1 255.255.255.0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-if)#&lt;strong&gt;description Ethernet segment 192.168.1.0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-if)#&lt;strong&gt;no shutdown&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-if)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;ip host Cairo 192.168.1.1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;This last command defines static hostname-to-address mappings in the DNS hostname cache, more info at this link:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_ip.html#wp1012102"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_ip.html#wp1012102&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;If the serial interface is a &lt;strong&gt;data communications equipment (DCE)&lt;/strong&gt; device, you'll need to set the clock rate. A router is usually the &lt;strong&gt;data terminal equipment (DTE)&lt;/strong&gt; device so you don't need to set it. As a DTE, the router would accept the clock from a DCE device. Think of it this way, DCE and the C is clock :) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo&amp;gt;&lt;strong&gt;enable&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;strong&gt;configure terminal&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;interface serial 0/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-if)#&lt;strong&gt;ip address 192.168.2.5 255.255.255.252&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-if)#&lt;strong&gt;clock rate 64000&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-if)#&lt;strong&gt;no shutdown&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo&lt;/span&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;%SYS-5-CONFIG_I: Configured from console by console&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;strong&gt;copy running-config startup-config&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Destination filename [startup-config]? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Building configuration...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;[OK]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router Initial Configuration for SDM:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo&amp;gt;&lt;strong&gt;enable&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Password: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;strong&gt;configure terminal&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;ip http server&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;ip http secure-server&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;username cisco privilege 15 password 0 class&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;line vty 0 4&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;privilege level 15&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;To establish a username-based authentication system, use the username command in global configuration mode. To enable password checking at login, use the login local command in line configuration mode. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;login local&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;transport input telnet&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;transport input telnet ssh&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-line)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1405332632320510606?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1405332632320510606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-10-cli-parameter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1405332632320510606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1405332632320510606'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-10-cli-parameter.html' title='Day 10: CLI Parameter'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-4893238999831621634</id><published>2010-02-02T08:38:00.000-08:00</published><updated>2010-02-02T08:38:08.647-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 11: RIP Configuration</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;RIP version 2 or RIPv2 allows a router to discover the location of remote networks dynamically from other routers running RIPv2. In order to confiure it, you'll have to connect to each router and determine which networks are directly connected to each router, and use RIP to configure that router to advertise the location of those networks.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter the router configuration mode, tell it's version 2 and specify that RIP will send update information about the directly connected networks. It's extremy simple, you only have to use &lt;strong&gt;router rip&lt;/strong&gt;, &lt;strong&gt;version 2&lt;/strong&gt;, &lt;strong&gt;network &lt;em&gt;directly-connected-network&lt;/em&gt;&lt;/strong&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The most important is that you have to enter the networks CLASSFUL, so a class A is for example 65.0.0.0 instead of the 65.3.0.0!!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo&amp;gt;&lt;strong&gt;enable&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Password: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;strong&gt;configure terminal&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config)#&lt;strong&gt;router rip&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-router)#&lt;strong&gt;version 2&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-router)#&lt;strong&gt;network 192.168.1.0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-router)#&lt;strong&gt;network 192.168.2.0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo(config-router)#&lt;strong&gt;end&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;%SYS-5-CONFIG_I: Configured from console by console&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cairo#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;show ip route&lt;/strong&gt; displays all routes in the routing table and indicates routes learned through RIPv2 using the prefix &lt;em&gt;R&lt;/em&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;show ip protocols&lt;/strong&gt; verifies that RIPv2 is configured and operating on the router and that the router is receiving updates and advertising routes. Important to notice&amp;nbsp;are the updates that're being sent every 30 seconds, hold down of 180 seconds and flushed after 240!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;debug ip rip&lt;/strong&gt; displays RIP advertisements on the network in real time. This is very CPU-intensive, so it should be turned off with the &lt;strong&gt;undebug all&lt;/strong&gt; command after use.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The Cisco Learning Network CCENT page has a good 15' video on this subject:&lt;/span&gt;&lt;br /&gt;&lt;a href="https://learningnetwork.cisco.com/docs/DOC-1300"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;https://learningnetwork.cisco.com/docs/DOC-1300&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-4893238999831621634?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/4893238999831621634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-11-rip-configuration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4893238999831621634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4893238999831621634'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-11-rip-configuration.html' title='Day 11: RIP Configuration'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1919299486617930493</id><published>2010-02-02T08:36:00.000-08:00</published><updated>2010-02-02T08:36:27.855-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 12: Routing and Routers</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Routers see networks, not hosts. There's a big difference between routed and routing protocols.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Protocols such as IP are &lt;strong&gt;routed protocols&lt;/strong&gt; because the router uses the protocol to forward a packet from one router to another. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Routing protocols&lt;/strong&gt; are used by routers to exchange routing information.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Routers decide where to forward a packet by using information stored in routing tables. They maintain a list of its interfaces and which networks are connected to those interfaces in its routing tables. Routers can dynamically learn about routes from other routers (routing protocol!) or the administrator can manually add a static route. When a packet arrives at a router, it'll look at the subnet mask, its routing table and cost.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;We have four types of routes that exist in a routing table:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Directly connected&lt;/strong&gt;: a router detects configured networks connected to its interfaces and adds them to the routing table automatically (identified by prefix C). These are automatically updated when the configuration changes or an interface is shut down.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Static&lt;/strong&gt;: manually configured route, identifed by prefix S.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Dynamic&lt;/strong&gt;: these are dynamically updated by the router protocol. Prefix depends on the type of protocol, Routing Information Protocol (RIP) has prefix R.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Default&lt;/strong&gt;: static route that identifies the default gateway for packets addressed with a destination network that a router doesn't have in its routing table.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family: Arial;"&gt;Dynamic routing protocols typically use the distance vector or link-state algorithm:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Distance Vector&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Periodically exchanges routing tables with neighboring routers.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Routes are evaluated on distance (how far) and vector (what direction).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Distance is expressed in a route cost or metric.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;When a routing table is received it updates its routing information and forwards its routing table with an added hop to neighboring routers.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Link-State&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Exchanges link-state advertisements (LSA) when a change occurs in a link.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Maintains a topological database of the network and builds a shortest path first (SPF) tree.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;When an LSA is received, the router will update and recalculate paths.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Routing Information Protocol (RIP)&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Simple distance vector protocol, an interior routing protocol.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Exchanges complete copies of routing table.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Maximum 15 hop count&amp;nbsp;- this to determine best path.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;RIP version 2 (RIPv2) is preferred because it includes subnet mask information, where RIPv1 relies on classful default subnet masks. This means that RIPv2 allows VLSM and CIDR.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Enhanced Interior Gateway Routing Protocol (EIGRP)&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Cisco-proprietary interior routing protocol.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Uses hop count (maximum 224), metrics and advertisements.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Maintains&amp;nbsp;routing table, neighbor table and topology table.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Open Shortest Path First (OSPF)&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Nonproprietary link-state interior routing protocol that sends LSA updates when there's a topology change.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Router Bootup Process, POST and loading Cisco IOS software&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Router performs power-on self-test (POST) to check hardware.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Loads bootstrap and initializes Cisco IOS from flash, TFTP or ROM. The location is defined in configuration register.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;Loads startup configuration file from nonvolatile random-access memory (NVRAM) to random-access memory (RAM) as running configuration.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;If NVRAM has no configuration file, the router will look for a TFTP-server. If it can't find it, it starts setup.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1919299486617930493?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1919299486617930493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-12-routing-and-routers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1919299486617930493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1919299486617930493'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/02/day-12-routing-and-routers.html' title='Day 12: Routing and Routers'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1315978175040019812</id><published>2010-01-30T05:52:00.000-08:00</published><updated>2010-01-30T05:52:28.766-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 13: IP Address Troubleshooting</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;What if an IP address or subnet mask is entered incorrectly and your computer is configured to obtain an IP address automatically?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;We could directly start at Layer 3 and use &lt;b&gt;ping&lt;/b&gt;. If that's ok, there's probably an upper-layer issue. There could also be a DNS problem, I've already discussed it in my day 17 post.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Follow these steps on a Windows machine to verify the DHCP operation:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter the command &lt;b&gt;ipconfig /all &lt;/b&gt;in a command box. It should show lots of info like subnet mask, gateway, DNS server(s) and IP address.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Are the gateway and host IP address on the same subnet?&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Release and renew the dynamic assignment with &lt;b&gt;ipconfig /release&lt;/b&gt; and &lt;b&gt;ipconfig /renew&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;If you can ping your gateway but no Internet address, there's a problem between your router and ISP (DNS, etc.). You could also use the &lt;b&gt;tracert&lt;/b&gt; command (&lt;b&gt;traceroute&lt;/b&gt; in IOS) to further investigate the issue. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1315978175040019812?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1315978175040019812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-13-ip-address-troubleshooting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1315978175040019812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1315978175040019812'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-13-ip-address-troubleshooting.html' title='Day 13: IP Address Troubleshooting'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-6065373205863710339</id><published>2010-01-26T10:26:00.000-08:00</published><updated>2010-01-30T05:50:45.351-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 14: Static and Dynamic Addressing</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Hosts in our LAN can be assigned an IP address in one of two ways:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Manual configuration&lt;/b&gt;: we can enter a static IP address, subnet mask, and gateway on hosts in our network. These static addresses remain the same for these devices unless we manually change'em.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Dynamic configuration&lt;/b&gt;: we can configure a DHCP server (as discussed on day 15) to dynamically assign addresses to computers on your network. We can specify the address range, client lease and other parameters on the DHCP server. You also need to configure clients to request addressing information from the DHCP server.&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Remember the &lt;b&gt;ip helper-address&lt;/b&gt; command used to forward DHCP requests.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Use the &lt;b&gt;ipconfig /release&lt;/b&gt; and &lt;b&gt;ipconfig /renew&lt;/b&gt; commands to refresh.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-6065373205863710339?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/6065373205863710339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-14-static-and-dynamic-addressing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6065373205863710339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6065373205863710339'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-14-static-and-dynamic-addressing.html' title='Day 14: Static and Dynamic Addressing'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-4145580005740878456</id><published>2010-01-25T09:49:00.000-08:00</published><updated>2010-01-25T10:40:53.825-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 15: DHCP Operation</title><content type='html'>&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;A client on a &lt;b&gt;DHCP (Dynamic Host Configuration Protocol)&lt;/b&gt; network will follow these steps to obtain an IP address:&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;ol&gt;&lt;li&gt;the client sends a &lt;b&gt;DHCP Discover&lt;/b&gt; message with a destination IP address of 255.255.255.255 and a destination MAC address of FF-FF-FF-FF-FF-FF.&lt;/li&gt;&lt;li&gt;This DHCP Discover message broadcasts over the network, and the DHCP server replies with a &lt;b&gt;DHCP Offer&lt;/b&gt;, including initial IP configuration for the client such as IP address, subnet mask and default gateway.&lt;/li&gt;&lt;li&gt;The requesting client sends a &lt;b&gt;DHCP Request&lt;/b&gt; to use the IP address suggested in the DHCP offer.&lt;/li&gt;&lt;li&gt;The DHCP server responds with a &lt;b&gt;DHCP Acknowledgment&lt;/b&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;A DHCP server can provide addresses to a host on a different network if the routers on those networks are configured to forward DHCP requests with the &lt;b&gt;ip helper-address&lt;/b&gt; command.&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;The configuration can be done by SDM or CLI. &lt;br /&gt;Use these commands in global configuration mode:&lt;br /&gt;&lt;strong&gt;ip dhcp pool &lt;/strong&gt;&lt;em&gt;pool-name&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;network&lt;/strong&gt; &lt;em&gt;network-address subnet-mask&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;domain-name&lt;/strong&gt; &lt;em&gt;domain-name&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;dns-server &lt;/strong&gt;&lt;em&gt;dns-server-address&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;default-router &lt;/strong&gt;&lt;em&gt;default-router-address&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;lease&lt;/strong&gt; {&lt;em&gt;days&lt;/em&gt; [&lt;em&gt;hours&lt;/em&gt;] [&lt;em&gt;minutes&lt;/em&gt;] | &lt;strong&gt;infinite&lt;/strong&gt;}&lt;br /&gt;&lt;br /&gt;Use these commands to exclude a range of addresses or a single address from the DHCP pool that you want to reserve and assign to specific hosts from global configuration mode:&lt;br /&gt;&lt;strong&gt;ip dhcp excluded-address &lt;/strong&gt;&lt;em&gt;start-address end-address&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;ip dhcp excluded-address&lt;/strong&gt; &lt;em&gt;single-address&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;DHCP service can be started with &lt;strong&gt;service dhcp &lt;/strong&gt;and stopped with &lt;strong&gt;no service dhcp&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Verification is done with these show commands:&lt;br /&gt;&lt;strong&gt;show running-config&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;show ip dhcp binding&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;show ip dhcp server statistics&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;debug ip dhcp server events&lt;/strong&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-4145580005740878456?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/4145580005740878456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-15-dhcp-operation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4145580005740878456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/4145580005740878456'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-15-dhcp-operation.html' title='Day 15: DHCP Operation'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-3002868370751422977</id><published>2010-01-24T08:42:00.000-08:00</published><updated>2010-01-24T08:42:56.845-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>determining if broadcast storm has occured</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;These are some useful fields while determining if a broadcast storm has occured.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router# &lt;strong&gt;show interfaces ethernet 0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Ethernet 0 is up, line protocol is up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Hardware is MCI Ethernet, address is aa00.0400.0134 (via 0000.0c00.4369)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Internet address is 131.108.1.1, subnet mask is 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Encapsulation ARPA, loopback not set, keepalive set (10 sec)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;ARP type: ARPA, PROBE, ARP Timeout 4:00:00&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Last input 0:00:00, output 0:00:00, output hang never&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Output queue 0/40, 0 drops; input queue 0/75, 2 drops&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Five minute input rate 61000 bits/sec, 4 packets/sec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Five minute output rate 1000 bits/sec, 2 packets/sec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;2295197 packets input, 305539992 bytes, 0 no buffer&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Received 1925500 broadcasts, 0 runts, 0 giants&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;3 input errors, 3 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;0 input packets with dribble condition detected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;3594664 packets output,&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; 436549843 bytes, 0 underruns&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;8 output errors, 1790 collisions, 10 interface resets, 0 restarts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;no &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;buffers&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;: gives the number of received packets discarded because there was no buffer space in the main system. Compare this with the ignored count. Broadcast storms on Ethernet networks and bursts of noise on serial lines are often responsible for no input buffer events. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;ignored&lt;/strong&gt;: shows the number of received packets ignored by the interface because the interface hardware ran low on internal buffers. These buffers are different from the system buffers mentioned previously in the buffer description. Broadcast storms and bursts of noise can cause the ignored count to be increased.&lt;/span&gt; &lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Reference: &lt;a href="http://www.cisco.biz/en/US/docs/internetworking/troubleshooting/guide/tr1904.html"&gt;http://www.cisco.biz/en/US/docs/internetworking/troubleshooting/guide/tr1904.html&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-3002868370751422977?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/3002868370751422977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/determining-if-broadcast-storm-has.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3002868370751422977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3002868370751422977'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/determining-if-broadcast-storm-has.html' title='determining if broadcast storm has occured'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-6583233474001972724</id><published>2010-01-21T04:42:00.000-08:00</published><updated>2010-01-21T11:07:05.505-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>RMAN error – Use CROSSCHECK command to fix status</title><content type='html'>&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;Our RMAN backup control mail gave an error: x objects could not be deleted for DISK channel(s) due to mismatched status. Use CROSSCHECK command to fix status.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CROSSCHECK &lt;/b&gt;is a check to determine whether files on disk or in the media management catalog correspond to the data in the RMAN repository. Because the media manager can mark tapes as expired or unusable, and because files can be deleted from disk or otherwise become corrupted, &lt;b&gt;the RMAN repository can contain outdated information about backups&lt;/b&gt;. Crosschecks update outdated RMAN repository information about backups whose repository records do not match their physical status. For example, if a user removes archived logs from disk with an operating system command, the repository still indicates that the logs are on disk, when in fact they are not. The crosscheck command is used to validate RMAN records in the database control file and the recovery catalog against what is physically on the backup media. The crosscheck command can be used on both disk backups and tape backups. You can cross-check the gambit of backups, from database backups and archive-log backups to image copies, the crosscheck command covers them all.&lt;br /&gt;&lt;br /&gt;When you run the crosscheck command, any missing backup files will be marked as &lt;b&gt;EXPIRED&lt;/b&gt;, meaning that they are no longer on the media where they are expected to be. The list expired command will show you the backups that are expired. You can review this list and then use the delete command to mark the backup files as deleted in the control file and the recovery catalog. The CROSSCHECK command does not delete any files that it is unable to find, but updates their repository records to EXPIRED. Then, you can run &lt;b&gt;DELETE EXPIRED&lt;/b&gt; to remove the repository records for all expired files as well as any existing physical files whose records show the status EXPIRED. Expired backups will not show up on this report until the crosscheck command detects they are missing.&lt;br /&gt;&lt;br /&gt;Oracle SID should be correctly set, so we'll log on directly.&lt;br /&gt;&lt;br /&gt;F:\oracle\rman&amp;gt;&lt;b&gt;rman target =/&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;We use show all to get the backup retention policy to determine how long backups and archived logs need to be retained for media recovery. You can define a retention policy in terms of backup redundancy or a recovery window. RMAN retains the datafile backups required to satisfy the current retention policy, and any archived redo logs required for complete recovery of those datafile backups. In our case I got RETENTION POLICY TO REDUNDANCY 1 and ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1.&lt;br /&gt;&lt;br /&gt;RMAN&amp;gt; &lt;b&gt;show all;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;RMAN&amp;gt; &lt;b&gt;delete noprompt obsolete;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Will give the same errors as in our control mail, so let’s do what it wants.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RMAN&amp;gt; &lt;b&gt;crosscheck archivelog all;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;RMAN is not removing all of the files because some of them may still be needed for a full recovery!&amp;nbsp; It's all about how RMAN defines an &lt;b&gt;obsolete &lt;/b&gt;file.&amp;nbsp; Generally, an obsolete file is one that supplements a full backup that will never be used for a recovery and roll-forward. The Oracle docs note the rules for a file becoming obsolete:&lt;br /&gt;&lt;b&gt;DELETE OBSOLETE&lt;/b&gt; does not delete backups required to satisfy the specified retention policy, even if some backups have KEEP UNTIL times set which have passed to override the retention policy.&lt;br /&gt;Backups are never obsolete if they are still needed to meet the retention policy, regardless of any KEEP UNTIL time. With a recovery window-based retention policy, even if the specified KEEP UNTIL time has expired, the backup is retained if the backup is needed to satisfy the recovery window. &lt;br /&gt;&lt;br /&gt;With a redundancy-based retention policy, even if the specified KEEP UNTIL time has expired, the backup is retained as long as it is required to satisfy the redundancy requirement.&amp;nbsp; &lt;br /&gt;You can also use the REDUNDANCY or RECOVERY WINDOW clauses with DELETE to delete backups obsolete under a specific retention policy instead of the configured default:&lt;br /&gt;DELETE OBSOLETE REDUNDANCY = 3;&lt;br /&gt;DELETE OBSOLETE RECOVERY WINDOW OF 7 DAYS;&lt;br /&gt;&lt;br /&gt;RMAN&amp;gt; &lt;b&gt;delete noprompt obsolete;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I got a similar error as in the controlemail, this time for the controlefilecopy (32 is here the key):&lt;br /&gt;&lt;br /&gt;RMAN&amp;gt; &lt;b&gt;crosscheck controlfilecopy 32;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now we can delete them:&lt;br /&gt;&lt;br /&gt;RMAN&amp;gt; &lt;b&gt;delete noprompt obsolete;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;And rerun the last delete to verify if anything’s left:&lt;br /&gt;&lt;br /&gt;References: &lt;br /&gt;&lt;a href="http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/maint002.htm"&gt;http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/maint002.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://users.telenet.be/oraguy.be/rman1.htm"&gt;http://users.telenet.be/oraguy.be/rman1.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/toc.htm"&gt;http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/toc.htm&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-6583233474001972724?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/6583233474001972724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/rman-error-use-crosscheck-command-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6583233474001972724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6583233474001972724'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/rman-error-use-crosscheck-command-to.html' title='RMAN error – Use CROSSCHECK command to fix status'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-5212940014663334501</id><published>2010-01-20T10:42:00.000-08:00</published><updated>2010-01-20T10:42:10.597-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Lines on Cisco routers</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Lines on Cisco routers&lt;/strong&gt; are physical async serial ports on the router (such as a terminal or modem), a virtual network connection, or another type of serial line on the router. To see which lines you have on your router, use the &lt;strong&gt;show line&lt;/strong&gt; command. Example: &lt;strong&gt;show line serial 0/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Use the &lt;strong&gt;show line summary&lt;/strong&gt; command to get a nice overview.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The &lt;strong&gt;console port&lt;/strong&gt; doesn't need any introduction. &lt;strong&gt;The CTY port&lt;/strong&gt; is, of course, where you configure the router when it’s brand-new — before it has any IP address configuration. The console port is a serial port, so you must have a PC/laptop with a serial interface and connect to the console with a rolled cable, it should be included with your newly arrived devices :)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Once you’ve used the console port to configure the router’s network configuration, it isn’t common to have to use it again. However, it’s good to know that it’s there if anything ever goes wrong. In addition, you should secure the console port to keep someone from connecting to it when you aren’t around.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;While not all routers these days have an AUX port, &lt;strong&gt;the AUX port&lt;/strong&gt; is the auxiliary. Think of it as a secondary console port. The AUX ports don’t get a lot of use except to access the router if locked out of the console port. In the past, network admins would connect modems to the AUX ports so they could dial into their routers. Like the console port, the AUX port is a serial port, and you should also take steps to secure it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;VTY ports&lt;/strong&gt; are virtual TTY ports, used to Telnet or SSH into the router over the network. You can use them to connect to the router to make configuration changes or check the status. Most routers have five VTY ports, numbered 0 to 4. That means you can have up to five concurrent network admins configuring the router at one time.&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Remember that you can always use the &lt;strong&gt;clear line&lt;/strong&gt; command to clear out a connection on a router line if you run into a problem.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-5212940014663334501?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/5212940014663334501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/lines-on-cisco-routers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/5212940014663334501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/5212940014663334501'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/lines-on-cisco-routers.html' title='Lines on Cisco routers'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-3255707719685673221</id><published>2010-01-20T09:42:00.000-08:00</published><updated>2010-01-20T09:42:50.642-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 16: Private Networks and NAT</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;A device directly connected to the Internet has a public IP address, this is routable. The number of public IP addresses is limited so RFC 1918 reserves class A, B and C networks for private use on an internal network. These addresses can be reused for multiple internal networks because the networks are not visible to the Internet or each other.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;I've mentioned them a few times but once again a quick overview:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;one class A address for private networks: 10.0.0.0, &amp;gt;16 million private addresses&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;16 class B networks for private use: 172.16.0.0 to 172.31.0.0, each networks allows &amp;gt; 65000 private addresses&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;256 class C networks for private use: 192.168.0.0 to 192.168.255.0, each network allows up to 254 private addresses&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;A router running NAT and PAT can allow devices on a private network to share a single public IP address and communicate over the Internet. Devices on a private network behind a router running NAT are not directly accessible on the Internet, providing additional security.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-3255707719685673221?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/3255707719685673221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-16-private-networks-and-nat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3255707719685673221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3255707719685673221'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-16-private-networks-and-nat.html' title='Day 16: Private Networks and NAT'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-7626800945068792200</id><published>2010-01-20T06:53:00.000-08:00</published><updated>2010-01-20T09:43:18.676-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle DBA - managing listener.log</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;As the &lt;b&gt;listener.log&lt;/b&gt; file grows, we'll want to remove or rename it. This will fail as it's "being used by another process".&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The DBA can simply stop the service, rename/remove the file and restart the service. This can be problematic for users attempting to connect while the listener's down.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Here's a good way to do this without stopping the TNS listener process. This'll work on Windows and with some small changes on Linux as well (ren = mv):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;C:\cd \oracle\product\10.2.0\db_1\NETWORK\log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;C:\oracle\product\10.2.0\db_1\NETWORK\log\&lt;b&gt;lsnrctl set log_status off&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;C:\oracle\product\10.2.0\db_1\NETWORK\log\&lt;b&gt;ren listener.log listener.old&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;C:\oracle\product\10.2.0\db_1\NETWORK\log\&lt;b&gt;lsnrctl set log_status on&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;In Oracle 11g, the listener log files by default are located in /diag/tnslsnr/product_name/listener. The nice feature about listener log file in this version is, whenever the size of log file grow to 10MB, Oracle starts to writes to a new file. So the log file will not be too large to open for troubleshooting. Overtime, you will have a lot of 10MB log file in the directory. An Oracle DBA needs to manage the listener log files regularly so the log files will not take too much space on the server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;This is a great link with DBA Tips: &lt;a href="http://www.idevelopment.info/"&gt;http://www.idevelopment.info/&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-7626800945068792200?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/7626800945068792200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/oracle-managing-listenerlog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7626800945068792200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7626800945068792200'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/oracle-managing-listenerlog.html' title='Oracle DBA - managing listener.log'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-6833715331396903342</id><published>2010-01-18T11:13:00.000-08:00</published><updated>2010-01-18T11:14:14.612-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 17: DNS Operation</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;All hosts have a HOSTS file that matches names to IP addresses. This file is first used to resolve a request for a domain. Obviously its impossible to keep it all in file, so a DNS server performs this task on a network. If you want to verify the capability to access a DNS server you'd use the &lt;strong&gt;nslookup&lt;/strong&gt; utility:&amp;nbsp;&lt;/span&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc725991(WS.10).aspx"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;http://technet.microsoft.com/en-us/library/cc725991(WS.10).aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The domain naming system has these components: &lt;strong&gt;resource records and domain namespace, domain name servers and resolvers&lt;/strong&gt;. The hierarchy of the domain name system begins at the top with top-level domains such as .com, .org - they could also represent countries. These are followed by second-level domains such as cisco, yet they could also have specific locations such as mail.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;So&lt;/span&gt;, what happens if a host wants to resolve a &lt;strong&gt;Domain Name System&lt;/strong&gt; (DNS - port 53) name such as mail.cisco.com? A domain that that points to a specific computer in a domain is considered a &lt;strong&gt;fully qualified domain name (FQDN)&lt;/strong&gt;. &lt;/span&gt;&lt;span style="font-family: Arial;"&gt;The host uses a resolver to query a DNS server inside its domain to get the IP address of mail.cisco.com. This DNS server is preconfigured (see ipconfig /all). You could use the well known 4.2.2.2 but there's always a security risk using one that you're not authorized to. &lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;The DNS server (usually from our ISP) receives the request and checks its local records. If the DNS server cannot resolve the domain name, it forwards the request to another preconfigured DNS server. The local DNS server may query a root DNS server to discover the location of top-level.com domain name servers.&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;The top-level DNS server, after it's queried responds with the location of the cisco.com DNS server for the requested domain.&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;The local DNS server queries the cisco.com DNS server for the location of mail.cisco.com. When the resolved name to IP address is returned, each DNS server caches the record for a limited amount of time.&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;The local DNS server receives the returned request, temporarily caches the record and responds to the requesting host with the IP address for mail.cisco.com.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family: Arial;"&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="font-family: Arial;"&gt;It's important to know that DNS zones can be broken into primary or secondary forward lookup or reverse lookup zones:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Primary and secondary&lt;/strong&gt;: there can be primary and secondary forward lookup and reverse lookup zones. The primary zone is where you update records, and the secondary zone operates as a read-only backup copy of the primary zone. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Forward lookup zones&lt;/strong&gt;: standard zone that resolves FQDNs to IP addresses.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Reverse lookup zones&lt;/strong&gt;: this query works in reverse: a host wants to know the FQDN because it knows the IP address. Private networks use reverse lookup to identify host names on their local network. I've had some issues with this lately when we forgot to set this zone up during a rollout of hosts, we got the error Nonexistent domain when testing with nslookup.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;It's a good idea to use redundant DNS servers!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;There's good information and links on wikipedia: &lt;a href="http://en.wikipedia.org/wiki/Domain_Name_System"&gt;http://en.wikipedia.org/wiki/Domain_Name_System&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-6833715331396903342?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/6833715331396903342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-17-dns-operation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6833715331396903342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6833715331396903342'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-17-dns-operation.html' title='Day 17: DNS Operation'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-7971418279362041426</id><published>2010-01-17T12:52:00.000-08:00</published><updated>2010-01-17T13:02:30.760-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 18: NAT</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;If you've ever wondered why we're not all using IPv6 yet, the simple answer is &lt;strong&gt;Network Address Translation&lt;/strong&gt; -&amp;nbsp;&lt;strong&gt;NAT&lt;/strong&gt; (NAT overload or PAT).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;As seen on day 20, the RPC1918 has identified the private networks. These addresses don't allow us to connect to the Internet, routers cannot route these&amp;nbsp;private IP addresses (they get dropped). A router can however receive a public Internet-routable address from the ISP and provide Internet connectivity for the hosts on the local private network. The router will use NAT to exchange private IP addresses for a public IP address or a pool of public IP addresses. This translation allows an internal host to appear as though it has a public IP address. Nat also provides some basic security.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;NAT was developed because of too few available IP addresses. Here are some terms:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;inside local network&lt;/strong&gt;: the privately addressed internal network connected to a router&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;inside local address&lt;/strong&gt;:&amp;nbsp;internal IP address assigned to a host on the inside, private network. This is usually a private IP address&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;outside global network&lt;/strong&gt;: any network outside the local network that would also not recognize the private addresses assigned to hosts in the local network&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;inside global address&lt;/strong&gt;: a registered, Internet-routable IP address that represents one or more inside local IP addresses to the outside world&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;outside local address&lt;/strong&gt;: destination address of the packet while on the inside local network - typically the same as the outside global address. So it's the IP address of an outside host as it appears to the inside, private network.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;outside global address&lt;/strong&gt;: actual destination address of the intended external host on the Internet. The IP address assigned to a host on the outside network by the host's owner - usually a routable IP address.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Static NAT&lt;/strong&gt; translates one private address to one public address. In&amp;nbsp;&lt;strong&gt;dynamic NAT&lt;/strong&gt; will have a pool of public addresses to temporarily assign for internal hosts (the public address will afterwards return to the pool). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;A router uses &lt;strong&gt;NAT overload&lt;/strong&gt;, or &lt;strong&gt;port address translation (PAT) &lt;/strong&gt;to allow multiple internal hosts to communicate with just one public IP address. The router uses source port numbers to identify the internal connection request. Note that this implicates that internal hosts must initiate communications with outside networks. If you're wondering what would happen if two hosts used the same source port (from the 65535), it's simple: whoever gets there first gets that port, the other one will get a different one - for example 61751 would then become 61752.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;To configure static NAT, you have to designate an inside interface (this is the interface connected to the private network).&amp;nbsp;You also have to designate the interface connected to the outside world as the outside interface. Needed commands:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;ip nat outside&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;ip nat inside&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;ip nat inside source static &lt;em&gt;local-IP-address global-IP-address&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;We don't have to know the CLI for ICND1 but I'll give a quick overview, we're preparing for the CCNA - please try it with SDM (use GNS3 if needed).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router#&lt;strong&gt;enable&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router#&lt;strong&gt;configure terminal&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;interface serial 1/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;ip nat outside&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;interface fa 0/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;ip nat inside&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;ip nat inside source static 192.168.1.2 200.1.1.1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;NAT with overload enables PAT (a many-to-one mapping). Use the &lt;strong&gt;access-list&lt;/strong&gt; command to define the private address pool that you want to translate to a single IP address. An access list uses a wildcard mask instead of a subnet mask to identify the bits available for use as hosts in the pool. Needed commands (see the differences above): &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;access-list &lt;em&gt;access-list-number&lt;/em&gt; permit&lt;em&gt;&amp;nbsp; inside-network&lt;/em&gt; &lt;em&gt;wildcard-mask&lt;/em&gt;&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;ip nat inside source list &lt;em&gt;access-list-number&lt;/em&gt; interface &lt;em&gt;interface&lt;/em&gt; overload&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;ip nat outside&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;ip nat inside&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;access-list 1 permit 192.168.1.0 0.0.0.255&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;ip nat inside source list 1 interface serial 1/0 overload&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;Router(config)#&lt;strong&gt;interface serial 1/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;ip nat outside&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;interface fa 0/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;ip nat inside&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Look at&amp;nbsp;0.0.0.255 as a reversed subnet mask. The overload keyword allows to map multiple IP addresses to a single registered IP address (many-to-one) by using different source port numbers. Use &lt;strong&gt;show run&lt;/strong&gt; and &lt;strong&gt;show ip nat translations&lt;/strong&gt; to verify NAT configuration. A useful command for testing/troubleshooting is &lt;strong&gt;debug ip icmp&lt;/strong&gt; which outputs any ICMP traffic processed by the router. Don't forget to turn it off with &lt;strong&gt;undebug all&lt;/strong&gt; or &lt;strong&gt;u all&lt;/strong&gt;. &lt;/span&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;clear ip nat translation * &lt;/strong&gt;command clears all the NAT translations in the NAT table, its useful for troubleshooting.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;A useful link is &lt;/span&gt;&lt;a href="http://www.9tut.com/ccna-lab-sim/52-ccna-nat-sim-question"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;http://www.9tut.com/ccna-lab-sim/52-ccna-nat-sim-question&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-7971418279362041426?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/7971418279362041426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-18-nat.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7971418279362041426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7971418279362041426'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-18-nat.html' title='Day 18: NAT'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-8065580110958357888</id><published>2010-01-13T10:21:00.000-08:00</published><updated>2010-01-17T12:04:14.016-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 19: Assign Addresses</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;After having developed a logical topology and proper addressing scheme, we must assign the addresses to devices in our network. A host needs an IP address, default gateway and subnet mask. These can be assigned manually or obtained automatically by a &lt;strong&gt;Dynamic Host Configuration Protocol (DHCP)&lt;/strong&gt; server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;In Windows we'll verify the IP configuration by using &lt;strong&gt;ipconfig /all&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;I&lt;/span&gt;&lt;span style="font-family: Arial;"&gt;n Linux use the &lt;strong&gt;ifconfig &lt;/strong&gt;command.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;default gateway&lt;/strong&gt; for a host is typically the IP address of the connected interface on the router for the network. Each host on the network can then use the router as the gateway to other networks. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;This how we assign an IP to the interface of a router (we've already showed it for a switch):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router&amp;gt;&lt;strong&gt;enable&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router#&lt;strong&gt;configure terminal&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config)#&lt;strong&gt;interface fastEthernet 0/0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;ip address 10.0.0.1 255.255.255.0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Router(config-if)#&lt;strong&gt;no shutdown&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The configuration can be verified by using the known commands:&lt;/span&gt; &lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial;"&gt;show interfaces&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;span style="font-family: Arial;"&gt;an example is Router#show interfaces fastEthernet 0/0&lt;/span&gt; &lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial;"&gt;show running-configuration&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial;"&gt;show startup-configuration&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-8065580110958357888?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/8065580110958357888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-19-assign-addresses.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8065580110958357888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8065580110958357888'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-19-assign-addresses.html' title='Day 19: Assign Addresses'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-5526759074326133607</id><published>2010-01-12T10:09:00.000-08:00</published><updated>2010-01-25T09:29:57.636-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 20: IP Addressing and Subnetting</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;An IP address is typically assigned to the NIC, routers need an IP address for each interface.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;An &lt;strong&gt;IPv4 &lt;/strong&gt;address is made up of 32 binary bits, divided in four octects and represented in decimal format. I'm not going to cover converting to decimal or binary! Only remember that the maximum decimal equivalent for an octet is 255, the minimum is obviously 0.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;RPC 2460&lt;/strong&gt; proposed &lt;strong&gt;IPv6&lt;/strong&gt; in 1998 to increase address space. For now it's enough to know that they're 128-bit addresses respresented as 32 hexadecimal digits, broken into 8 groups of 4 digits separated by colons.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;a href="http://tools.ietf.org/html/rfc2460"&gt;http://tools.ietf.org/html/rfc2460&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;An IP address contains &lt;strong&gt;a network portion and host portion&lt;/strong&gt;. The first part is the network portion and the second is the host portion. The network portion is determined with the subnet mask,&amp;nbsp;a 32-bit address in which the binary 1s identify the network portion. For example:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;255.255.255.224 (or /27) - the last octet is 11100000&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;We also focus on the network address which has all 0s in the host portion&amp;nbsp;and the broadcast address which has all 1s in the host portion. An example:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;network address&lt;/strong&gt;&amp;nbsp;- 172.16.1.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;subnet mask&lt;/strong&gt; - 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;first available host address&lt;/strong&gt; - 172.16.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;broadcast address&lt;/strong&gt; - 172.16.1.255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;As you can see you always lose two host IP addresses from the possible combinations.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;You probably know all the classes but I'll give a quick overview:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class A&lt;/strong&gt;,&amp;nbsp;binary start is 0,&amp;nbsp;first octet&amp;nbsp;range 1-126, subnet mask is 255.0.0.0, 16777214 hosts, 8 bits network address&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class B&lt;/strong&gt;, binary start is 10, first octet range 128-191, subnet mask is 255.255.0.0, 65534 hosts, 16 bits network address&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class C&lt;/strong&gt;, binary start is 110, first octet range 192-223, subnet mask is 255.255.255.0, 254 hosts, 24 bits network address&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class D&lt;/strong&gt;, binary start is 1110, first octet range 224-239, multicast&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class E&lt;/strong&gt;, binary start is 1111, first octet range 240-255, used for research&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;The complete 127 range is used for &lt;strong&gt;loopback&lt;/strong&gt; testing (TCPIP stack), you probably know the loopback address 127.0.0.1 but it actually works with all hosts in this range (127.255.255.255).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;RFC 1918&lt;/strong&gt; identifies the &lt;strong&gt;networks reserved for internal or private use&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://tools.ietf.org/html/rfc1918"&gt;http://tools.ietf.org/html/rfc1918&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class A&lt;/strong&gt;: 10.0.0.0 to 10.255.255.255&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class B&lt;/strong&gt;: 172.16.0.0 to 172.31.255.255&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Class C&lt;/strong&gt;: 192.168.0.0 to 192.168.255.255&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;I've mentioned &lt;strong&gt;multicast&lt;/strong&gt;, this is used by devices that send multicasts to the hosts that are part of the multicast group. Might be used for videoconferencing or remote gaming.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Devices use &lt;strong&gt;broadcast&lt;/strong&gt; addresses to communicate with all hosts on a network (ARP, DHCP). &lt;strong&gt;Directed broadcasts &lt;/strong&gt;are forwarded to remote networks (normally all 1's are not forwarded).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Devices use &lt;strong&gt;unicast&lt;/strong&gt; to communicate with another device, one-to-one.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;When we divide a network beyond its default class, and use bits from the host portion as network bits; the router looks at the new mask and determines the network address regardless of the default class. This is called &lt;strong&gt;Classless Interdomain Routing (CIDR)&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;I'm not going to cover subnetting as there are a zillion good places to find more information, CBTNuggets explains it well, Todd Lammle, the Cisco Learning Discussions...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;A great site to practice is &lt;a href="http://www.subnettingquestions.com/"&gt;http://www.subnettingquestions.com/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Updated with this great link as well: &lt;a href="http://faculty.valleycollege.net/rpowell/jscript/subnet2.htm"&gt;http://faculty.valleycollege.net/rpowell/jscript/subnet2.htm&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;/span&gt;&lt;span style="font-family: Arial;"&gt;I'll review "my way" with the current question: "What is the first valid host on the subnetwork that the node 10.201.251.121/20 belongs to?"&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;10.201.251.121 is class A&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;/20 is 255.255.240.0, so third octet is important!&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;4 network bits in the relevant octet, 12 subnet bits in total so 2^12 is 4096, so&amp;nbsp;4096 possible&amp;nbsp;subnets. The formula is 2 to the n-th power where n is the number of network bits.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;4&amp;nbsp;host bits in the relevant octet so 2^4 is 16 (this is my block size or increment size). If we want the number of hosts it's 12 host bits (including last octet), so 2^12 minus 2 because we need to subtract 2 (network and broadcast address) so&amp;nbsp;4094 possible hosts&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;my block size is 16 so multiplications of 16 (0-16-32-48-64-80-96-112-etc), third octet is important and the closest to 251 is obviously 240&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;the network address is then 10.201.240.0, first possible address is 10.201.240.1 and broadcast is 10.201.255.255&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Please note that I know the multiplications of 8 and 16 by heart, this makes it all a lot easier.&amp;nbsp;However, I admit that my method is not the easiest :)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Contact me if you have questions.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-5526759074326133607?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/5526759074326133607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-20-ip-addressing-and-subnetting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/5526759074326133607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/5526759074326133607'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-20-ip-addressing-and-subnetting.html' title='Day 20: IP Addressing and Subnetting'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-7916284593471375170</id><published>2010-01-11T11:15:00.000-08:00</published><updated>2010-01-21T11:08:09.455-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 21: Switch Troubleshooting</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;I had to take a few days off but we're back and today's topic is basic switch troubleshooting. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Basic troubleshooting starts at Layer 1 with switch hardware issues and continue to Layer 2 with possible switch softwareor configuration issues. &lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Only last week I encountered a wrong labeling of an old wall jack! The LED indicators are really helpful, so use them. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;There's a variety of available show commands:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show running-config&lt;/strong&gt;: running configuration stored in RAM on the switch&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show startup-config&lt;/strong&gt;: startup configuration stored in NVRAM on the switch&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show version&lt;/strong&gt;: Cisco IOS software version, image name, memory and processor on a switch&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show interfaces&lt;/strong&gt;: includes addressing and security&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show mac-address-table&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show port-security&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Besides these we also have the Cisco Discovery Protocol. CDP can verify Layer 2 connectivity even when a Layer 3 IP address is not properly configured. It can also be used to learn about the hardware and software configuration of connected devices with CDP enabled. &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;no dcp run&lt;/strong&gt;: &amp;nbsp;will disable CDP globally on a switch (from global configuration mode)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;no cdp enable&lt;/strong&gt;: will disable CDP on a specific interface (from interface configuration mode)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show cdp&lt;/strong&gt;: shows whether its running on a switch, no info about connected neighbors&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show cdp neighbors&lt;/strong&gt;: uses Layer 2 CDP communication to discover and display information about directly connected Cisco devices and their platforms&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show cdp neighbors detail&lt;/strong&gt;: this includes the Layer 3 IP address&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-7916284593471375170?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/7916284593471375170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-21-switch-troubleshooting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7916284593471375170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/7916284593471375170'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-21-switch-troubleshooting.html' title='Day 21: Switch Troubleshooting'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1075102108837586133</id><published>2010-01-06T11:44:00.000-08:00</published><updated>2010-01-21T11:08:40.014-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 22: Switch Security</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The switchport can be assigned a static MAC address:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;mac-address-table static {host-mac-address} interface {interface} vlan {vlan}&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;and verified with &lt;strong&gt;show mac-address-table&lt;/strong&gt;, cleared with &lt;strong&gt;clear mac-address-table&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;This is how we secure a switchport:&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;enter the interface mode:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config)#&lt;strong&gt;interface fastEthernet 0/6&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;first we need to define whether the port is an access port (end host) or trunk ports.&amp;nbsp;A trunk port is configured to trunk multiple VLANs. Only access ports (with only one VLAN) can have port security enable. Notice that the default mode is trunk!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config-if)#&lt;strong&gt;switchport mode access&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;switchport port-security enables port security: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config-if)#&lt;strong&gt;switchport port-security&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config-if)#&lt;strong&gt;switchport port-security maximum 1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;this last command will not appear in show run because 1 is the default maximum!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;easiest way&amp;nbsp;is to allow the switch to dynamically learn the first&amp;nbsp;MAC address by enabling sticky.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config-if)#&lt;strong&gt;switchport port-security mac-address sticky&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;the switchport needs to go administratively down when a wrong device connects, other options are protected and restrict. The difference between these two is not that obvious, restrict will send a message.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config-if)#&lt;strong&gt;switchport port-security violation shutdown&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;we can also manually configure a MAC address for this port (if we remove port security), notice global configuration:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config)#&lt;strong&gt;mac-address-table static 0001.C7C1.E31C vlan 1 interface fastEthernet 0/6&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;use &lt;strong&gt;no mac-address-table...&lt;/strong&gt; to remove it&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config-if)#&lt;strong&gt;end &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2# &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;when an nauthorized device connects to the port, the switch shuts it down. Once this happened, the port must be administratively shutdown and re-enabled to bring it back online.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;S2(config-if)#&lt;strong&gt;shutdown&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S2(config-if)# &lt;strong&gt;no shutdown&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;it's important to secure unused switch ports, use ranges instead of manually doing one interface at a time. You can secure it by disabling the port or putting the port in an unused VLAN. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Speed and duplex can be set on a switch port like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;speed {speed-imegabits-per-second}&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;duplex {half | &lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;full}&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Other interesting show commands are: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;show port-security&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;show interfaces&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;show vlan&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;As a sidenote: we can delete VLAN database information and erase the startup configuration with the following two commands in privileged EXEC mode:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;delete flash:vlan.dat&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;erase startup-config&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1075102108837586133?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1075102108837586133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-22-switch-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1075102108837586133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1075102108837586133'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-22-switch-security.html' title='Day 22: Switch Security'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-8323683422538411281</id><published>2010-01-05T10:24:00.000-08:00</published><updated>2010-01-21T11:08:56.237-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 23: Switch Configuration</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Finally some action on switches, first connecting with a console (or rolled cable) and then a quick configuration:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The console configuration settings needed to connect to a Cisco device's console port are as follows:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Speed: 9600 bits per second&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Data bits: 8&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Parity: None&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Stop bit: 1&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Flow control: None&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;By default we'll receive &lt;strong&gt;user access or user EXEC&lt;/strong&gt;, only commands that show basic information about the operation and connectivity. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Switch&amp;gt;&lt;strong&gt;enable&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Now we're in &lt;strong&gt;Privileged EXEC&lt;/strong&gt; after entering enable. We can now adjust the operation of a switch and view configuration files.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Switch#&lt;strong&gt;configure terminal&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The &lt;strong&gt;configuration mode&lt;/strong&gt; allow us to configure the device and enter submodes for specific configurations (for example interface).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Switch(config)#&lt;strong&gt;hostname S1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config)#&lt;strong&gt;line console 0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-line)#&lt;strong&gt;password cisco&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-line)#&lt;strong&gt;login&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-line)#&lt;strong&gt;line vty 0 4&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-line)#&lt;strong&gt;password class&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-line)#&lt;strong&gt;login&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-line)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config)#&lt;strong&gt;enable password cisco&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config)#&lt;strong&gt;enable secret class&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Remotely accessing a switch for management requires an IP address and basic security information. This can be done in VLAN1, the logical interface used for management.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config)#&lt;strong&gt;interface vlan 1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-if)#&lt;strong&gt;ip address 192.168.1.2 255.255.255.0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-if)#&lt;strong&gt;no shutdown&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config-if)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Note that setting a default gateway for a switch is done in global configuration!!!&amp;nbsp;Although a switch&amp;nbsp;doesn't see Layer 3 and above information it's still necessary to configure the default gateway to remotely administer and configure the switch.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config)#&lt;strong&gt;ip default-gateway 192.168.1.1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1(config)#&lt;strong&gt;exit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;S1#&lt;strong&gt;copy running-config startup-config&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Destination filename [startup-config]? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Building configuration...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;[OK]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Other basic commands are:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;show history&lt;/strong&gt;: will show by default the last ten commands used&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;terminal history size 20&lt;/strong&gt;: changes the history size&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;service password-encryption&lt;/strong&gt;: used to encrypt the passwords in a config (except enable secret), this is still no solid security measure because it can &lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;easily be cracked.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The &lt;strong&gt;banner motd&lt;/strong&gt; is displayed upon connection to the switch either by Telnet or by the console port. The &lt;strong&gt;login banner&lt;/strong&gt; is displayed before the username and pasword login prompts on a Catalyst switch. See my other post with in depth explanation.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-8323683422538411281?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/8323683422538411281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-23-switch-configuration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8323683422538411281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8323683422538411281'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-23-switch-configuration.html' title='Day 23: Switch Configuration'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-3904902483551446854</id><published>2010-01-04T12:08:00.000-08:00</published><updated>2010-01-21T11:09:26.891-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 24: Switch Operation</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;As a reminder each switch port is its own collision domain. A switch maintains a &lt;strong&gt;MAC table&lt;/strong&gt;, when it doesn't know the port for a frame's destination MAC address it will then flood the frame out all other ports. It will not forward frames with errors or with the same source and destination. When we connect&amp;nbsp;a hub to a switch port, the switch will associate all MAC addresses of devices connected to that hub with that port. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;A switch port can operate in &lt;strong&gt;full-duplex&lt;/strong&gt; mode which allows is to alternately send and receive data simultaneously. They can also work in &lt;strong&gt;half-duplex&lt;/strong&gt; mode allowing it to alternately send and receive data but not simultaneously. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Switches attempt to autonegotiate the speed and either full- or half-duplex transmission when devices connect. If the device doesn't support &lt;strong&gt;autonegotiation&lt;/strong&gt;, the switch will default to the speed of the other device and half-duplex. We can turn autonegotiation off and manually set a switch to full or half duplex and speed of the connection.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Switches can operate in &lt;strong&gt;store and forward mode&lt;/strong&gt; which means that the entire frame is received before sending plus computes the CRC (introduces latency). It can also use &lt;strong&gt;cut-through mode&lt;/strong&gt; in which switches look at the first part of the frame (destination address) and immediately beings forwarding the frame out the approprate port. We also have modified cut-through, known as &lt;strong&gt;fragment-free &lt;/strong&gt;switching. This means checking the first 64 bytes before forwarding the frame. Ethernet specs state that collisions should be detected during the first 64 bytes of the frame, late collissions are still possible.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Switches use &lt;strong&gt;Spanning Tree Protocol (STP)&lt;/strong&gt; to avoid switching loops and set ports as blocking, listening, learning or forwarding. This is needed when you have redundant links between switches, which is normal in modern network design.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;To summarize we can use Layer 2 switches for address learning, packet forwarding and filtering, loop avoidance with the Spanning Tree Protocol.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-3904902483551446854?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/3904902483551446854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-24-switch-operation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3904902483551446854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/3904902483551446854'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-24-switch-operation.html' title='Day 24: Switch Operation'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1230021648052883177</id><published>2010-01-03T09:55:00.000-08:00</published><updated>2010-01-21T11:09:38.923-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 25: Media Access Control</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Ethernet &lt;strong&gt;media access control (MAC)&lt;/strong&gt; defines how a transmission is prepared for the phsycial media,&amp;nbsp;when&amp;nbsp;a device can transmit over the wire and to decypher received transmissions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;An &lt;strong&gt;Ethernet frame&lt;/strong&gt; is an OSI layer 2 PDU. Its maximum size is 64 bits and hosts do not process frames that are larger than 1518 bytes (giants) or smaller than 64 bits (runts).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;As a reminder the MAC address consists of 12 hexadecimal&amp;nbsp;digits and is 48 bits or 6 bytes. Cisco prefers to group them in three groups of 4 digits, for example: 01:23:45:67:89:ab&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: Arial;"&gt;It's important to remember that only hosts with an IP address use an ARP request to find the destination MAC and create a socket to identify the device.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Let's discuss &lt;strong&gt;CSMA/CD (Carrier Sense Multiple Access Collision&amp;nbsp;Detect)&lt;/strong&gt;: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;many stations can transmit on the same cable with CSMA/CD and no station has priority over another (multiple access). Before a station transmits, it listens on the wire (carrier sense) to make sure that no other station is transmitting. If a collision occurs, the transmitting stations detect the collission and run a backoff algorithm, its a random time that each station waits before retransmitting.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Collision domains&lt;/strong&gt;&amp;nbsp;can be increased by switches (and bridges) because switches filter and forward frames based on source and destination MACs. That ability is also called &lt;strong&gt;microsegmentation&lt;/strong&gt; of the network. Switches still forward all frames with FFFF:FFFF:FFFF as destination MAC address because it's a broadcast frame. Only routers do not forward these BC's. So, each switch port is its own collision domain and routers break up broadcast domains!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Layer 2 switches have these four advantages over bridges:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;A&amp;nbsp;high-speed backplane that enables multiple simultaneous conversations to occur.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Data-buffering capabilities that store and forward packets to the correct ports or port.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Higher port densities versus bridges.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Lower latency than bridges. Layer 2 switches are implemented in hardware, allowing millions of bits per second to be transmitted at the same time.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1230021648052883177?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1230021648052883177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-25-media-access-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1230021648052883177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1230021648052883177'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-25-media-access-control.html' title='Day 25: Media Access Control'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-2234293369340707923</id><published>2010-01-03T09:15:00.000-08:00</published><updated>2010-01-21T11:07:38.203-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 26: Network Physical Media</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Before finally moving on to working with swiches, we can review a bit by viewing a short study video available at the Cisco Learning Home page:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Understanding the TCP/IP Internet Layer: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="https://learningnetwork.cisco.com/docs/DOC-1301"&gt;https://learningnetwork.cisco.com/docs/DOC-1301&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A directed-broadcast address &lt;/strong&gt;is an address that has all 1s in the host field.&amp;nbsp;It allows the network administrator to address every host on a subnet. When directed broadcast is enable (directed-broadcast command) a router translate of layer 3 broadcast into layer 2 broadcast. It can be use to target all host in subnet to perform remote management or administration services (WOL, DHCP relay).&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Unshielded twisted-pair (UTP)&lt;/strong&gt; cabling is a type of twisted-pair cable that relies solely on the cancellation effects produced by the twisted wire pairs to limit electromagnetic interference (EMI) and radio frequency interference (RFI). UTP cable is often installed using an RJ-45 connector, and UTP cabling must follow precise specifications dictating how many twists are required per meter of cable.&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; The advantages of UTP are ease of installation and low cost. A disadvantage of UTP is that it is more prone to EMI than other types of media.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Shielded twisted-pair (STP) &lt;/strong&gt;cable combines the twisting techniques of UTP, but each pair of wires is wrapped in a metallic foil. The four pairs of wires are then wrapped in a metallic braid or foil. STP reduces electrical noise and EMI. STP is installed with an STP data connector but can also use an RJ-45 connector. An advantage of STP is that it is more resistant to outside interference; a disadvantage is that it is more expensive and difficult to install.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Both UTP and STP have a &lt;strong&gt;maximum cable length of 100m&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;A coaxial cable&lt;/strong&gt; carries electrical&lt;/span&gt; signals over a copper wire and is capable of longer lengths than UTP.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Fiber-optic cables&lt;/strong&gt; send and receive data with pulses of light. Multimode is less expensive than single-mode but cannnot go such long distances (2000m for multimode).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;TIA/EIA defines the wiring schemes&amp;nbsp;T568A and T568B for network cables.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A straight-through cable&lt;/strong&gt; is used to connect unlike devices, like switch to router, hub to pc, switch to pc&amp;nbsp;- think of it things that are meant to be connected! They're wired the same way at both ends. This cable uses pins 1, 2, 3, and 6. The send and receive wires are not crossed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Crossover cables&lt;/strong&gt; are used to connect like devices, like pc to pc, hub to hub, switch to switch but also hub to switch! It's a cable that has the send and receive wires crossed at one of the ends. In a Category 5 cable, the 1 and 3 wires are switched and the 2 and 6 wires are switched at one end of the cable.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A console cable&lt;/strong&gt; is used to connect to the console port on a router or switch for configuring the device. It's also called a rolled cable.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A serial cable&lt;/strong&gt; is used to connect a router to an Internet connection.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Ethernet IEEE 802.3&lt;/strong&gt; (10BASE or baseband signal rate of 10Mbps)&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;10BASE2:&lt;/strong&gt; Known as thin Ethernet, this specification uses thin coaxial cable as its medium and&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; provides access for multiple stations on the same segments.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;10BASE5:&lt;/strong&gt; Called thick Ethernet, this specification uses a thick coaxial cable as its medium. The maximum segment length of 10BASE5 is over twice that of 10BASE2.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;10BASE-T:&lt;/strong&gt; This specification provides access for a single station only, so all stations connect to a switch or hub. The physical topology of 10BASE-T is that of a star network. It uses unshielded twisted-pair (UTP) cable Category 3, 4, 5, and 5e as its network medium.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Fast Ethernet IEEE 802.3u &lt;/strong&gt;(raises Ethernet standard of 10Mbps to 100Mbps)&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;100BASE-FX&lt;/strong&gt;: Uses two strands of multimode fiber-optic cable as its medium and has a maximum segment length of 400 meters.&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;100BASE-T&lt;/strong&gt;: Defines UTP as its medium and has a maximum segment length of 100 &lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;meters.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;100BASE-T4&lt;/strong&gt;: Uses four pairs of Cat 3 to 5 UTP as its medium. It maximum segment length is 100 meters.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;100BASE-TX&lt;/strong&gt;: Specifies two pairs of UTP or shielded twisted-pair (STP) cable as its medium with a maximum segment distance of 100 meters.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;We also have these Gigabit possibilities:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;1000BASE-T&lt;/strong&gt;: 100 meters&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;1000BASE-LX&lt;/strong&gt;: 550 meters for multimode fiber, 10 km for single-mode fiber&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;1000BASE-SX&lt;/strong&gt;: 250 meters for multimode fiber, 550 meters for single-mode fiber&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;1000BASE-CX&lt;/strong&gt;: 25 meter&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-2234293369340707923?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/2234293369340707923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-26-network-physical-media.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2234293369340707923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2234293369340707923'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-26-network-physical-media.html' title='Day 26: Network Physical Media'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-6889485740461075314</id><published>2010-01-01T05:59:00.000-08:00</published><updated>2010-01-04T11:09:14.927-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 27: Troubleshooting and LAN versus WAN</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The OSI and TCP/IP models provide an excellent framework for troubleshooting. You can isolate the network issues to a particular layer and test the protocols and configurations for that layer. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;You can work &lt;strong&gt;top down&lt;/strong&gt;, starting with the application layer (are other apps working?), or &lt;strong&gt;bottom up&lt;/strong&gt;, are the problems caused by media connections or power to a device. Experienced troubleshooters will often begin at the layer indicated by the symptoms of a particular problem, this is called &lt;strong&gt;divide and conquer&lt;/strong&gt;. In addition to this you could troubleshoot through trail and error or substitution.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;ipconfig&lt;/strong&gt; shows the IP configuration.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;ping &lt;/strong&gt;tests the network layer connectivity between devices.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;tracert&lt;/strong&gt; tests connectivity and displays each hop.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;netstat &lt;/strong&gt;shows current&amp;nbsp;TCP/IP network connections to the device and protocol statistics.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;nslookup&lt;/strong&gt; queries the configured name serve for DNS information.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;As a reminder of yesterday: a physical topology represents the location of the hardware and the logical topology represents how the devices use the network. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;LANs&lt;/strong&gt; today often represent the logical grouping of hosts for a single organization. Network administrators typically refer to the network they maintain in their building(s) as a LAN or&amp;nbsp;a private intranet.&amp;nbsp;LANs support high data transfer rates over Ethernet or wireless protocols in a smaller geographic area. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;A wide-area-network (&lt;strong&gt;WAN&lt;/strong&gt;) provides relatively lower data transfer rates over a larger geographical area. These connectivities can be symmetric or assymetric. An &lt;strong&gt;assymetric connection&lt;/strong&gt; typically has a faster download speed than upload speed. &lt;strong&gt;Symmetric connections&lt;/strong&gt; on the other hand provide the same upload an download speed. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;These are some WAN connections:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A point-to-point (PPP) connection&lt;/strong&gt; provides a specific dedicated path through the TSP network to connect two LANs over large distances.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A circuit-switched WAN connection&lt;/strong&gt; allows the client to create and close connections over the TSP network (uses the entire connection), operates lke a phone call - an example is ISDN.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A packet-switched WAN connection&lt;/strong&gt; allows multiple clients to share a single connection (uses a virtual circuit).&amp;nbsp;An example is Frame Relay.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;WANs operate at the physical and data link layers of the OSI model&lt;/strong&gt;. &amp;nbsp;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-6889485740461075314?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/6889485740461075314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-27-identify-and-correct-common.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6889485740461075314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6889485740461075314'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2010/01/day-27-identify-and-correct-common.html' title='Day 27: Troubleshooting and LAN versus WAN'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-586458282016119404</id><published>2009-12-31T14:25:00.000-08:00</published><updated>2010-01-04T11:09:51.404-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 28: Network Diagrams and Topology</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;A physical topology&lt;/strong&gt; displays actual device and wiring locations to help you efficiently locate and troubleshoot devices - we have bus, ring, mesh, star or extended star topologies. It maps the location of OSI Layer 1 devices and media. So it refers to the physical layout of devices and network media.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A logical map of the network topology&lt;/strong&gt; groups hosts and devices by how they use the network. A logical topology map displays hostnames, address groups, network access and applications on a network. The logical topology identifies the Layer 1 devices but focuses on the Layer 3 addressing, access and upper-layer applications, regardless of location. It refers to the logical paths in which data accesses the media and transmits packets accross it. Ethernet uses a logical bus topology and either a physical bus or star topology.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The backbone for the Internet are&lt;strong&gt; IXPs&lt;/strong&gt; (Internet Exchange Points) and &lt;strong&gt;NAPs&lt;/strong&gt; (Network Access Points), ISPs use these to connect to each other.&lt;/span&gt; &lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial;"&gt;An&amp;nbsp;Ethernet address or &lt;strong&gt;media access control (MAC) address&lt;/strong&gt; provides a unique identity for a host but does not provide information about the host's location, typically burned into the adapter and usually displayed in a hexadeximal format. The first 24 bits are vendor specific (OUI), the other are vendor assigned. The Internet Protocol (IP) address identifies the location of a host in a divided hierarchical network - remember: access, distribution and core layer.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A hub&lt;/strong&gt; is a multiport device that simply regenerates a received signal to all ports except the port where the signal is received. The bandwith is shared and only one device can communicate at a time. All connected devices are in the same collission domain. Even with a collision will the hub forward the frame with errors out all ports where it'll be discarded by the NIC.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A switch&lt;/strong&gt; is also a multiport device that reads each frame's MAC address, maintains a MAC table of which hosts are attached to which port, and forwards frames based on the destination MAC address. Bandwith is not shared between the switch creates temporary circuits, so each port is its own collision domain! When a MAC is not yet learned the swith'll flood the frame out all other ports. Frames with errors or with same source and destination will not be forwarded.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Switches have these &lt;strong&gt;advantages over bridges&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;a high-speed backplane that enables multiple simultaneous conversations to occur.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;data-buffering capabilities that store and forward packets to the correct ports or port.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;higher port densities versus bridges.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;lower latency than bridges. Layer 2 switches are implemented in hardware, allowing millions of bits per second to be transmitted at the same time.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;A network with switches and hubs form a single &lt;strong&gt;broadcast domain&lt;/strong&gt;. Broadcast messages (to all other hosts on a network) use all F's as the destination MAC address. When only the IP address of the destination is known , the sending host can use &lt;strong&gt;address resolution protocol (ARP)&lt;/strong&gt;&amp;nbsp;- also check my other post concerning gratuitious arp. ARP is a local broadcast sent to all devices on the local segment to find the MAC address of a host.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: Arial;"&gt;Remember these things about routers:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;they connect networks and route packets to their destination networks.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;routers can look at the MAC address to determine a frame's destination, but also decapsulate the frame to look at the destination IP address located in the header of the IP packet.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;routers look at the network portion of the destination IP address, re-encapsulate the packet and forward it to its destination.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;routers maintain a routing table of connected networks, it's referenced to determine which interface connects to thet destination network.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;routers do not forward frames with a broadcast MAC address, so each port is its own broadcast domain. It's clear now that routers divide broadcast domains.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;routers drop packets when it has no entry for a destination network (use a default route).&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;A Lan segment&lt;/strong&gt; is a network connection made by a single unbroken network cable, they are limited by physical distance. You can extend it by using hubs, repeaters, bridges and switches.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-586458282016119404?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/586458282016119404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-28-interpret-network-diagrams.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/586458282016119404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/586458282016119404'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-28-interpret-network-diagrams.html' title='Day 28: Network Diagrams and Topology'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-5722850401999474861</id><published>2009-12-30T11:29:00.000-08:00</published><updated>2010-01-04T11:10:29.488-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 29: Layered Model Protocols</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The &lt;strong&gt;IEEE 802.3 Committee&lt;/strong&gt; develops the standards for &lt;strong&gt;Ethernet&lt;/strong&gt; technologies, here are some important ones:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;DIX&lt;/strong&gt;: Digital Intel and Xerox for 10Mbps over coaxial cable&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE &lt;strong&gt;802.3 10BASE-5&lt;/strong&gt;:&amp;nbsp;&amp;nbsp; 10Mbs baseband over coaxial cable (thicknet), 500m distance&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE &lt;strong&gt;802.3a 10BASE-2&lt;/strong&gt;: 10Mbs baseband over coaxial cable (thinnet), 200m distance&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE &lt;strong&gt;802.3i 10BASE-T&lt;/strong&gt;:&amp;nbsp; 10Mbs baseband over twisted-pair copper, 100m distance&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE&lt;strong&gt; 802.3j 10BASE-F&lt;/strong&gt;: &amp;nbsp;10Mbs baseband over fiber&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE &lt;strong&gt;802.3u 100BASE-T&lt;/strong&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;100Mbs baseband over twisted pair&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE &lt;strong&gt;802.3z 1000BASE-X&lt;/strong&gt;:&amp;nbsp;&amp;nbsp; 1 Gbps baseband over fiber&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IEEE &lt;strong&gt;802.3an 10G BASE-T&lt;/strong&gt;: 10Gbps over twisted pair&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;The two most common&amp;nbsp;&lt;strong&gt;Transport layer protocols&lt;/strong&gt; are TCP (protocol number 6) and User Datagram Protocol (UDP, protocol number 17). &lt;/span&gt;&lt;span style="font-family: Arial;"&gt;UDP, in contrary to TCP does not acknowledge or retransmit segments. These transport layer protocols use ports to identify a service. The client&amp;nbsp; uses a destination port, source port (16 bits and unregistered in the 1025 to 65535 range), destination IP address and source IP address to create a socket that identificies the server and service. The combination of a port and Layer 3 IP address creates a &lt;strong&gt;socket&lt;/strong&gt;. &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;21 - FTP, client makes request on server on port 21 (command), server responds with data on port 20 (data transfer)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;22 - SSH&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;23 - Telnet&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;25 - SMTP&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;53 - DNS&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;67 - DHCP, messages from a client to a server are sent to the 'DHCP server' port (67), and DHCP messages from a server to a client are sent to the 'DHCP client' port (68)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;69 - TFTP&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;80 - HTTP&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;110 - POP3&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;143 - IMAP4&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;161 - SNMP&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;443 - HTTPS, uses Secure Socket Layer (SSL)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;520 - RIP&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;Many well-known applications have assignments to well-known ports, the &lt;strong&gt;range for these well-known or registered ports is 0 to 1023&lt;/strong&gt;. Applications will use these as destination but &lt;strong&gt;a client will dynamically select a port as source from the range 1024 to 65535&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;TCP is a &lt;strong&gt;connection-oriented&lt;/strong&gt; protocol, while UDP is &lt;strong&gt;connectionless&lt;/strong&gt; and more a best-effort attempt. TCP uses a &lt;strong&gt;three-way handshake&lt;/strong&gt;, this is summarized in sending a SYN request, SYN-ACK reply and the ACK to conmplete the connection. TCP is &lt;strong&gt;reliable&lt;/strong&gt; with acknowledgment, checksums, timers, retransmission, windowing, flow control, packet&amp;nbsp;sequencing. UDP is &lt;strong&gt;unreliable&lt;/strong&gt; and if needed other layers should implement reliability. Off course, this means that TCP has more &lt;strong&gt;overhead&lt;/strong&gt;. &lt;strong&gt;Reliability&lt;/strong&gt; is measured by the mean time between failures (MTBF) and mean time to repair (MTTR), redundant hardware/connections helps a lot.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Remember that &lt;strong&gt;DNS uses both UDP and TCP &lt;/strong&gt;to send messages, the larger or more important exchanges of information (for example zone transfers), TCP will be used because of its reliability and ability to handle messages of any size.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Remember that&lt;strong&gt; IP&lt;/strong&gt; is a connectionless protocol, uses&amp;nbsp;hierarchical addressing,&amp;nbsp;delivers data on a best-effort basis and has no built-in data recovery.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Session multiplexing&lt;/strong&gt; is provided by the transport layer. It multiplexes several sessions onto one logical link and keeps track of which messages belong to which sessions (session layer). An example is a single computer with one IP address that has several websites open at once.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Windowing &lt;/strong&gt;(flow control) allows the sender to transmit a specified number of unacknowledged segments. The window field is a number that implies the maximum number of unacknowledged bytes allowed outstanding at any time.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Ethernet 802.3&lt;/strong&gt; is based on the CSMA/CD process, specifies the physical layer and the MAC portion of the data link layer.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;NIC &lt;/strong&gt;communicates with the network through a serial connection and communicates with the computer through a parallel connection.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Four functions of ICMP &lt;/strong&gt;are flow control, detect unreachable destinations, redirect routes and check remote hosts.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-5722850401999474861?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/5722850401999474861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-29-describe-purpose-and-basic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/5722850401999474861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/5722850401999474861'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-29-describe-purpose-and-basic.html' title='Day 29: Layered Model Protocols'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-2056148472159644920</id><published>2009-12-29T11:46:00.000-08:00</published><updated>2010-01-04T11:10:55.282-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 30: Layered Model Applications</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Don't forget to distinguish between the &lt;strong&gt;Open Systems Interconnection (OSI)&lt;/strong&gt; model and the &lt;strong&gt;Transmission Control Protocol/Internet Protocol (TCP/IP)&lt;/strong&gt; model - stacks made up of layers.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The&amp;nbsp; &lt;strong&gt;TCP/IP&lt;/strong&gt; model has four layers:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Application &lt;/strong&gt;layer (http, &lt;strong&gt;data&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Transport&lt;/strong&gt; layer (TCP, UDP, &lt;strong&gt;segments&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Internet &lt;/strong&gt;layer (IP, ICMP, ARP, RARP, &lt;strong&gt;packets&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Network acces&lt;/strong&gt; layer (&lt;strong&gt;frames&lt;/strong&gt;, &lt;strong&gt;bits&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;&lt;/span&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;OSI &lt;/strong&gt;model has seven layers:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Application&lt;/strong&gt; (ftp, http, dns, dhcp, snmp, telnet, smtp, &lt;strong&gt;data&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Presentation &lt;/strong&gt;(mime, ssl, shells, ascii, .txt, also known as the translator, &lt;strong&gt;data&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Session&lt;/strong&gt; (SQL, API, RPC, NetBIOS, &lt;strong&gt;data&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Transport&lt;/strong&gt; (TCP, UDP, &lt;strong&gt;segments&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Network&lt;/strong&gt; (IP, NAT, &lt;strong&gt;packets&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Data link&lt;/strong&gt; (MAC, error correction, FDDI, HDLC, Frame Relay, &lt;strong&gt;frames&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Physical&lt;/strong&gt; (&lt;strong&gt;bits&lt;/strong&gt;)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial;"&gt;If you &lt;strong&gt;compare&amp;nbsp;both models&lt;/strong&gt;, its important to remember that the Network access layer of TCP/IP is the same as the first two OSI-layers (data link and physical)!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The OSI upper layers deal with the data's format, organization and communication. The lower layers implement protocols to transport and route data across a network.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Don't forget that &lt;strong&gt;a layered model has several benefits&lt;/strong&gt;: helps design of protocols, interoperability of vendors, changing one technology without affecting other layers, common terminology to teach and learn.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;data link layer&lt;/strong&gt; has two sublayers to provide physical media indepedence: the upper &lt;strong&gt;logical link control (LLC)&lt;/strong&gt; &lt;strong&gt;layer&lt;/strong&gt;&amp;nbsp; and the lower &lt;strong&gt;media access control (MAC) layer&lt;/strong&gt;. The &lt;strong&gt;Ethernet protocol&lt;/strong&gt; operates at the data link and physical layer of the OSI model!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;LLC&lt;/strong&gt;: what to do with a packet after it is receive.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;MAC&lt;/strong&gt;: how data is placed and transported over the physical wire.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The layers communicate with each other using &lt;strong&gt;service access points (SAP)&lt;/strong&gt; and &lt;strong&gt;protocol data units (PDU)&lt;/strong&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;Encapsulation&lt;/strong&gt; wraps data with the necessary protocol information before network transmission.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-2056148472159644920?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/2056148472159644920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-30-use-osi-and-tcpip-models-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2056148472159644920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2056148472159644920'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-30-use-osi-and-tcpip-models-and.html' title='Day 30: Layered Model Applications'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-1748519384816748113</id><published>2009-12-28T10:31:00.000-08:00</published><updated>2009-12-28T11:02:35.837-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>Day 31: Network Components and Operation</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;We have a &lt;strong&gt;three-layer hierarchical model&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Access layer devices&lt;/strong&gt; that connect hosts on a LAN to provide users with access (hubs, bridges and switches).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Distribution layer devices&lt;/strong&gt; that provide connectivity between LANs, obviously we find routers here.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Core layer devices&lt;/strong&gt; that provide high-speed connectivity between distribution layer devices.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;A hub&lt;/strong&gt; is an ethernet networking device with multiple ports that regenerates a signal it receives on one port to all other ports. The bandwith is shared by all devices and if two send at the same time we get collisions. Think of it as a multiport repeater.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;The switch&lt;/strong&gt; is a multiport networking device that looks at the destination physical address of a received frame on one port to forward the frame to the port where that host is connected. Communication is through temporary circuits, avoiding collisions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;A bridge&lt;/strong&gt; is a two-port switch that can be used to divide a large, hub-based collision domain.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Routers&lt;/strong&gt; look at the destination IP address of a received packet and forward the packet to its destination network. They also determine the best path for a packet to its destination network.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Interconnections&lt;/strong&gt;&amp;nbsp;are a physical component that provides a means for data to travel accross the network, this includes NICs, network media and connectors.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Remember that &lt;strong&gt;collaborations and databates&lt;/strong&gt; are two of the most common network applications.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Batch applications&lt;/strong&gt; are started and complete on their own without further interaction, &lt;strong&gt;Interactive apps&lt;/strong&gt; are requested from a server by a user who then waits for a reply.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;A physical topology&lt;/strong&gt; defines the physical components of the network like cables, devices while &lt;strong&gt;the logical topology&lt;/strong&gt; defines the data path of the network.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;Passive attack &lt;/strong&gt;refers to monitoring and gathering data, close-in is also gaining close proximity for a wireless tap. &lt;strong&gt;Active&lt;/strong&gt; is trying to break or bypass security. &lt;strong&gt;Access attacks&lt;/strong&gt; are exploiting known flaws (passwords, man-in-the-middle, trojan horses, etc.).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Always use &lt;strong&gt;SSH&lt;/strong&gt; (or SSL and IPsec) because it encrypts all data, &lt;strong&gt;telnet&lt;/strong&gt; sends it all in clear text.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;About &lt;strong&gt;networks&lt;/strong&gt;: a main office can have hundreds or thousands of people who depend on network access. Its a connected collection of devices that can communicate with each other and the purpose is to create a means to provide all workers with access to all information and components that are accessible by the network.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;The &lt;strong&gt;purpose of network interconnections&lt;/strong&gt; is to provide a means for data to travel from one point to another.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;strong&gt;The main threath to a closed network&lt;/strong&gt; is misuse by employees.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-1748519384816748113?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/1748519384816748113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-31-network-components-and-operation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1748519384816748113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/1748519384816748113'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2009/12/day-31-network-components-and-operation.html' title='Day 31: Network Components and Operation'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-8036799216171802917</id><published>2009-12-28T10:06:00.000-08:00</published><updated>2009-12-28T11:09:27.111-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='31 days b4 CCENT'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>31 Days Before Your CCENT Certification</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;I took the ICND1 course at globalknowledge which was quite good and to reinforce everything I decided to follow the book "31 Days Before Your CCENT Certification". I'll try to post summaries for most of the days.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Other stuff I'll use are CBT Nuggets, CCNA Flash Cards, Packet Tracer, GNS3 and the Cisco Learning Network page.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;There are loads of good sites which I'll try to share as well.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;Ok, let's start!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-8036799216171802917?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/8036799216171802917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2009/12/31-days-before-your-ccent-certification.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8036799216171802917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/8036799216171802917'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2009/12/31-days-before-your-ccent-certification.html' title='31 Days Before Your CCENT Certification'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-2408069259889239304</id><published>2009-12-20T10:24:00.000-08:00</published><updated>2009-12-31T11:14:32.551-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><title type='text'>Gratuitous ARP</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Gratuitous ARP could mean both gratuitous ARP request or gratuitous ARP reply. Gratuitous in this case means a request/reply that is not normally needed according to the ARP specification (RFC 826) but could be used in some cases. A gratuitous ARP request is an Address Resolution Protocol request packet where the source and destination IP are both set to the IP of the machine issuing the packet and the destination MAC is the broadcast address ff:ff:ff:ff:ff:ff. Ordinarily, no reply packet will occur. A gratuitous ARP reply is a reply to which no request has been made. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Full explanation can be found at wireshark: &lt;/span&gt;&lt;span style="font-family: Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://wiki.wireshark.org/Gratuitous_ARP"&gt;http://wiki.wireshark.org/Gratuitous_ARP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-2408069259889239304?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/2408069259889239304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2009/12/gratuitous-arp-could-mean-both.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2408069259889239304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/2408069259889239304'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2009/12/gratuitous-arp-could-mean-both.html' title='Gratuitous ARP'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-198728554863192297.post-6118860553361664400</id><published>2009-12-20T06:54:00.000-08:00</published><updated>2009-12-28T11:09:53.663-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='ICND1'/><title type='text'>difference between banner login and banner motd</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Both are shown before login but&lt;em&gt; banner motd&lt;/em&gt; is shown first.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;For &lt;em&gt;banner login&lt;/em&gt; you need to have the &lt;em&gt;login&lt;/em&gt; command. If you configure &lt;em&gt;no login&lt;/em&gt; under the line config, the login banner will never show.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The following config:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;banner login ^C&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;This is a login banner&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;^C&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;banner motd ^C&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;This is a MOTD banner&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;^C&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;!&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;line con 0&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;password cisco&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;login&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;will give this output when connecting to the console:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;This is a MOTD banner&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;This is a login banner&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;User Access Verification&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;em&gt;Password:&lt;/em&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/198728554863192297-6118860553361664400?l=it-vault.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-vault.blogspot.com/feeds/6118860553361664400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-vault.blogspot.com/2009/12/cisco-difference-between-banner-login.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6118860553361664400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/198728554863192297/posts/default/6118860553361664400'/><link rel='alternate' type='text/html' href='http://it-vault.blogspot.com/2009/12/cisco-difference-between-banner-login.html' title='difference between banner login and banner motd'/><author><name>Johan Soetens</name><uri>https://profiles.google.com/101942149446624260739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4yiGLS9zis0/AAAAAAAAAAI/AAAAAAAAACM/ro2vPfAOEJs/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
