IP for router ID

Dear ,

What is the practical way to define the right IP for Router ID?
Suppose one of my router eth with ip address 192.168.0.11, can i use this ip as router id ?  and what about loopback ip ?

thanks,
ikhmerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ugnvsCommented:
Basically, if one does not take special measures a router can be accessed by telnetting to any configured IP address at any interface.
0
lanboyoCommented:
A cisco will chose the highest IP of its active interfaces on boot up as router ID, unless a specific IP is specified. Router ID can serve as a tiebreaker for OSPF designated router elections on a network segment, but it's most practical purpose is to identify a router for management purposes. Larger networks tend to assign a loopback address from a pool of networks used only for loopbacks and designate these as the router ID.  Router ID is usually specific to a particular routing protocol process.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ikhmerAuthor Commented:
Well, I want to enable ospf protocol in my existing network.
the point is should i assign ip of another subnet just router id or if router-id can be manually assign to be the same ip address of any interface's ip?

e.g: my Router A, ethernet0/1: 192.168.0.11
and i manually assign 192.168.0.11 as its router id ?

or should i set 192.168.11.11 ( ip of other subnet ) for Router A ID ? in this case i will wast one ip address.
so, what is the most practical way?

Best regards,
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

mikebernhardtCommented:
If you create a loopback interface, OSPF will automatically use it for its router ID. This is useful because if you add/change your interface addresses, the loopback won't change and so the router ID won't change. And, it's always up which is handy if you have more than one interface in use- you can always access the router via the loopback address regardless of whether a particular interface is working (of course, ONE of them must be up!).

You should include the loopback address in the routing process because functions like ASBR depend on the reachablility of the router ID to work. Many people take an unused subnet and break it up for loopback addresses only. You can address it with a 32-bit mask (255.255.255.255).

0
ikhmerAuthor Commented:
thank you! so, i will need to have another subnet for router id.
0
mikebernhardtCommented:
Well, that's the easiest way because it doesn't interfere with your current addressing plan.
0
Rick_O_ShayCommented:
I manage my loopbacks which are also the router IDs by making them /32s and adding those host routes to the networks OSPF is routing to make them reachable throughout the network.
0
mikebernhardtCommented:
Yep, that's what I was saying. I've done that everywhere I've ever worked.
0
ikhmerAuthor Commented:
well, i decide to assign router id manually and did not use loopback . the router id is the ip address of one eth interface of each router. so i don't need to have a separate subnet for just router id.

if you think it is not the appropriate way please give me your comments !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.