Saturday, February 17, 2018
Saturday, March 27, 2010
WINDOWS NETWORK AND SYSTEM SECURITY
Step 1 - Modify Explorer.exe File
In order to make the changes, the file explorer.exe located at C:\Windows needs to be edited. Since explorer.exe is a binary file it requires a special editor. For purposes of this article I have used Resource Hacker. Resource HackerTM is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Microsoft Windows 95/98/ME, Windows NT, Windows 2000 and Windows XP operating systems.
get this from h**p://delphi.icm.edu.pl/ftp/tools/ResHack.zip
The first step is to make a backup copy of the file explorer.exe located at C:\Windows\explorer. Place it in a folder somewhere on your hard drive where it will be safe. Start Resource Hacker and open explorer.exe located at C:\Windows\explorer.exe.
The category we are going to be using is "String Table". Expand it by clicking the plus sign then navigate down to and expand string 37 followed by highlighting 1033. If you are using the Classic Layout rather than the XP Layout, use number 38. The right hand pane will display the stringtable. We’re going to modify item 578, currently showing the word “start” just as it displays on the current Start button.
There is no magic here. Just double click on the word “start” so that it’s highlighted, making sure the quotation marks are not part of the highlight. They need to remain in place, surrounding the new text that you’ll type. Go ahead and type your new entry. In my case I used Click Me!
You’ll notice that after the new text string has been entered the Compile Script button that was grayed out is now active. I won’t get into what’s involved in compiling a script, but suffice it to say it’s going to make this exercise worthwhile. Click Compile Script and then save the altered file using the Save As command on the File Menu. Do not use the Save command – Make sure to use the Save As command and choose a name for the file. Save the newly named file to C:\Windows.
Step 2 – Modify the Registry
!!!make a backup of your registry before making changes!!!
Now that the modified explorer.exe has been created it’s necessary to modify the registry so the file will be recognized when the user logs on to the system. If you don’t know how to access the registry I’m not sure this article is for you, but just in case it’s a temporary memory lapse, go to Start (soon to be something else) Run and type regedit in the Open field. Navigate to:
HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon
In the right pane, double click the "Shell" entry to open the Edit String dialog box. In Value data: line, enter the name that was used to save the modified explorer.exe file. Click OK.
Now for NETWORK AND SYSTEM SECURITY Close Registry Editor and either log off the system and log back in, or reboot the entire system if that’s your preference. If all went as planned you should see your new Start button with the revised text.[/b]
In order to make the changes, the file explorer.exe located at C:\Windows needs to be edited. Since explorer.exe is a binary file it requires a special editor. For purposes of this article I have used Resource Hacker. Resource HackerTM is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Microsoft Windows 95/98/ME, Windows NT, Windows 2000 and Windows XP operating systems.
get this from h**p://delphi.icm.edu.pl/ftp/tools/ResHack.zip
The first step is to make a backup copy of the file explorer.exe located at C:\Windows\explorer. Place it in a folder somewhere on your hard drive where it will be safe. Start Resource Hacker and open explorer.exe located at C:\Windows\explorer.exe.
The category we are going to be using is "String Table". Expand it by clicking the plus sign then navigate down to and expand string 37 followed by highlighting 1033. If you are using the Classic Layout rather than the XP Layout, use number 38. The right hand pane will display the stringtable. We’re going to modify item 578, currently showing the word “start” just as it displays on the current Start button.
There is no magic here. Just double click on the word “start” so that it’s highlighted, making sure the quotation marks are not part of the highlight. They need to remain in place, surrounding the new text that you’ll type. Go ahead and type your new entry. In my case I used Click Me!
You’ll notice that after the new text string has been entered the Compile Script button that was grayed out is now active. I won’t get into what’s involved in compiling a script, but suffice it to say it’s going to make this exercise worthwhile. Click Compile Script and then save the altered file using the Save As command on the File Menu. Do not use the Save command – Make sure to use the Save As command and choose a name for the file. Save the newly named file to C:\Windows.
Step 2 – Modify the Registry
!!!make a backup of your registry before making changes!!!
Now that the modified explorer.exe has been created it’s necessary to modify the registry so the file will be recognized when the user logs on to the system. If you don’t know how to access the registry I’m not sure this article is for you, but just in case it’s a temporary memory lapse, go to Start (soon to be something else) Run and type regedit in the Open field. Navigate to:
HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon
In the right pane, double click the "Shell" entry to open the Edit String dialog box. In Value data: line, enter the name that was used to save the modified explorer.exe file. Click OK.
Now for NETWORK AND SYSTEM SECURITY Close Registry Editor and either log off the system and log back in, or reboot the entire system if that’s your preference. If all went as planned you should see your new Start button with the revised text.[/b]
Tuesday, March 23, 2010
keyboard shortcut 2
General Keyboard ShortcutsAlt + D Move focus to address bar in Windows Explorer and Internet ExplorerAlt + D, Tab Move focus to search bar in Windows Explorer and Internet ExplorerAlt + Enter Open Properties window of selected itemAlt + Esc Cycle through all open windows.Alt + P Turn Preview Pane on or off in Windows ExplorerAlt + Left Arrow Go back in Windows ExplorerAlt + Right Arrow Go forward in Windows ExplorerAlt + underlined letter Display the corresponding menu or Perform the menu commandAlt + Up Arrow Go Up a directory in Windows ExplorerAlt + Tab select a open items or windows to see.Alt + Spacebar Open menu of the current active windowCtrl + Alt + Tab Use the arrow keys to switch between open items or windowsCtrl + Down Arrow Move the cursor to the beginning of the next paragraphCtrl + Up Arrow Move the cursor to the beginning of the previous paragraphCtrl + Left Arrow Move the cursor to the beginning of the previous wordCtrl + Right Arrow Move the cursor to the beginning of the next wordCtrl + Shift + Arrow Select a block of textCtrl + Arrow + Spacebar Select multiple individual items in a window or on the desktopCtrl + A Select all items in active open windowCtrl + C Copy the selected itemCtrl + Esc Open Start menuCtrl + Mouse Wheel Increase or decrease icon size in current active Windows Explorer window or desktopCtrl + N Opens new Windows Explorer or Internet Explorer windowCtrl + Shift + N Creates a New Folder on the active desktop or in the active Windows Explorer window.Ctrl + Shift + Esc Open Task ManagerCtrl + V Paste the selected itemCtrl + X Cut the selected itemCtrl + Y Redo an actionCtrl + Z Undo an actionDelete Delete the selected item and move it to the Recycle BinEnd Scroll to the bottom of the current active windowEsc Cancel the current taskHome Scroll to the top of the current active windowRight Arrow Open the next menu to the right, or open a submenuLeft Arrow Open the next menu to the left, or close a submenuShift + Arrow Select more than one item in a window or on the desktop, or select text within a documentShift + Delete Delete selected item permanently without it going to the Recycle Bin first.Shift + Left Click Select a item or multiple itemsShift (when you insert a CD) Prevent the CD from automatically playingCalculator Keyboard ShortcutsAlt+1 Switch to Standard modeAlt+2 Switch to Scientific modeAlt+3 Switch to Programmer modeAlt+4 Switch to Statistics modeAlt + C Calculate or solve date calculations and worksheetsCtrl + E Open date calculationsCtrl + H Turn calculation history on or offCtrl + L Press the MC buttonCtrl + M Press the MS buttonCtrl + P Press the M+ buttonCtrl + Q Press the M- buttonCtrl + R Press the MR buttonCtrl + U Open unit conversionDel Press the CE buttonEsc Press the C buttonF1 Open Calculator HelpF9 Press the +/– buttonR Press the 1/× button@ Press the square root buttonCtrl+ Shift + D Clear the calculation historyEnter Recalculate the calculation history after editingEsc Cancel editing the calculation historyF2 Edit the calculation historyDown Arrow Navigate down in the calculation historyUp Arrow Navigate up in the calculation historyD Press the Mod button in Scientific modeI Press the Inv button in Scientific modeL Press the log button in Scientific modeM Press the dms button in Scientific modeN Press the ln button in Scientific modeO Press the cos button in Scientific modeP Press the pi button in Scientific modeQ Press the x^2 button in Scientific modeS Press the sin button in Scientific modeT Press the tan button in Scientific modeV Press the F-E button in Scientific modeX Press the Exp button in Scientific modeY Press the x^y button in Scientific modeCtrl + B Press the 3√x button in Scientific modeCtrl + G Press the 10x button in Scientific modeCtrl + O Press the cosh button in Scientific modeCtrl + S Press the sinh button in Scientific modeCtrl + T Press the tanh button in Scientific modeCtrl + Y Press the y√x button in Scientific modeF3 Select Degrees in Scientific modeF4 Select Radians in Scientific modeF5 Select Grads in Scientific mode; Press the Int button in Scientific mode# Press the x^3 button in Scientific mode! Press the n! button in Scientific modeF2 Select Dword in Programmer modeF3 Select Word in Programmer modeF4 Select Byte in Programmer modeF5 Select Hex in Programmer modeF6 Select Dec in Programmer modeF7 Select Oct in Programmer modeF8 Select Bin in Programmer modeF12 Select Qword in Programmer modeJ Press the RoL button in Programmer modeK Press the RoR button in Programmer mode<> Press the Rsh button in Programmer mode% Press the Mod button in Programmer mode Press the Or button in Programmer mode^ Press the Xor button in Programmer mode~ Press the Not button in Programmer mode& Press the And button in Programmer modeSpacebar Toggles the bit value in Programmer modeA Press the Average button in Statistics modeD Press the CAD button in Statistics modeS Press the Sum button in Statistics modeT Press the S.D. button in Statistics modeCtrl + A Press the Average Sq button in Statistics modeCtrl + S Press the Sum Sq button in Statistics modeCtrl + T Press the Inv S.D. button in Statistics modeDialog Box Keyboard ShortcutsArrow Keys Select a button if the active option is a group of option buttonsBackspace Open a folder one level up if a folder is selected in the Save As or Open dialog boxCtrl + Shift + Tab Move back through tabsCtrl + Tab Move forward through tabsEnter Replaces clicking the mouse for many selected commandsF4 Display the items in the active listShift + Tab Move back through optionsSpacebar Select or clear the check box if the active option is a check boxTab Move forward through optionsEase of Access Keyboard ShortcutsLeft Alt + Left Shift + Num Lock Turn Mouse Keys on or offLeft Alt + Left Shift + PrtScn Turn High Contrast on or offNum Lock (hold for 8 seconds) Turn Toggle Keys on or offRight Shift (hold for 8 seconds) Turn Filter Keys on and offShift (pressed 5 times) Turn Sticky Keys on or offWindows Key + U Open Ease of Access CenterFunction Key Keyboard ShortcutsF1 Open Help windowF2 Rename the selected itemF3 Opens Search windowF4 Display the Address bar drop down list in Windows Explorer and Internet ExplorerF5 Refresh the current active windowF6 Cycle through items in current active windowF10 Displays the menu bar in the active window and underlines the menu bar shortcut keysF11 Toggle Full Screen Mode On or Off in Windows Explorer and Internet ExplorerAlt + F4 Close the current active window or program. From the desktop, it opens the Shut Down Windows window.Ctrl + F4 Close the active document (in programs that allow you to have multiple documents open simultaneously)Shift + F10 Open context menu of selected itemMagnifier Keyboard ShortcutsCtrl + Alt + Arrow keys Pan in the direction of the arrow keysCtrl + Alt + D Switch to docked modeCtrl + Alt + F Switch to full-screen modeCtrl + Alt + I Invert colorsCtrl + Alt + L Switch to lens modeCtrl + Alt + R Resize the lensCtrl + Alt + Spacebar Show the mouse pointerWindows Key + Esc Exit MagnifierWindows Key + Plus Sign (+) or Minus Sign (-) Zoom in or outPaint Keyboard ShortcutsAlt Display keytipsAlt + F4 Close a picture and its Paint windowCtrl + A Select the entire pictureCtrl + B Bold selected textCtrl + C Copy a selection to the ClipboardCtrl + E Open the Properties dialog boxCtrl + G Show or hide gridlinesCtrl + I Italicize selected textCtrl + Minus Sign (-) Decrease the width of a brush, line, or shape outline by one pixelCtrl + N Create a new pictureCtrl + O Open an existing pictureCtrl + P Print a pictureCtrl + Page Down Zoom outCtrl + Page Up Zoom inCtrl + Plus Sign (+) Increase the width of a brush, line, or shape outline by one pixelCtrl + R Show or hide the rulerCtrl + S Save changes to a pictureCtrl + U Underline selected textCtrl + V Paste a selection from the ClipboardCtrl + W Open the Resize and Skew dialog boxCtrl + X Cut a selectionCtrl + Y Redo a changeCtrl + Z Undo a changeDelete Delete a selectionEsc Cancel a selectionF1 Open Paint HelpF10 Display keytipsShift + F10 Show the current shortcut menuF11 View a picture in full-screen modeF12 Save the picture as a new fileRight Arrow Move the selection or active shape right by one pixelLeft Arrow Move the selection or active shape left by one pixelDown Arrow Move the selection or active shape down by one pixelUp Arrow Move the selection or active shape up by one pixelRemote Desktop Keyboard ShortcutsAlt + Delete Display the system menu.Alt + Home Display the Start menu.Alt + Insert Cycle through programs in the order that they were started in.Alt + Page Down Move between programs from right to left.Alt + Page Up Move between programs from left to right.Ctrl + Alt + Break Switch between a window and full screen.Ctrl + Alt + End Display the Windows Security dialog box.Ctrl + Alt + Minus Sign (-) on numeric keypad Place a copy of the active window, within the client, on the Terminal server clipboard (provides the same functionality as pressing Alt+PrtScn on a local computer).Ctrl + Alt + Plus Sign (+) on numeric keypad Place a copy of the entire client window area on the Terminal server clipboard (provides the same functionality as pressing PrtScn on a local computer).Ctrl + Alt + Right Arrow Tab out of the Remote Desktop controls to a control in the host program (for example, a button or a text box). Useful when the Remote Desktop controls are embedded in another (host) program.Ctrl + Alt + Left Arrow Tab out of the Remote Desktop controls to a control in the host program (for example, a button or a text box). Useful when the Remote Desktop controls are embedded in another (host) program.Taskbar Keyboard ShortcutsCtrl + Left Click Use on pinned taskbar program icon links to switch through that program's open windows.Ctrl + Shift + Left Click Use on pinned taskbar program icon links to open another instance of that program with Administrator privilegesShift + Left Click Use on pinned taskbar program icon links to open another instance of that program.Shift + Right Click Use on pinned taskbar program icon links to open the context menu for the icon.Windows Key + 1 to 0 Opens the pinned taskbar icon link that corresponds to the order that they are in from left (1) to right (0) on the taskbar. 0 is for 10.Windows Key + T Cycle through programs on the taskbar. Press Enter to open the one selected.Windows Key + Shift + T Cycle backwards through programs on the taskbar. Press Enter to open the one selected.Windows Logo Keyboard ShortcutsWindows Key Open or close the Start menuWindows Key + Pause/Break Opens the System properties windowWindows Key + B Moves focus to Notification Area on the taskbarCtrl + Windows Key + B Switch focus to the program that displayed a message in the notification areaWindows Key + D Toggles to Show Desktop and restore desktopWindows Key + M Minimize all opened windowsWindows Key + Shift + M Restore minimized windows to the desktopWindows Key + E Open Window Explorer to LibrariesWindows Key + F Open Search windowCtrl + Windows Key + F Search for computers (if you are on a network)Windows Key + G Displays desktop gadgetsWindows Key + L Lock your computer or switch usersWindows Key + P Displays desktop to projector display presentation switch window.Windows Key + R Open Run command windowWindows Key + T Cycle through programs on the taskbar. Press Enter to open the one selected.Windows Key + Shift + T Cycle backwards through programs on the taskbar. Press Enter to open the one selected.Windows Key + Tab Cycle through open windows by using Flip 3D. Release to open the window in the front.Ctrl+Windows Key + Tab Use the tab or arrow keys to cycle through open windows by using Flip 3D. Press enter or click on the first window to open the window in the front.Windows Key + U Open Ease of Access CenterWindows Key + X Open Windows Mobility CenterWindows Key + Spacebar Press and hold for a Desktop Preview. Also known as Aero Peak.Windows Key + 1 to 0 Opens the program pinned to the taskbar that corresponds to the order that they are in from left (1) to right (0) on the taskbar. 0 is for 10.Ctrl+Windows Key + 1 to 0 Switch to the last active window of the program pinned to the taskbar that corresponds to the order that they are in from left (1) to right (0) on the taskbar. 0 is for 10.Shift + Windows Key + 1 to 0 Start a new instance of the program pinned to the taskbar that corresponds to the order that they are in from left (1) to right (0) on the taskbar. 0 is for 10. If the program is already running, switch to that program.Windows Key + Left Arrow Docks and undocks current active window to the left side of the screen.Windows Key + Shift+ Left Arrow Moves the current active window over one monitor to the left.Windows Key + Right Arrow Docks and undocks current active window to the right side of the screen.Windows Key, Right Arrow, Enter ShutdownWindows Key, Right Arrow, Right Arrow, R RestartWindows Key, Right Arrow, Right Arrow, S SleepWindows Key, Right Arrow, Right Arrow, W Switch UsersWindows Key + Shift+ Right Arrow Moves the current active window over one monitor to the right.Windows Key + Up Arrow Maximizes current active window to full screen.Windows Key + Shift + Up Arrow Maximizes current active window vertically.Windows Key + Shift + Down Arrow Restores vertically maximized current active window back to the way it was before maximized vertically.Windows Key + Down Arrow Minimizes current active window to taskbar.Windows Key + Home Toggles minimize and restore not active open windows.Windows Key + + Zoom inWindows Key + - Zoom outWindows Key + = Open MagnifierWindows Media Player Keyboard ShortcutsAlt + 1 Video Size 50% in Now Playing or skin mode, with a video playingAlt + 2 Video Size 100% in Now Playing or skin mode, with a video playingAlt + 3 Video Size 200% in Now Playing or skin mode, with a video playingAlt + Enter Full Screen Toggle in Now Playing, skin, or full screen modeCtrl + 1 Switches to library mode from any modeCtrl + 2 Switches to skin mode from any modeCtrl + 3 Switches to player mode from any mode except full screenCtrl + 7 Add to Play in library modeCtrl + 8 Add to Burn in library modeCtrl + 9 Add to Sync in library modeCtrl + A Selects everything in a list in the library or listCtrl + B Previous (Item or Chapter) with content playingCtrl + E Focus on Search text box and switch to library mode if not thereCtrl + F Next (Item or Chapter) with content playingCtrl + H Turn on/off shuffle modeCtrl + J Eject in any modeCtrl + M Toggle menu bar in library in any modeCtrl + N Create playlist in library modeCtrl + O Shows Open Dialog in any modeCtrl + P Play/Pause Toggle with content queued upCtrl + Q Adds selected track to open list. Default is Play list.Ctrl + S Stops Playback with content playingCtrl + T Turn on/off repeat mode in any modeCtrl + U Shows Open URL Dialog in any modeCtrl + W Stops playback with content playing or pausedCtrl + Shift + B Rewinds playing content with DVD playingCtrl + Shift + C Caption On/Off Toggle when playing content which has captionsCtrl + Shift + F Fast forwards playing content with content playingCtrl + Shift + G Play Speed Fast with content playingCtrl + Shift + N Play Speed Normal with content playingCtrl + Shift + S Play Speed Slow with content playingCtrl + Right Arrow Next playlist in playlist history when focus is not on Seek barCtrl + Left Arrow Previous playlist in playlist history when focus is not on Seek barCtrl + Right Arrow Skip forward (large increment) when focus is on Seek barCtrl + Left Arrow Skip backward (large increment) when focus is on Seek barShift + Right Arrow Skip forward (small increment) when focus is on Seek barShift + Left Arrow Skip backward (small increment) when focus is on Seek barRight Arrow Skip forward when focus is on Seek barLeft Arrow Skip backward when focus is on Seek barCtrl + Click Resize player to image in Now Playing modeEscape Return to Now Playing in Full Screen ModeF1 Opens Help file in any modeF2 Edit meta data column in library mode with an item selectedF4 Switch view mode in library mode, focus in list viewF5 Refresh screen when focus is on library or in online servicesF6 Increases album art when focus is in list viewShift + F6 Decreases album art when focus is in list viewF7 Mutes sound in any modeF8 Decrease sound volume in any modeF9 Increases sound volume in any modeF10 Show menu bar in library from any modeShift + F10 Context menu shortcut in any modeWordPad Keyboard ShortcutsAlt + F4 Close WordPadCtrl + 1 Set single line spacingCtrl + 2 Set double line spacingCtrl + 5 Set line spacing to 1.5Ctrl + A Select the entire documentCtrl + Shift + A Change characters to all capitalsCtrl + B Make selected text boldCtrl + C Copy a selection to the ClipboardCtrl + D Insert a Microsoft Paint drawingCtrl + Delete Delete the next wordCtrl + E Align text centerCtrl + End Move to the end of the documentCtrl + F Find text in a documentCtrl + H Replace text in a documentCtrl + Home Move to the beginning of the documentCtrl + I Italicize selected textCtrl + J Justify textCtrl + L Align text leftCtrl + Shift + L Change the bullet styleCtrl + N Create a new documentCtrl + O Open an existing documentCtrl + P Print a documentCtrl + Page Down Move down one pageCtrl + Page Up Move up one pageCtrl + R Align text rightCtrl + S Save changes to a documentCtrl + U Underline selected textCtrl + V Paste a selection from the ClipboardCtrl + X Cut a selectionCtrl + Y Redo a changeCtrl + Z Undo a changeCtrl + = Make selected text subscriptCtrl + Shift + = Make selected text superscriptCtrl + Shift + > Increase the font sizeCtrl + Shift + < Decrease the font sizeCtrl + Left Arrow Move the cursor one word to the leftCtrl + Right Arrow Move the cursor one word to the rightCtrl + Up Arrow Move the cursor to the line aboveCtrl + Down Arrow Move the cursor to the line belowF1 Open WordPad HelpF3 Find the next instance of the text in the Find dialog boxF10 Display keytipsShift + F10 Show the current shortcut menuF12 Save the document as a new file
keyboard shortcut
Windows Explorer Keyboard ShortcutsAlt + D Select the address barAlt + Enter Open the Properties dialog box for the selected itemAlt + P Display the preview paneAlt+Left Arrow View the previous folderAlt + Right Arrow View the next folderAlt + Up Arrow View the parent folderCtrl + E Select the search boxCtrl + Mouse scroll wheel Change the size and appearance of file and folder iconsCtrl + N Open a new windowCtrl + Shift + N Creates a New Folder on the active desktop or in the active Windows Explorer window.End Display the bottom of the active windowF11 Maximize or minimize the active windowHome Display the top of the active windowNum Lock + Asterisk (*) on numeric keypad Display all subfolders under the selected folderNum Lock + Plus Sign (+) on numeric keypad Display the contents of the selected folderNum Lock + Minus Sign (-) on numeric keypad Collapse the selected folderLeft Arrow Collapse the current selection (if it's expanded), or select the parent folderRight Arrow Display the current selection (if it's collapsed), or select the first subfolder
Sunday, September 21, 2008
DNS CONFIGURATION
The Domain Name System (DNS) provides an important user service that should be used on every system connected to the Internet. The vast majority of Unix implementations of DNS are based on the Berkeley Internet Name Domain (BIND) software. BIND provides both a DNS client and a DNS server.
The BIND client issues name queries and is implemented as library routines. It is called the resolver. The resolver is configured in the resolv.conf file. All systems run the resolver.
The BIND server answers name queries and runs as a daemon. It is called named. named is configured by the named.conf file, which defines where the server gets the DNS database information and the type of server being configured. The server types are master, slave, and caching servers. Because all servers are caching servers, a single configuration often encompasses more than one server type.
The original DNS database source files are found on the master server. The DNS database file is called a zone file. The zone file is constructed from standard resource records (RRs) that are defined in RFCs. The RRs share a common structure and are used to define all DNS database information.
The DNS server can be tested using nslookup. This test tool is included with the BIND release.
In this chapter we have seen how to configure and test DNS. In the next chapter, we configure several other services.
The BIND client issues name queries and is implemented as library routines. It is called the resolver. The resolver is configured in the resolv.conf file. All systems run the resolver.
The BIND server answers name queries and runs as a daemon. It is called named. named is configured by the named.conf file, which defines where the server gets the DNS database information and the type of server being configured. The server types are master, slave, and caching servers. Because all servers are caching servers, a single configuration often encompasses more than one server type.
The original DNS database source files are found on the master server. The DNS database file is called a zone file. The zone file is constructed from standard resource records (RRs) that are defined in RFCs. The RRs share a common structure and are used to define all DNS database information.
The DNS server can be tested using nslookup. This test tool is included with the BIND release.
In this chapter we have seen how to configure and test DNS. In the next chapter, we configure several other services.
Local Network
The Network File System (NFS)
The Line Printer Daemon (LPD) and the Line Printer (LP) service
Windows file and print services (Samba)
The Network Information Service (NIS)
Dynamic Host Configuration Protocol (DHCP)
The Post Office Protocol (POP)
Internet Message Access Protocol (IMAP)
All of these software packages are designed to provide service to systems within your organization and are not intended to service outsiders. Essential services that are as important to external users as they are to in-house users, such as email, web service, and name service, are covered in separate chapters.
We begin our discussion of local network services with NFS, which is the server that provides file sharing on Unix networks.
The Line Printer Daemon (LPD) and the Line Printer (LP) service
Windows file and print services (Samba)
The Network Information Service (NIS)
Dynamic Host Configuration Protocol (DHCP)
The Post Office Protocol (POP)
Internet Message Access Protocol (IMAP)
All of these software packages are designed to provide service to systems within your organization and are not intended to service outsiders. Essential services that are as important to external users as they are to in-house users, such as email, web service, and name service, are covered in separate chapters.
We begin our discussion of local network services with NFS, which is the server that provides file sharing on Unix networks.
Sunday, September 14, 2008
Common Routing Configurations

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
172.16.12.0 172.16.12.15 U 1 8 dnet0
224.0.0.0 172.16.12.15 U 1 0 dnet0
127.0.0.1 127.0.0.1 UH 20 3577 lo0
The first entry is the route to network 172.16.12.0 through interface dnet0. Address 172.16.12.15 is not a remote gateway address; it is the address assigned to the dnet0 interface on this host. The other two entries do not define routes to real physical networks; both are special software conventions. 224.0.0.0 is the multicast address. This entry tells Solaris to send multicast addresses to interface 172.16.12.15 for delivery. The last entry is the loopback route to localhost created when lo0 was configured.
Look at the Flags field for these entries. All entries have the U (up) flag set, indicating that they are ready to be used, but no entry has the G (gateway) flag set. The G flag indicates that an external gateway is used. The G flag is not set because all of these routes are direct routes through local interfaces, not through external gateways.
The loopback route also has the H (host) flag set. This indicates that only one host can be reached through this route. The meaning of this flag becomes clear when you look at the Destination field for the loopback entry. It shows that the destination is a host address, not a network address. The loopback network address is 127.0.0.0. The destination address shown (127.0.0.1) is the address of localhost, an individual host. Some systems use a route to the loopback network and others use a route to the localhost, but all systems have some route for the loopback interface in the routing table.
Although this routing table has a host-specific route, most routes lead to networks. One reason network routes are used is to reduce the size of the routing table. An organization may have only one network but hundreds of hosts. The Internet has thousands of networks but millions of hosts. A routing table with a route for every host would be unmanageable.
Our sample table contains only one route to a physical network, 172.16.12.0. Therefore, this system can communicate only with hosts located on that network. The limited capability of this routing table is easily verified with the ping command. ping uses the ICMP Echo Message to force a remote host to echo a packet back to the local host. If packets can travel to and from a remote host, it indicates that the two hosts can successfully communicate.
To check the routing table on this system, first ping another host on the local network: % ping -s crab
PING crab.wrotethebook.com: 56 data bytes
64 bytes from crab.wrotethebook.com (172.16.12.1): icmp_seq=0. time=11. ms
64 bytes from crab.wrotethebook.com (172.16.12.1): icmp_seq=1. time=10. ms
^C
----crab.wrotethebook.com PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 10/10/11
ping displays a line of output for each ICMP ECHO_RESPONSE received.When ping is interrupted, it displays some summary statistics. All of this indicates successful communication with crab. But if we check a host that is not on network 172.16.12.0, say a host at O'Reilly, the results are different.
Sun's ping would display only the message "crab is alive" if the -s option was not used. Most ping implementations do not require the -s option. % ping 207.25.98.2
sendto: Network is unreachable
Here the message "sendto: Network is unreachable" indicates that this host does not know how to send data to the network that host 207.25.98.2 is on. There are only three routes in this system's routing table, and none is a route to 207.25.98.0.
Even other subnets on books-net cannot be reached using this routing table. To demonstrate this, ping a host on another subnet. For example: % ping 172.16.1.2
sendto: Network is unreachable
These ping tests show that the minimal routing table created when the network interfaces were configured allows communication only with other hosts on the local network. If your network does not require access to any other TCP/IP networks, this may be all you need. However, if it does require access to other networks, you must add more routes to the routing table.
Wednesday, September 3, 2008
Servers Configuration

