Posts

Showing posts from January, 2014

Set A Static IP Address On Windows 7 From The Command Line

Windows has traditionally been all about the GUI. However, in Windows 7 it’s possible to set a static IP address from the command line. Here’s how to do it. Let’s say you want to give your Windows 7 system an IP address of 192.168.1.2, a subnet mask of 255.255.255.0, a default gateway of 192.168.1.254, and a DNS server address of 192.168.1.200. Go to an elevated command prompt (right-click on the command prompt icon and select Run As Administrator) and type these two commands: netsh interface ipv4 set address “local area connection” static 192.168.1.2 255.255.255.0 192.168.1.254 netsh interface ipv set dnsservers “local area connection” static 192.168.1.200 These commands will configure the Local Area Connection with a static IP, netmask, gateway, and DNS server. If you want to switch back to receiving your networking settings from a DHCP server, use these commands: netsh interface ipv4 set address name=”local area connection” source=dhcp netsh interface ipv4 set dnsser...

Creating FAT32 Partition/Preparing Drive for OS Install Using Windows 98 SE Boot Disk

The following tutorial explains using the FDISK DOS application to set up a partition on a new hard drive or to delete an existing hard drive before clean-installing an operating system (OS). This is done using the Windows 98 SE boot disk. Requirements: Windows 98 SE boot disk NOTE: Remember that deleting a partition is equal to formatting your hard drive. Back up what you want to CD or DVD. Step 1 – Deleting Existing Partitions  (Use these instructions if you are not using a new hard drive and want to delete your old one.) a.  We will need to change the BIOS/CMOS settings so your PC will boot to floppy first. b.  Insert the Windows 98 boot disk, and reboot your PC. c.  It will bring up a Windows 98 Startup Menu screen. Choose the first option,  Start Computer with CD-ROM support . The boot disk will load and eventually return to a A:\ d.  At the A:\, type:  FDISK e.  This will now load the FDISK utility. The first screen m...

Enable the Built-In Windows 7 Administrator Account

Image
From the Command Prompt To enable the built-in Administrator's account by using the Command Prompt  please follow these steps: 1. Click Start and type CMD, then press Enter. It is best to run the Command Prompt as an Administrator. To do so, right-click CMD and select "Run as Administrator". When prompted to allow the Command Processor to run, click on "Yes". BTW, you can also hover over the CMD line and press CTRL + SHIFT + ENTER to invoke the "Run as Administrator" shortcut. In the Command Prompt window, type: net user Note how the Administrator account is there, yet the new user account has not been yet created. To set the Administrator's account password: net user * Then enter the required password and confirm it. To enable the Administrator's account: net user administrator /active:yes

Setting up a Network Printer in Windows 7

Image
1.  Click on the Start button, and then click on Devices and Printers.  2.  In the Devices and Printers window,  click  on the  Add a printer  button.  3.  In the  Add Printer  wizard,  click  on the option  Add a network, wireless, or Bluetooth printer .  Windows will display a list of available printers. 4.   Select  a printer from the list, or  click  on the option  The printer that I want isn't listed to find the desired printer . (To find a printer, proceed to step 5.)  5.  To find a printer not on the list,  perform  the following: Select  the option  Add a printer using a TCP/IP address or hostname , and then  click  on the  Next  button. ( Note :  Contact your department administrator if you don't know the printer's IP address.)  Enter  the IP address in the  Hostname or IP ...

How to configure routing with IPv6 step by step guides

To use IPv6 on your router, you must, at a minimum, enable the protocol and assign IPv6 addresses to your interfaces, like this: Router(config)# ipv6 unicast-routing Router(config)# interface type [slot_#/]port_# Router(config-if)# ipv6 address ipv6_address_prefix/prefix_length [eui-64] The  ipv6 unicast-routing  command globally enables IPv6 and must be the first IPv6 command executed on the router. The ipv6 address command assigns the prefix, the length, and the use of EUI-64 to assign the interface ID. Optionally, you can omit the eui-64 parameter and configure the entire IPv6 address. You can use the  show ipv6 interface  command to verify an interface’s configuration. Here’s an example configuration, with its verification: Router(config)# ipv6 unicast-routing By default, IPv6 traffic forwarding is disabled, so using this command enables it. Also, as you’ve probably guessed, IPv6 isn’t enabled by default on any interfaces either, so we have to go to e...

How to configure HDLC and PPP step by step guide and example

Image
In this article I will demonstrate how can you configure wan encapsulation protocols. HDLC is the default encapsulation for synchronous serial links on Cisco routers. You should only use the encapsulation hdlc command to return the link to its default state. For practical example of HDLC PPP create a simple topology as shown in figure or download this pre configured topology and load it in packet tracer. Double click on R1 and check the default encapsulation Router> Router#show interfaces serial 0/0/0 Serial0/0/0 is up, line protocol is up (connected) Hardware is HD64570 Internet address is 20.0.0.1/8 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) [output is omited] As you can verify that default encapsulation on router is HDLC. A wan link work only when it detects same protocols on same sides. To check it change the default encapsulation to PPP. Router#configure terminal Router...

How to configure Frame Realy

Image
Configuring Frame Relay involves the following steps: Change the encapsulation Go in interface mode and select the Frame Relay encapsulation on the interface. There are two types of Frame Relay encapsulations: Cisco and IETF. Cisco is the default. Syntax to set your encapsulation is encapsulation frame-relay [ietf] Configure LMI type The three LMI types are Cisco, Ansi, and Q933a. For IOS 11.2 and higher, the LMI type is automatically detected frame-relay lmi-type [cisco | ansi | 933a] Configure Frame Relay map configuring a static Frame Relay map, is optional unless you are using subinterfaces. The Frame Relay map will map a Layer 3 address to a local DLCI. This step is optional because inverse-arp will automatically perform this map for you. The syntax for a Frame Relay map is as follows: frame-relay map protocol address dlci [broadcast] [cisco | ietf] Configure subinterfaces If you are using a routing protocol in a hub-and-spoke topology, you will prob...

NAT Network address Translation Static and Dynamic

Image
When communicating to devices in a public network, your device needs to use a source address that is a public address. NAT device enables private IPv4 to connect to the Internet. NAT enable you to change an IP address in a packet to a different address. Usually, NAT connects two networks and translates the private (inside local) addresses into public addresses (inside global) before packets are forwarded to another network. In other word Address translation allows you to translate your internal private addresses to public addresses before these packets leave your network. Situation where you should use NAT Your ISP did not provide you sufficient public IP address Your company is going to merge in a company which use same address space Where you want to hide your internal IP address space from outside You want to assign the same IP address to multiple machines There are three types of NAT Static Dynamic PAT STATIC NAT In static NAT manual translation is performe...