Must both key-id and key-string be same when authenticating?

May 29, 2007 2 Replies

Hello,



If each router is configured to use key chain to authenticate each other, must both key-id and key-string be same? For example, R1 --------------- R2. On R1: (key1=abc, key2=def, key3=xyz) On R2: (key1=xyz, key2=abc, key3=def) They have same key-strings, but different key-ids, Can this configuration be used?



Thanks.



No, It cannot be used.

In order for you to authenticate a peer, both key-string and key-id have to be the same in both peers.

I.E.- R1 ---------- R2 On R1: (key1=abc, key2=def, key3=xyz) On R2: (key1=abc, key2=def, key3=xyz)

See you!!!

HACabrera

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required