The powerful features that add to the utility and flexibility of TCP/IP also add to its complexity. TCP/IP is not as easy to configure as some other networking systems. TCP/IP requires that the configuration provide hardware, addressing, and routing information. It is designed to be independent of any specific underlying network hardware, so configuration information that can be built into the hardware in some network systems cannot be built in for TCP/IP. The information must be provided by the person responsible for the configuration. This assumes that every system is run by people who are knowledgeable enough to provide the proper information to configure the system. Unfortunately, this assumption does not always prove correct.
Configuration servers make it possible for the network administrator to control TCP/IP configuration from a central point. This relieves the end user of some of the burden of configuration and improves the quality of the information used to configure systems.
TCP/IP has used three protocols to simplify the task of configuration: RARP, BOOTP, and DHCP. We begin with RARP, the oldest and most basic of these configuration tools.
3.6.1 Reverse Address Resolution Protocol
RARP, defined in RFC 903, is a protocol that converts a physical network address into an IP address, which is the reverse of what Address Resolution Protocol (ARP) does. A Reverse Address Resolution Protocol server maps a physical address to an IP address for a client that doesn't know its own IP address. The client sends out a broadcast using the broadcast services of the physical network.The broadcast packet contains the client's physical network address and asks if any system on the network knows what IP address is associated with the address. The RARP server responds with a packet that contains the client's IP address.
Like ARP, RARP is a Network Access Layer protocol that uses physical network services residing below the Internet Layer. See the discussion of TCP/IP protocol layers.
The client knows its physical network address because it is encoded in the Ethernet interface hardware. On most systems, you can easily check the value with a command. For example, on a Solaris 8 system, the superuser can type: # ifconfig dnet0
dnet0: flags=1000843 mtu 1500 index 2
inet 172.16.12.1 netmask ffffff00 broadcast 172.16.12.255
ether 0:0:c0:dd:d4:da
The ifconfig command can set or display the configuration values for a network interface,dnet0 is the device name of the Ethernet interface. The Ethernet address is displayed . In the example, the address is 0:0:c0:dd:d4:da.
for information about the ifconfig command.
The RARP server looks up the IP address that it uses in its response to the client in the /etc/ethers file. The /etc/ethers file contains the client's Ethernet address followed by the client's hostname. For example: 2:60:8c:48:84:49 clock
0:0:c0:a1:5e:10 ring
0:80:c7:aa:a8:04 24seven
8:0:5a:1d:c0:7e limulus
8:0:69:4:6:31 arthropod
To respond to a RARP request, the server must also resolve the hostname found in the /etc/ethers file into an IP address. DNS or the hosts file is used for this task. The following hosts file entries could be used with the ethers file shown above: clock 172.16.3.10
ring 172.16.3.16
24seven 172.16.3.4
limulus 172.16.3.7
arthropod 172.16.3.21
Given these sample files, if the server receives a RARP request that contains the Ethernet address 0:80:c7:aa:a8:04, it matches it to 24seven in the /etc/ethers file. The server uses the name 24seven to look up the IP address. It then sends the IP address 172.16.3.4 out as its ARP response.
RARP is a useful tool, but it provides only the IP address. There are still several other values that need to be manually configured. Bootstrap Protocol (BOOTP) is a more flexible configuration tool that provides more values than just the IP address and can deliver those values via the network.
BOOTP is defined in RFCs 951 and 1532. The RFCs describe BOOTP as an alternative to RARP; when BOOTP is used, RARP is not needed. BOOTP, however, is a more comprehensive configuration protocol than RARP. It provides much more configuration information and has the potential to offer still more. The original specification allowed vendor extensions as a vehicle for the protocol's evolution. RFC 1048 first formalized the definition of these extensions, which have been updated over time and are currently defined in RFC 2132. BOOTP and its extensions became the basis for the Dynamic Host Configuration Protocol (DHCP). DHCP has superseded BOOTP, so DHCP is the configuration protocol that you will use on your network
Configuration servers make it possible for the network administrator to control TCP/IP configuration from a central point. This relieves the end user of some of the burden of configuration and improves the quality of the information used to configure systems.
TCP/IP has used three protocols to simplify the task of configuration: RARP, BOOTP, and DHCP. We begin with RARP, the oldest and most basic of these configuration tools.
3.6.1 Reverse Address Resolution Protocol
RARP, defined in RFC 903, is a protocol that converts a physical network address into an IP address, which is the reverse of what Address Resolution Protocol (ARP) does. A Reverse Address Resolution Protocol server maps a physical address to an IP address for a client that doesn't know its own IP address. The client sends out a broadcast using the broadcast services of the physical network.The broadcast packet contains the client's physical network address and asks if any system on the network knows what IP address is associated with the address. The RARP server responds with a packet that contains the client's IP address.
Like ARP, RARP is a Network Access Layer protocol that uses physical network services residing below the Internet Layer. See the discussion of TCP/IP protocol layers.
The client knows its physical network address because it is encoded in the Ethernet interface hardware. On most systems, you can easily check the value with a command. For example, on a Solaris 8 system, the superuser can type: # ifconfig dnet0
dnet0: flags=1000843
inet 172.16.12.1 netmask ffffff00 broadcast 172.16.12.255
ether 0:0:c0:dd:d4:da
The ifconfig command can set or display the configuration values for a network interface,dnet0 is the device name of the Ethernet interface. The Ethernet address is displayed . In the example, the address is 0:0:c0:dd:d4:da.
for information about the ifconfig command.
The RARP server looks up the IP address that it uses in its response to the client in the /etc/ethers file. The /etc/ethers file contains the client's Ethernet address followed by the client's hostname. For example: 2:60:8c:48:84:49 clock
0:0:c0:a1:5e:10 ring
0:80:c7:aa:a8:04 24seven
8:0:5a:1d:c0:7e limulus
8:0:69:4:6:31 arthropod
To respond to a RARP request, the server must also resolve the hostname found in the /etc/ethers file into an IP address. DNS or the hosts file is used for this task. The following hosts file entries could be used with the ethers file shown above: clock 172.16.3.10
ring 172.16.3.16
24seven 172.16.3.4
limulus 172.16.3.7
arthropod 172.16.3.21
Given these sample files, if the server receives a RARP request that contains the Ethernet address 0:80:c7:aa:a8:04, it matches it to 24seven in the /etc/ethers file. The server uses the name 24seven to look up the IP address. It then sends the IP address 172.16.3.4 out as its ARP response.
RARP is a useful tool, but it provides only the IP address. There are still several other values that need to be manually configured. Bootstrap Protocol (BOOTP) is a more flexible configuration tool that provides more values than just the IP address and can deliver those values via the network.
BOOTP is defined in RFCs 951 and 1532. The RFCs describe BOOTP as an alternative to RARP; when BOOTP is used, RARP is not needed. BOOTP, however, is a more comprehensive configuration protocol than RARP. It provides much more configuration information and has the potential to offer still more. The original specification allowed vendor extensions as a vehicle for the protocol's evolution. RFC 1048 first formalized the definition of these extensions, which have been updated over time and are currently defined in RFC 2132. BOOTP and its extensions became the basis for the Dynamic Host Configuration Protocol (DHCP). DHCP has superseded BOOTP, so DHCP is the configuration protocol that you will use on your network
Tuesday, September 2, 2008
DNS

