Hi welcome to network kings, this tutorial is to connecting two lans in different locations, so suppose you have two locations or you can say two switches and connected to one ISP ( CISCO router ) First Connect both the switches with Cisco Router. 1. Chandigarh Branch ?Gateway ip address 192.168.1.100 2. Gurgaon Branch Gateway ip address 192.168.5.100 3. Chandigarh Lan Subnet 192.168.1.0/24 4. Gurgaon Lan Subnet 192.168.20/24 Now in 1st image i am configuring ip address to PC’s In 2nd image the most important one is to configure router interafaces int fa1/0 i am giving 192.168.1.100 chandigarh gateway on fa0/0 i am giving 192.168.5.100 gurgaon gateway in 3rd image you can see we can able to ping from chandigarh pc to Gurgaon PC. Thanks & Share .
Archives for May 2014
Hi, Today lets check, The cisco command line basics
You can use the command in many ways. First, use it when you don’t know what command to type. For example, type at the command line for a list of all possible commands. You can also use it when you don’t know what a command’s next parameter should be.
2. show running-configuration
The show running-config command shows the router, switch, or firewall’s current configuration. The running-configuration is the config that is in the router’s memory. You change this config when you make changes to the router. Keep in mind that config is not saved until you do a copy running-configuration startup-configuration. This command can be abbreviated?sh?run.
The?show interface?command displays the status of the router’s interfaces. Among other things, this output provides the following:
- Interface status (up/down)
- Protocol status on the interface
The?no shutdown? command enables an interface (brings it up). This command must be used in interface configuration mode. It is useful for new interfaces and for troubleshooting. When you’re having trouble with an interface, you may want to try a?shut?and?no shut.
5. show ip route
The?show ip route?command is used to show the router’s routing table. This is the list of all networks that the router can reach, their metric (the router’s preference for them), and how to get there.
6. show version
The?show version?command gives you the router’s configuration register (essentially, the router’s firmware settings for booting up), the last time the router was booted, the version of the IOS, the name of the IOS file, the model of the router, and the router’s amount of RAM and Flash. This command can be abbreviated?sh?ver.
The?debug?command has many options and does not work by itself. It provides detailed debugging output on a certain application, protocol, or service. For example,?debug ip route?will tell you every time a router is added to or removed from the router.
This Tutorial is to connect two different PC in Packet tracer, If you are not familiar with OSI model basics, go to our CCNA OSI Model video on youtube ” OSI network kings ” ,
SO for example
Pc1 ———————————connected to —————————-PC2
pc1 – 192.168.1.1
pc2 – 192.168.1.2
Points to Remember,
1. You can only assign Class A, Class B, Class C ?ip address.
2. Range between 1 – 229
3. You cannot assign all host value 0 , and 1 too, It means you cannot assign Network ID and broadcast ip address.