Link to home
Start Free TrialLog in
Avatar of ikhmer
ikhmer

asked on

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,
Avatar of ugnvs
ugnvs
Flag of Belarus image

Basically, if one does not take special measures a router can be accessed by telnetting to any configured IP address at any interface.
ASKER CERTIFIED SOLUTION
Avatar of lanboyo
lanboyo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ikhmer
ikhmer

ASKER

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,
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ikhmer

ASKER

thank you! so, i will need to have another subnet for router id.
Well, that's the easiest way because it doesn't interfere with your current addressing plan.
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.
Yep, that's what I was saying. I've done that everywhere I've ever worked.
Avatar of ikhmer

ASKER

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 !