Question

Locked

Cisco router configuration

By xavier_talla ·
Please, from the simulation software I want to set an IP address for local host computers. Which command do I use for that on the CLI? This question also applies on setting the clock rate. For the clock rate I used: #clock rate 64000; the CLI is taking it but the result is still "not done". Please help

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Reply Cisco router configuration

by mohitgoyal1981 In reply to Cisco router configuratio ...

Hi xavier,

As you are using simulator you need not to provide clock rate as it is only prvided to DTE/DCE end of the serial cable...
if i understand correct you want to provide IP addess to E0 interface of the router so that it can communicate with router...

if it is then you can try this:

router#config t
Router(config-terminal)#int e0
Router(config-if)#ip address 192.168.1.3 255.255.255.0 {ip address your desired Ip with netmask)


HOpe this would solve your issue...

Cheers

Collapse -

Cisco router configuration

by xavier_talla In reply to Reply Cisco router config ...

Thanks for your information Mo,
I have done all the above and it was correct. What I mean is giving a local host (one or two hosts on a network) an IP address. Directly on the blue screen I can right click on a host and configure (Name, IP address, subnet mask, Gateway), but what I want to know is how to give a host an IP address from the CLI (command line interface). There is a check weither you got the configuration or not. I have gotten all but not the host address and setting the clock.
To give a host a name I know: "ip host <name> <ip address>" but this is not what I want.This only associates a host ip address to a name.
Thanks again

Collapse -

DHCP

by NetMan1958 In reply to Cisco router configuratio ...

It sounds like you are wanting to configure DHCP on the router. Try this:
ip dhcp pool mypool
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
domain-name domain.com
dns-server XX.XX.XX.XX XX.XX.XX.XX

replace the X's with the ip addresses of your DNS servers.

Back to Networks Forum
4 total posts (Page 1 of 1)  

Hardware Forums