08-18-2006 09:53 AM - edited 03-03-2019 04:35 AM
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
Solved! Go to Solution.
08-30-2006 01:51 AM
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.
08-18-2006 10:01 AM
The command is:
ip host HSOTNAME IPADDRESS
Let me know if this is what you mean,
08-18-2006 10:06 AM
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
08-29-2006 08:30 AM
ok, but which command line on which router?
08-29-2006 08:32 PM
enter the configurations in the global configuration mode on the respective routers
router(config)#ip host rome
HTH
Narayan
08-30-2006 12:07 AM
you mean for example on berlin router: (config)#ip host rome 192.168.1.129 192.168.15.1 ?
is that correct?
08-30-2006 01:51 AM
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.
08-31-2006 03:21 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide