pinging the hostname will resolve the ip for you Click START - RUN
type CMD then Enter
type Ping (Computername) then Enter
router#config t router(config)#router eigrp 100 #net NETWORK ADDRESS
Here is a basic overview of the configuration of RIP on a Cisco router:Router(config)#router ripRouter(config-router)#network 192.168.1.0Router(config-router)#network 192.168.2.0Router(config-router)#network 192.168.3.0Router(config-router)#network 192.168.4.0Router(config-router)#network 192.168.5.0The 192.168.x.0 address can be changed to whatever address you would like to be broadcast over RIP. There are also other settings that can be configured.If you use RIPv2 you can also have the following configuration:Router(config)#router ripRouter(config-router)#version 2Router(config-router)#network 192.168.1.0Router(config-router)#network 192.168.2.0Router(config-router)#network 192.168.3.0Router(config-router)#network 192.168.4.0Router(config-router)#network 192.168.5.0Router(config-router)#exitRouter(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#copy running-config startup-configDestination filename [startup-config]?Building configuration...[OK]Router#
router (config)# ip dhcp servicerouter (dhcp-config)# ip dhcp pool router (dhcp-config)# network
Router(config-if)#
I will show the commands, together with the prompt, assuming the router name has not been changed. A subnet mask is also required; I will provide one. ^Z is Control-Z, used to exit configuration mode quickly: Router>enable Router#configure terminal Router(config)#interface E0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#^Z Router#I will show the commands, together with the prompt, assuming the router name has not been changed. A subnet mask is also required; I will provide one. ^Z is Control-Z, used to exit configuration mode quickly: Router>enable Router#configure terminal Router(config)#interface E0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#^Z Router#I will show the commands, together with the prompt, assuming the router name has not been changed. A subnet mask is also required; I will provide one. ^Z is Control-Z, used to exit configuration mode quickly: Router>enable Router#configure terminal Router(config)#interface E0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#^Z Router#I will show the commands, together with the prompt, assuming the router name has not been changed. A subnet mask is also required; I will provide one. ^Z is Control-Z, used to exit configuration mode quickly: Router>enable Router#configure terminal Router(config)#interface E0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#^Z Router#
A(config)# router rip A(config-router)# passive-interface S0/0 B(config)# router rip B(config-router)# network 192.168.25.48 B(config-router)# network 192.168.25.64 A(config)# router rip A(config-router)# no network 192.168.25.32 B(config)# router rip B(config-router)# passive-interface S0/0 A(config)# no router rip
Remove Console password router>enable router#configure terminal router(config)#line console 0 router(config-line)#no login router(config-line)#no password router(config-line)#exit router(config)#exit
That's where the router's startup-config (startup configuration) is stored.That's where the router's startup-config (startup configuration) is stored.That's where the router's startup-config (startup configuration) is stored.That's where the router's startup-config (startup configuration) is stored.
Type on previllage Mode:- Router(config)#line vty 0 4 Router(config-line)#pass Router(config-line)#password 123 Router(config-line)#login Router(config-line)#exit used for telnet , to take ur PC on telnet through Router..............
Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/1Admin(config-if)#ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/1Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248
The startup config is what has been saved to the memory (using write mem) and is used when the router is powered on. You can change the startup config after it has been powered up, this would be the running config. If you power the router off without saving the changes, it would revert to the startup config.
A description will be configured on the router interfaces identifying them as belonging to RouterA.The router will attempt to establish a connection to the host with the name RouterA.The router will map an IP address to the domain name RouterA.The router prompt will change from Router(config)# to RouterA(config)#