Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

configuring host table

hi,

i have two routers:

rome, with 2 interfaces:

-fast ethernet0: 192.168.1.129

-serial 0: 192.168.15.1

and berlin, with 2 interfaces too:

-fast ethernet0: 192.168.0.1

-serial0: 192.168.15.2

what are the command lines to configure the host tables on each router?

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Re: configuring host table

Its a Good practise to write down list of all routers name and corresponding ip address on a notepad text document and then paste it in all the routers or switches global config mode.

This way all the host tables will be same for your entire network.

in your case:

ip host rome 192.168.1.129 192.168.15.1

ip host berlin 192.168.0.1 192.168.15.2

Any doubts free to ask.

7 REPLIES
Silver

Re: configuring host table

The command is:

ip host HSOTNAME IPADDRESS

Let me know if this is what you mean,

Re: configuring host table

hi you can use it like this:

ip host rome 192.168.1.129 192.168.15.1

ip host berlin 192/168.0.1 192.168.15.2

ip host command allow you to define an ip address for a host name and you can have eight ip address associated with it.

rate this post if it helps

regards

Devang

New Member

Re: configuring host table

ok, but which command line on which router?

Re: configuring host table

enter the configurations in the global configuration mode on the respective routers

router(config)#ip host rome ip address1>

HTH

Narayan

New Member

Re: configuring host table

you mean for example on berlin router: (config)#ip host rome 192.168.1.129 192.168.15.1 ?

is that correct?

Bronze

Re: configuring host table

Its a Good practise to write down list of all routers name and corresponding ip address on a notepad text document and then paste it in all the routers or switches global config mode.

This way all the host tables will be same for your entire network.

in your case:

ip host rome 192.168.1.129 192.168.15.1

ip host berlin 192.168.0.1 192.168.15.2

Any doubts free to ask.

New Member

Re: configuring host table

Wel... i think you want is..

rome(config)#interface fastethernet 0

rome(config-if)#ip addres 192.168.1.129 a.b.c.d

rome(config-if)#exit

rome(config)#interface serial 0

rome(config-if)#ip addres 192.168.15.1 a.b.c.d

berlin(config)#interface fastethernet 0

berlin(config-if)#ip addres 192.168.0.1 a.b.c.d

berlin(config-if)#exit

berlin(config)#interface serial 0

berlin(config-if)#ip addres 192.168.15.2 a.b.c.d

where a.b.c.d is your subnet mask.

8011
Views
0
Helpful
7
Replies
CreatePlease to create content