DNS overcomes both major weaknesses of the host table:
DNS scales well. It doesn't rely on a single large table; it is a distributed database system that doesn't bog down as the database grows. DNS currently provides information on approximately 100,000,000 hosts, while fewer than 10,000 were listed in the host table.
DNS guarantees that new host information will be disseminated to the rest of the network as it is needed.
Information is automatically disseminated, and only to those who are interested. Here's how it works. If a DNS server receives a request for information about a host for which it has no information, it passes on the request to an authoritative server. An authoritative server is any server responsible for maintaining accurate information about the domain being queried. When the authoritative server answers, the local server saves, or caches, the answer for future use. The next time the local server receives a request for this information, it answers the request itself. The ability to control host information from an authoritative source and to automatically disseminate accurate information makes DNS superior to the host table, even for networks not connected to the Internet.
In addition to superseding the host table, DNS also replaces an earlier form of name service. Unfortunately, both the old and new services were called name service. Both are listed in the /etc/services file. In that file, the old software is assigned UDP port 42 and is called nameserver or name; DNS name service is assigned port 53 and is called domain. Naturally, there is some confusion between the two name servers. There shouldn't be—the old name service is outdated. This text discusses DNS only; when we refer to "name service," we always mean DNS.
DNS scales well. It doesn't rely on a single large table; it is a distributed database system that doesn't bog down as the database grows. DNS currently provides information on approximately 100,000,000 hosts, while fewer than 10,000 were listed in the host table.
DNS guarantees that new host information will be disseminated to the rest of the network as it is needed.
Information is automatically disseminated, and only to those who are interested. Here's how it works. If a DNS server receives a request for information about a host for which it has no information, it passes on the request to an authoritative server. An authoritative server is any server responsible for maintaining accurate information about the domain being queried. When the authoritative server answers, the local server saves, or caches, the answer for future use. The next time the local server receives a request for this information, it answers the request itself. The ability to control host information from an authoritative source and to automatically disseminate accurate information makes DNS superior to the host table, even for networks not connected to the Internet.
In addition to superseding the host table, DNS also replaces an earlier form of name service. Unfortunately, both the old and new services were called name service. Both are listed in the /etc/services file. In that file, the old software is assigned UDP port 42 and is called nameserver or name; DNS name service is assigned port 53 and is called domain. Naturally, there is some confusion between the two name servers. There shouldn't be—the old name service is outdated. This text discusses DNS only; when we refer to "name service," we always mean DNS.
Saturday, August 30, 2008
Names and Addresses
The Internet Protocol document defines names, addresses, and routes as follows:
RFC 791, Internet Protocol, Jon Postel, ISI, 1981.
A name indicates what we seek. An address indicates where it is. A route indicates how to get there.
Names, addresses, and routes all require the network administrator's attention. Routes and addresses were covered in the previous chapter. This section discusses names and how they are disseminated throughout the network. Every network interface attached to a TCP/IP network is identified by a unique 32-bit IP address. A name (called a hostname) can be assigned to any device that has an IP address. Names are assigned to devices because, compared to numeric Internet addresses, names are easier to remember and type correctly. Names aren't required by the network software, but they do make it easier for humans to use the network.
In most cases, hostnames and numeric addresses can be used interchangeably. A user wishing to telnet to the workstation at IP address 172.16.12.2 can enter: % telnet 172.16.12.2
or use the hostname associated with that address and enter the equivalent command: % telnet rodent.wrotethebook.com
Whether a command is entered with an address or a hostname, the network connection always takes place based on the IP address. The system converts the hostname to an address before the network connection is made. The network administrator is responsible for assigning names and addresses and storing them in the database used for the conversion.
Translating names into addresses isn't simply a "local" issue. The command telnet rodent.wrotethebook.com is expected to work correctly on every host that's connected to the network. If rodent.wrotethebook.com is connected to the Internet, hosts all over the world should be able to translate the name rodent.wrotethebook.com into the proper address. Therefore, some facility must exist for disseminating the hostname information to all hosts on the network.
There are two common methods for translating names into addresses. The older method simply looks up the hostname in a table called the host table. The newer technique uses a distributed database system called the Domain Name System (DNS) to translate names to addresses. We'll examine the host table first.
RFC 791, Internet Protocol, Jon Postel, ISI, 1981.
A name indicates what we seek. An address indicates where it is. A route indicates how to get there.
Names, addresses, and routes all require the network administrator's attention. Routes and addresses were covered in the previous chapter. This section discusses names and how they are disseminated throughout the network. Every network interface attached to a TCP/IP network is identified by a unique 32-bit IP address. A name (called a hostname) can be assigned to any device that has an IP address. Names are assigned to devices because, compared to numeric Internet addresses, names are easier to remember and type correctly. Names aren't required by the network software, but they do make it easier for humans to use the network.
In most cases, hostnames and numeric addresses can be used interchangeably. A user wishing to telnet to the workstation at IP address 172.16.12.2 can enter: % telnet 172.16.12.2
or use the hostname associated with that address and enter the equivalent command: % telnet rodent.wrotethebook.com
Whether a command is entered with an address or a hostname, the network connection always takes place based on the IP address. The system converts the hostname to an address before the network connection is made. The network administrator is responsible for assigning names and addresses and storing them in the database used for the conversion.
Translating names into addresses isn't simply a "local" issue. The command telnet rodent.wrotethebook.com is expected to work correctly on every host that's connected to the network. If rodent.wrotethebook.com is connected to the Internet, hosts all over the world should be able to translate the name rodent.wrotethebook.com into the proper address. Therefore, some facility must exist for disseminating the hostname information to all hosts on the network.
There are two common methods for translating names into addresses. The older method simply looks up the hostname in a table called the host table. The newer technique uses a distributed database system called the Domain Name System (DNS) to translate names to addresses. We'll examine the host table first.
Wednesday, August 27, 2008
Network Services
The functions performed by the servers
Name service for converting IP addresses to hostnames
Configuration servers that simplify the installation of networked hosts by handling part or all of the TCP/IP configuration
Electronic mail services for moving mail through the network from the sender to the recipient
File servers that allow client computers to transparently share files
Print servers that allow printers to be centrally maintained and shared by all users.
Servers on a TCP/IP network should not be confused with traditional PC LAN servers. Every Unix host on your network can be both a server and a client. The hosts on a TCP/IP network are "peers." All systems are equal, and the network is not dependent on any one server. All of the services discussed in this chapter can be installed on one or several systems on your network.
We begin with a discussion of name service. It is an essential service that you will certainly use on your network.
Name service for converting IP addresses to hostnames
Configuration servers that simplify the installation of networked hosts by handling part or all of the TCP/IP configuration
Electronic mail services for moving mail through the network from the sender to the recipient
File servers that allow client computers to transparently share files
Print servers that allow printers to be centrally maintained and shared by all users.
Servers on a TCP/IP network should not be confused with traditional PC LAN servers. Every Unix host on your network can be both a server and a client. The hosts on a TCP/IP network are "peers." All systems are equal, and the network is not dependent on any one server. All of the services discussed in this chapter can be installed on one or several systems on your network.
We begin with a discussion of name service. It is an essential service that you will certainly use on your network.
Monday, August 25, 2008
DATA POSTING
we touched on the basic architecture and design of the TCP/IP protocols. From that discussion, we know that TCP/IP is a hierarchy of four layers. In this chapter, we explore in finer detail how data moves between the protocol layers and the systems on the network. We examine the structure of Internet addresses, including how addresses route data to its final destination and how address structure is locally redefined to create subnets. We also look at the protocol and port numbers used to deliver data to the correct applications. These additional details move us from an overview of TCP/IP to the specific implementation issues that affect your system's configuration. To deliver data between two Internet hosts, it is necessary to move the data across the network to the correct host, and within that host to the correct user or process. TCP/IP uses three schemes to accomplish these tasks:
Addressing
IP addresses, which uniquely identify every host on the network, deliver data to the correct host.
Routing
Gateways deliver data to the correct network.
Multiplexing
Protocol and port numbers deliver data to the correct software module within the host.
Each of these functions—addressing between hosts, routing between networks, and multiplexing between layers—is necessary to send data between two cooperating applications across the Internet. Let's examine each of these functions in detail.
To illustrate these concepts and provide consistent examples, we'll use an imaginary corporate network. Our imaginary company brings together authors to write computer books and conduct training. Our company network is made up of several networks at our training facilities and publishing office, as well as a connection to the Internet. We are responsible for managing the Ethernet in the computing center. This network's structure, or topology.
The icons in the figure represent computer systems. There are, of course, several other imaginary systems on our imaginary network, but we'll use the hosts rodent (a workstation) and crab (a system that serves as a gateway) for most of our examples. The thick line is our computer center Ethernet, and the oval is the local network that connects our various corporate networks. The cloud is the Internet, and the numbers are IP addresses
Addressing
IP addresses, which uniquely identify every host on the network, deliver data to the correct host.
Routing
Gateways deliver data to the correct network.
Multiplexing
Protocol and port numbers deliver data to the correct software module within the host.
Each of these functions—addressing between hosts, routing between networks, and multiplexing between layers—is necessary to send data between two cooperating applications across the Internet. Let's examine each of these functions in detail.
To illustrate these concepts and provide consistent examples, we'll use an imaginary corporate network. Our imaginary company brings together authors to write computer books and conduct training. Our company network is made up of several networks at our training facilities and publishing office, as well as a connection to the Internet. We are responsible for managing the Ethernet in the computing center. This network's structure, or topology.
The icons in the figure represent computer systems. There are, of course, several other imaginary systems on our imaginary network, but we'll use the hosts rodent (a workstation) and crab (a system that serves as a gateway) for most of our examples. The thick line is our computer center Ethernet, and the oval is the local network that connects our various corporate networks. The cloud is the Internet, and the numbers are IP addresses
Friday, August 22, 2008
TCP/IP OVERVIEW
The TCP/IP protocols were adopted as Military Standards in 1983, and all hosts connected to the network were required to convert to the new protocols. To ease this conversion, funded Bolt, Beranek, and Newman (BBN) to implement TCP/IP in Berkeley (BSD) Unix. Thus began the marriage of Unix and TCP/IP. In 1985 the National Science Foundation (NSF) created NSFNet and connected it to the then-existing Internet. The original NSFNet linked together the five NSF supercomputer centers. It was smaller than the ARPAnet and no faster: 56Kbps. Still, the creation of the NSFNet was a significant event in the history of the Internet because NSF brought with it a new vision of the use of the Internet. NSF wanted to extend the network to every scientist and engineer in the United States. To accomplish this, in 1987 NSF created a new, faster backbone and a three-tiered network topology that included the backbone, regional networks, and local networks. In 1990 the ARPAnet formally passed out of existence, and in 1995 the NSFNet ceased its role as a primary Internet backbone network. Today the Internet is larger than ever and encompasses hundreds of thousands of networks worldwide. It is no longer dependent on a core (or backbone) network or on governmental support. Today's Internet is built by commercial providers. National network providers, called tier-one providers, and regional network providers create the infrastructure. Internet Service Providers (ISPs) provide local access and user services. This network of networks is linked together in the United States at several major interconnection points called Network Access Points (NAPs). The Internet has grown far beyond its original scope. The original networks and agencies that built the Internet no longer play an essential role for the current network. The Internet has evolved from a simple backbone network, through a three-tiered hierarchical structure, to a huge network of interconnected, distributed network hubs. It has grown exponentially since 1983—doubling in size every year. Through all of this incredible change one thing has remained constant: the Internet is built on the TCP/IP protocol suite. A sign of the network's success is the confusion that surrounds the term internet. Originally it was used only as the name of the network built upon IP. Now internet is a generic term used to refer to an entire class of networks. An internet (lowercase "i") is any collection of separate physical networks, interconnected by a common protocol, to form a single logical network. The Internet (uppercase "I") is the worldwide collection of interconnected networks, which grew out of the original ARPAnet, that uses IP to link the various physical networks into a single logical network. In this book, both "internet" and "Internet" refer to networks that are interconnected by TCP/IP.
Wednesday, August 20, 2008
Making a RJ45 cable tester

Crossover Cable Pin-out-
One End
----
Other End
Pin 1
Pin 3
Pin 2
Pin 6
Pin 3
Pin 1
Pin 4
Pin 4
Pin 5
Pin 5
Pin 6
Pin 2
Pin 7
Pin 7
Pin 8
Pin 8
Straight Through Connection
Pin 1 - TxD+ Pin 2 - TxD-Pin 3 - RxD+Pin 4 - Pin 5 - Pin 6 - RxD-Pin 7 -Pin 8 -
Cable: Here is what the internals of the cable look like:
Figure 1 - Internal Cable Structure and Color Coding
RJ45 Ends: Here is a diagram and pinout:
Figure 2 - RJ45 Jack and Plug Pinout
Ethernet Cables:
Standard, Straight-Through Wiring (both ends are the same):
RJ45 Pin #
Wire Color
Wire Diagram
Signal*
1
White/Orange
Transmit+
2
Orange
Transmit-
3
White/Green
Receive+
4
Blue
Unused
5
White/Blue
Unused
6
Green
Receive-
7
White/Brown
Unused
8
Brown
Unused
Table 1 - Straight-Through Cable Pinout
Cross-Over Cable:
RJ45 Pin # (END 1)
Wire Color
Diagram End #1
1
White/Orange
2
Orange
3
White/Green
4
Blue
5
White/Blue
6
Green
7
White/Brown
8
Brown
RJ45 Pin # (END 2)
Wire Color
Diagram End #2
1
White/Green
2
Green
3
White/Orange
4
Blue
5
White/Blue
6
Orange
7
White/Brown
8
Brown
Tables 2 & 3 - Cross-Over Cable Pinouts
Cross Cabling:
Wiring Diagrams for Straight Through, Cross Over and Y cables
Note: The hook is underneath in all cases and Pin one is always on the Left
Straight Through Cable
Color Code
Color
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8
white orange orange white green blue white blue green white brown brown
Cross Over Cable
Color Code
Color
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8
white green green white orange blue white blue orange white brown brown
Y Cable
Color Code
Color
Pin 1 Pin 2 Pin 3 Pin 6
Pin 1 Pin 2 Pin 3 Pin 6
white orange orange white green green
blue white blue white brown brown
LAN CABLING

Standard, Straight-Through Wiring (both ends are the same)(PC to HUB or HUB to HUB)
RJ45 Pin #
Wire Color
Wire Diagram
Signal*
Pin 1
White/Orange
Transmit+
Pin 2
Orange
Transmit-
Pin 3
White/Green
Receive+
Pin 4
Blue
Unused
Pin 5
White/Blue
Unused
Pin 6
Green
Receive-
Pin 7
White/Brown
Unused
Pin 8
Brown
Unused
Table 1: Straight-Through Cable Printout
Cross-Over Cable: (End 1 Side Straight & others side follows)(PC to PC)
RJ45 Pin # (END 1)
Wire Color
Diagram End #1
RJ45 Pin # (END 2)
Wire Color
Diagram End #2
Pin 1
White/Orange
Pin 1
White/Green
Pin 2
Orange
Pin 2
Green
Pin 3
White/Green
Pin 3
White/Orange
Pin 4
Blue
Pin 4
Blue
Pin 5
White/Blue
Pin 5
White/Blue
Pin 6
Green
Pin 6
Orange
Pin 7
White/Brown
Pin 7
White/Brown
Pin 8
Brown
Pin 8
Brown
Tables 2: Cross - Over Cable Printouts
Cross-Over Cable: (4 line cable)(PC to PC)
RJ45 Pin # (END 1)
Wire Color
Diagram End #1
RJ45 Pin # (END 2)
Wire Color
Diagram End #2
Pin 1
Yellow
Pin 1
Red
Pin 2
Green
Pin 2
Black
Pin 3
Red
Pin 3
Yellow
Pin 4
Pin 4
Pin 5
Pin 5
Pin 6
Black
Pin 6
Green
Pin 7
Pin 7
Pin 8
Pin 8
Tables 3: (4 line cable) Cross - Over Cable Printouts
Monday, August 18, 2008
IP EXAMPLES
Your company has a network ID of 212.107.8.0 .One router divides the network into four subnets. Each of the subnets will have a maximum of 50 hosts. What subnet mask should you use
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
To subdivide this network address into four subnets, use the mask 255.255.255.192. Note that
255.255.255.192=11111111.111111111.11111111.11000000
the fourth octet is used to subdivide this class c network.The two ones in the last octet present the 192, which gives 22=4 subnets. The six zeros give 26-2=62 host IDs per subnet
A computer with the IP address 12.14.231.78 is located on subnet 1. Its subnet mask is 255.255.255.0. Which computers are not local to this computer ?
121.14.231.29
120.14.231.8
121.14.102.100
121.14.231.150
121.10.231.42
Computer2 is local to computer 1 if they have the same network ID. If the computer2 has a network id different than computer1’s ID then computer2 is remote. In other words, local hosts are on the same subnet, a remote host is on the different subnet
Applying the subnet mask 255.255.255.0 to the IP address 121.14.231.78 to obtain the network ID 12.14.231.0. Note that this subnet mask identifies the first three octects of the IP address as the network ID. Therefore, any IP address that starts with 12.14.231 is on the same subnet as the computer in the question. IP addresses that start with anything else are not local to the computer in question
Which are the legitimate subnet mask ?
255.250.0.0
255.126.0.0
255.255.248.0
255.255.248.0
255.254.128.0
255.240.192.0
255.128.0.0
255.255.255.224
subnet mask must be composed of contiguous 1s followed by contiguous 0s
Consider the IP address 128.10.150.1/19 and 128.10.158.8/19 . Are the computers local or remote in location to each other ?
To determine whether two computers are local or remote to each other, calculate the network ID for each computer.If the network ID are the same, the computers are local. In others words they are the same subnet. If the network id are different, the computers are remote. A router is required to send messages between the two computers.
Computer 1
IP Address 128.10.150.1/19 10000000 00001010 10010110 00000001
Subnet mask 11111111 11111111 11100000 00000000
Network ID 10000000 00001010 10000000 00000000
Network ID in CIDR notation 128.10.128.0/19
Computer2
IP Address 128.10.158.8/19 10000000 00001010 10011110 00001000
Subnet Mask 11111111 11111111 11100000 00000000
Network ID 10000000 00001010 10000000 00000000
Network ID in CIDR notation 128.10.128.0/19
Your company uses the Class C address 201.20.5.0. You need to create five subnets with up to 25 host IDs per subnet. Which subnet mask should you use for this type of network
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
To subdivide this network address into five subnets, using the mask 255.255.255.224. Note that
255.255.255.224= 11111111.11111111.11111111.11100000
The fourth octect is used to subdivide the network. The subnet mask has three ones in the fourth octect. This gives 23 = 8 possible network (covering your 5). The five zeors in the fourth octect give 25 – 2 =30 possible hosts per subnet .( you need 25)
In CIDR notation this is 210.20.5.0/27
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
To subdivide this network address into four subnets, use the mask 255.255.255.192. Note that
255.255.255.192=11111111.111111111.11111111.11000000
the fourth octet is used to subdivide this class c network.The two ones in the last octet present the 192, which gives 22=4 subnets. The six zeros give 26-2=62 host IDs per subnet
A computer with the IP address 12.14.231.78 is located on subnet 1. Its subnet mask is 255.255.255.0. Which computers are not local to this computer ?
121.14.231.29
120.14.231.8
121.14.102.100
121.14.231.150
121.10.231.42
Computer2 is local to computer 1 if they have the same network ID. If the computer2 has a network id different than computer1’s ID then computer2 is remote. In other words, local hosts are on the same subnet, a remote host is on the different subnet
Applying the subnet mask 255.255.255.0 to the IP address 121.14.231.78 to obtain the network ID 12.14.231.0. Note that this subnet mask identifies the first three octects of the IP address as the network ID. Therefore, any IP address that starts with 12.14.231 is on the same subnet as the computer in the question. IP addresses that start with anything else are not local to the computer in question
Which are the legitimate subnet mask ?
255.250.0.0
255.126.0.0
255.255.248.0
255.255.248.0
255.254.128.0
255.240.192.0
255.128.0.0
255.255.255.224
subnet mask must be composed of contiguous 1s followed by contiguous 0s
Consider the IP address 128.10.150.1/19 and 128.10.158.8/19 . Are the computers local or remote in location to each other ?
To determine whether two computers are local or remote to each other, calculate the network ID for each computer.If the network ID are the same, the computers are local. In others words they are the same subnet. If the network id are different, the computers are remote. A router is required to send messages between the two computers.
Computer 1
IP Address 128.10.150.1/19 10000000 00001010 10010110 00000001
Subnet mask 11111111 11111111 11100000 00000000
Network ID 10000000 00001010 10000000 00000000
Network ID in CIDR notation 128.10.128.0/19
Computer2
IP Address 128.10.158.8/19 10000000 00001010 10011110 00001000
Subnet Mask 11111111 11111111 11100000 00000000
Network ID 10000000 00001010 10000000 00000000
Network ID in CIDR notation 128.10.128.0/19
Your company uses the Class C address 201.20.5.0. You need to create five subnets with up to 25 host IDs per subnet. Which subnet mask should you use for this type of network
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
To subdivide this network address into five subnets, using the mask 255.255.255.224. Note that
255.255.255.224= 11111111.11111111.11111111.11100000
The fourth octect is used to subdivide the network. The subnet mask has three ones in the fourth octect. This gives 23 = 8 possible network (covering your 5). The five zeors in the fourth octect give 25 – 2 =30 possible hosts per subnet .( you need 25)
In CIDR notation this is 210.20.5.0/27
JOB VIVA 6
1.What is Mail Gateway?
It is a system that performs a protocol translation between different electronic mail delivery protocols.
2.What is IGP (Interior Gateway Protocol)?
It is any routing protocol used within an autonomous system.
3.What is EGP (Exterior Gateway Protocol)?
It is the protocol the routers in neighboring autonomous systems use to identify the set of networks that can be reached within or via each autonomous system.
4.What is autonomous system?
It is a collection of routers under the control of a single administrative authority and that uses a common Interior Gateway Protocol.
5.What is BGP (Border Gateway Protocol)?
It is a protocol used to advertise the set of networks that can be reached with in an autonomous system. BGP enables this information to be shared with the autonomous system. This is newer than EGP (Exterior Gateway Protocol).
6.What is Gateway-to-Gateway protocol?
It is a protocol formerly used to exchange routing information between Internet core routers.
7.What is NVT (Network Virtual Terminal)?
It is a set of rules defining a very simple virtual terminal interaction. The NVT is used in the start of a Telnet session.
8.What is a Multi-homed Host?
It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multi-homed Host.
9.What is Kerberos?
It is an authentication service developed at the Massachusetts Institute of Technology. Kerberos uses encryption to prevent intruders from discovering passwords and gaining unauthorized access to files.
10.What is OSPF?
It is an Internet routing protocol that scales well, can route traffic along multiple paths, and uses knowledge of an Internet's topology to make accurate routing decisions.
11.What is Proxy ARP?
It is using a router to answer ARP requests. This will be done when the originating host believes that a destination is local, when in fact is lies beyond router.
12.What is SLIP (Serial Line Interface Protocol)?
It is a very simple protocol used for transmission of IP datagrams across a serial line.
13.What is RIP (Routing Information Protocol)?
It is a simple protocol used to exchange information between the routers.
14.What is source route?
It is a sequence of IP addresses identifying the route a datagram must follow. A source route may optionally be included in an IP datagram header.
It is a system that performs a protocol translation between different electronic mail delivery protocols.
2.What is IGP (Interior Gateway Protocol)?
It is any routing protocol used within an autonomous system.
3.What is EGP (Exterior Gateway Protocol)?
It is the protocol the routers in neighboring autonomous systems use to identify the set of networks that can be reached within or via each autonomous system.
4.What is autonomous system?
It is a collection of routers under the control of a single administrative authority and that uses a common Interior Gateway Protocol.
5.What is BGP (Border Gateway Protocol)?
It is a protocol used to advertise the set of networks that can be reached with in an autonomous system. BGP enables this information to be shared with the autonomous system. This is newer than EGP (Exterior Gateway Protocol).
6.What is Gateway-to-Gateway protocol?
It is a protocol formerly used to exchange routing information between Internet core routers.
7.What is NVT (Network Virtual Terminal)?
It is a set of rules defining a very simple virtual terminal interaction. The NVT is used in the start of a Telnet session.
8.What is a Multi-homed Host?
It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multi-homed Host.
9.What is Kerberos?
It is an authentication service developed at the Massachusetts Institute of Technology. Kerberos uses encryption to prevent intruders from discovering passwords and gaining unauthorized access to files.
10.What is OSPF?
It is an Internet routing protocol that scales well, can route traffic along multiple paths, and uses knowledge of an Internet's topology to make accurate routing decisions.
11.What is Proxy ARP?
It is using a router to answer ARP requests. This will be done when the originating host believes that a destination is local, when in fact is lies beyond router.
12.What is SLIP (Serial Line Interface Protocol)?
It is a very simple protocol used for transmission of IP datagrams across a serial line.
13.What is RIP (Routing Information Protocol)?
It is a simple protocol used to exchange information between the routers.
14.What is source route?
It is a sequence of IP addresses identifying the route a datagram must follow. A source route may optionally be included in an IP datagram header.
Thursday, August 14, 2008
JOB VIVA 5
1. What is virtual channel?
Virtual channel is normally a connection from one source to one destination, although multicast connections are also permitted. The other name for virtual channel is virtual circuit.
2. What is virtual path?
Along any transmission path from a given source to a given destination, a group of virtual circuits can be grouped together into what is called path.
3. What is packet filter?
Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.
4. What is traffic shaping?
One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping.
5. What is multicast routing?
Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.
6. What is region?
When hierarchical routing is used, the routers are divided into what we will call regions, with each router knowing all the details about how to route packets to destinations within its own region, but knowing nothing about the internal structure of other regions.
7. What is silly window syndrome?
It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.
48. What are Digrams and Trigrams?
The most common two letter combinations are called as digrams. e.g. th, in, er, re and an. The most common three letter combinations are called as trigrams. e.g. the, ing, and, and ion.
49. Expand IDEA.
IDEA stands for International Data Encryption Algorithm.
50. What is wide-mouth frog?
Wide-mouth frog is the simplest known key distribution center (KDC) authentication protocol.
Virtual channel is normally a connection from one source to one destination, although multicast connections are also permitted. The other name for virtual channel is virtual circuit.
2. What is virtual path?
Along any transmission path from a given source to a given destination, a group of virtual circuits can be grouped together into what is called path.
3. What is packet filter?
Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.
4. What is traffic shaping?
One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping.
5. What is multicast routing?
Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.
6. What is region?
When hierarchical routing is used, the routers are divided into what we will call regions, with each router knowing all the details about how to route packets to destinations within its own region, but knowing nothing about the internal structure of other regions.
7. What is silly window syndrome?
It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.
48. What are Digrams and Trigrams?
The most common two letter combinations are called as digrams. e.g. th, in, er, re and an. The most common three letter combinations are called as trigrams. e.g. the, ing, and, and ion.
49. Expand IDEA.
IDEA stands for International Data Encryption Algorithm.
50. What is wide-mouth frog?
Wide-mouth frog is the simplest known key distribution center (KDC) authentication protocol.
Wednesday, August 13, 2008
JOB VIVA 4
1. What is the difference between TFTP and FTP application layer protocols?
The Trivial File Transfer Protocol (TFTP) allows a local host to obtain files from a remote host but does not provide reliability or security. It uses the fundamental packet delivery services offered by UDP.
The File Transfer Protocol (FTP) is the standard mechanism provided by TCP / IP for copying a file from one host to another. It uses the services offer by TCP and so is reliable and secure. It establishes two connections (virtual circuits) between the hosts, one for data transfer and another for control information.
2. What are major types of networks and explain?
Ø Server-based network
Ø Peer-to-peer network
Peer-to-peer network, computers can act as both servers sharing resources and as clients using the resources.
Server-based networks provide centralized control of network resources and rely on server computers to provide security and network administration
3. What are the important topologies for networks?
Ø BUS topology:
In this each computer is directly connected to primary network cable in a single line.
Advantages:
Inexpensive, easy to install, simple to understand, easy to extend.
Ø STAR topology:
In this all computers are connected using a central hub.
Advantages:
Can be inexpensive, easy to install and reconfigure and easy to trouble shoot physical problems.
Ø RING topology:
In this all computers are connected in loop.
Advantages:
All computers have equal access to network media, installation can be simple, and signal does not degrade as much as in other topologies because each computer regenerates it.
4. What is mesh network?
A network in which there are multiple network links between computers to provide multiple paths for data to travel.
5. What is difference between baseband and broadband transmission?
In a baseband transmission, the entire bandwidth of the cable is consumed by a single signal. In broadband transmission, signals are sent on multiple frequencies, allowing multiple signals to be sent simultaneously.
6. Explain 5-4-3 rule?
In a Ethernet network, between any two points on the network ,there can be no more than five network segments or four repeaters, and of those five segments only three of segments can be populated.
7. What MAU?
In token Ring , hub is called Multistation Access Unit(MAU).
8. What is the difference between routable and non- routable protocols?
Routable protocols can work with a router and can be used to build large networks. Non-Routable protocols are designed to work on small, local networks and cannot be used with a router
9. Why should you care about the OSI Reference Model?
It provides a framework for discussing network operations and design.
10. What is logical link control?One of two sublayers of the data link layer of OSI reference model, as defined by the IEEE 802 standard. This sublayer is responsible for maintaining the link between computers when they are sending data across the physical network connection
The Trivial File Transfer Protocol (TFTP) allows a local host to obtain files from a remote host but does not provide reliability or security. It uses the fundamental packet delivery services offered by UDP.
The File Transfer Protocol (FTP) is the standard mechanism provided by TCP / IP for copying a file from one host to another. It uses the services offer by TCP and so is reliable and secure. It establishes two connections (virtual circuits) between the hosts, one for data transfer and another for control information.
2. What are major types of networks and explain?
Ø Server-based network
Ø Peer-to-peer network
Peer-to-peer network, computers can act as both servers sharing resources and as clients using the resources.
Server-based networks provide centralized control of network resources and rely on server computers to provide security and network administration
3. What are the important topologies for networks?
Ø BUS topology:
In this each computer is directly connected to primary network cable in a single line.
Advantages:
Inexpensive, easy to install, simple to understand, easy to extend.
Ø STAR topology:
In this all computers are connected using a central hub.
Advantages:
Can be inexpensive, easy to install and reconfigure and easy to trouble shoot physical problems.
Ø RING topology:
In this all computers are connected in loop.
Advantages:
All computers have equal access to network media, installation can be simple, and signal does not degrade as much as in other topologies because each computer regenerates it.
4. What is mesh network?
A network in which there are multiple network links between computers to provide multiple paths for data to travel.
5. What is difference between baseband and broadband transmission?
In a baseband transmission, the entire bandwidth of the cable is consumed by a single signal. In broadband transmission, signals are sent on multiple frequencies, allowing multiple signals to be sent simultaneously.
6. Explain 5-4-3 rule?
In a Ethernet network, between any two points on the network ,there can be no more than five network segments or four repeaters, and of those five segments only three of segments can be populated.
7. What MAU?
In token Ring , hub is called Multistation Access Unit(MAU).
8. What is the difference between routable and non- routable protocols?
Routable protocols can work with a router and can be used to build large networks. Non-Routable protocols are designed to work on small, local networks and cannot be used with a router
9. Why should you care about the OSI Reference Model?
It provides a framework for discussing network operations and design.
10. What is logical link control?One of two sublayers of the data link layer of OSI reference model, as defined by the IEEE 802 standard. This sublayer is responsible for maintaining the link between computers when they are sending data across the physical network connection
JOB VIVA 3
1. What is Bandwidth?
Every line has an upper limit and a lower limit on the frequency of signals it can carry. This limited range is called the bandwidth.
2. What are the types of Transmission media?
Signals are usually transmitted over some transmission media that are broadly classified in to two categories.
a) Guided Media:
These are those that provide a conduit from one device to another that include twisted-pair, coaxial cable and fiber-optic cable. A signal traveling along any of these media is directed and is contained by the physical limits of the medium. Twisted-pair and coaxial cable use metallic that accept and transport signals in the form of electrical current. Optical fiber is a glass or plastic cable that accepts and transports signals in the form of light.
b) Unguided Media:
This is the wireless media that transport electromagnetic waves without using a physical conductor. Signals are broadcast either through air. This is done through radio communication, satellite communication and cellular telephony.
3. What is Project 802?
It is a project started by IEEE to set standards to enable intercommunication between equipment from a variety of manufacturers. It is a way for specifying functions of the physical layer, the data link layer and to some extent the network layer to allow for interconnectivity of major LAN
protocols.
It consists of the following:
Ø 802.1 is an internetworking standard for compatibility of different LANs and MANs across protocols.
Ø 802.2 Logical link control (LLC) is the upper sublayer of the data link layer which is non-architecture-specific, that is remains the same for all IEEE-defined LANs.
Ø Media access control (MAC) is the lower sublayer of the data link layer that contains some distinct modules each carrying proprietary information specific to the LAN product being used. The modules are Ethernet LAN (802.3), Token ring LAN (802.4), Token bus LAN (802.5).
Ø 802.6 is distributed queue dual bus (DQDB) designed to be used in MANs.
4. What is Protocol Data Unit?
The data unit in the LLC level is called the protocol data unit (PDU). The PDU contains of four fields a destination service access point (DSAP), a source service access point (SSAP), a control field and an information field. DSAP, SSAP are addresses used by the LLC to identify the protocol stacks on the receiving and sending machines that are generating and using the data. The control field specifies whether the PDU frame is a information frame (I - frame) or a supervisory frame (S - frame) or a unnumbered frame (U - frame).
5. What are the different type of networking / internetworking devices?
Repeater:
Also called a regenerator, it is an electronic device that operates only at physical layer. It receives the signal in the network before it becomes weak, regenerates the original bit pattern and puts the refreshed copy back in to the link.
Bridges:
These operate both in the physical and data link layers of LANs of same type. They divide a larger network in to smaller segments. They contain logic that allow them to keep the traffic for each segment separate and thus are repeaters that relay a frame only the side of the segment containing the intended recipent and control congestion.
Routers:
They relay packets among multiple interconnected networks (i.e. LANs of different type). They operate in the physical, data link and network layers. They contain software that enable them to determine which of the several possible paths is the best for a particular transmission.
Gateways:
They relay packets among networks that have different protocols (e.g. between a LAN and a WAN). They accept a packet formatted for one protocol and convert it to a packet formatted for another protocol before forwarding it. They operate in all seven layers of the OSI model.
6. What is ICMP?
ICMP is Internet Control Message Protocol, a network layer protocol of the TCP/IP suite used by hosts and gateways to send notification of datagram problems back to the sender. It uses the echo test / reply to test whether a destination is reachable and responding. It also handles both control and error messages.
7. What are the data units at different layers of the TCP / IP protocol suite?
The data unit created at the application layer is called a message, at the transport layer the data unit created is called either a segment or an user datagram, at the network layer the data unit created is called the datagram, at the data link layer the datagram is encapsulated in to a frame and finally transmitted as signals along the transmission media.
8. What is difference between ARP and RARP?
The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP query packet that includes the IP address of the receiver.
The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address.
9. What is the minimum and maximum length of the header in the TCP segment and IP datagram?
The header should have a minimum length of 20 bytes and can have a maximum length of 60 bytes.
10. What is the range of addresses in the classes of internet addresses?
Class A 0.0.0.0 - 127.255.255.255
Class B 128.0.0.0 - 191.255.255.255
Class C 192.0.0.0 - 223.255.255.255
Class D 224.0.0.0 - 239.255.255.255
Class E 240.0.0.0 - 247.255.255.255
Every line has an upper limit and a lower limit on the frequency of signals it can carry. This limited range is called the bandwidth.
2. What are the types of Transmission media?
Signals are usually transmitted over some transmission media that are broadly classified in to two categories.
a) Guided Media:
These are those that provide a conduit from one device to another that include twisted-pair, coaxial cable and fiber-optic cable. A signal traveling along any of these media is directed and is contained by the physical limits of the medium. Twisted-pair and coaxial cable use metallic that accept and transport signals in the form of electrical current. Optical fiber is a glass or plastic cable that accepts and transports signals in the form of light.
b) Unguided Media:
This is the wireless media that transport electromagnetic waves without using a physical conductor. Signals are broadcast either through air. This is done through radio communication, satellite communication and cellular telephony.
3. What is Project 802?
It is a project started by IEEE to set standards to enable intercommunication between equipment from a variety of manufacturers. It is a way for specifying functions of the physical layer, the data link layer and to some extent the network layer to allow for interconnectivity of major LAN
protocols.
It consists of the following:
Ø 802.1 is an internetworking standard for compatibility of different LANs and MANs across protocols.
Ø 802.2 Logical link control (LLC) is the upper sublayer of the data link layer which is non-architecture-specific, that is remains the same for all IEEE-defined LANs.
Ø Media access control (MAC) is the lower sublayer of the data link layer that contains some distinct modules each carrying proprietary information specific to the LAN product being used. The modules are Ethernet LAN (802.3), Token ring LAN (802.4), Token bus LAN (802.5).
Ø 802.6 is distributed queue dual bus (DQDB) designed to be used in MANs.
4. What is Protocol Data Unit?
The data unit in the LLC level is called the protocol data unit (PDU). The PDU contains of four fields a destination service access point (DSAP), a source service access point (SSAP), a control field and an information field. DSAP, SSAP are addresses used by the LLC to identify the protocol stacks on the receiving and sending machines that are generating and using the data. The control field specifies whether the PDU frame is a information frame (I - frame) or a supervisory frame (S - frame) or a unnumbered frame (U - frame).
5. What are the different type of networking / internetworking devices?
Repeater:
Also called a regenerator, it is an electronic device that operates only at physical layer. It receives the signal in the network before it becomes weak, regenerates the original bit pattern and puts the refreshed copy back in to the link.
Bridges:
These operate both in the physical and data link layers of LANs of same type. They divide a larger network in to smaller segments. They contain logic that allow them to keep the traffic for each segment separate and thus are repeaters that relay a frame only the side of the segment containing the intended recipent and control congestion.
Routers:
They relay packets among multiple interconnected networks (i.e. LANs of different type). They operate in the physical, data link and network layers. They contain software that enable them to determine which of the several possible paths is the best for a particular transmission.
Gateways:
They relay packets among networks that have different protocols (e.g. between a LAN and a WAN). They accept a packet formatted for one protocol and convert it to a packet formatted for another protocol before forwarding it. They operate in all seven layers of the OSI model.
6. What is ICMP?
ICMP is Internet Control Message Protocol, a network layer protocol of the TCP/IP suite used by hosts and gateways to send notification of datagram problems back to the sender. It uses the echo test / reply to test whether a destination is reachable and responding. It also handles both control and error messages.
7. What are the data units at different layers of the TCP / IP protocol suite?
The data unit created at the application layer is called a message, at the transport layer the data unit created is called either a segment or an user datagram, at the network layer the data unit created is called the datagram, at the data link layer the datagram is encapsulated in to a frame and finally transmitted as signals along the transmission media.
8. What is difference between ARP and RARP?
The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP query packet that includes the IP address of the receiver.
The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address.
9. What is the minimum and maximum length of the header in the TCP segment and IP datagram?
The header should have a minimum length of 20 bytes and can have a maximum length of 60 bytes.
10. What is the range of addresses in the classes of internet addresses?
Class A 0.0.0.0 - 127.255.255.255
Class B 128.0.0.0 - 191.255.255.255
Class C 192.0.0.0 - 223.255.255.255
Class D 224.0.0.0 - 239.255.255.255
Class E 240.0.0.0 - 247.255.255.255
Subscribe to:
Posts (Atom)