01-15-2018 04:12 AM - edited 03-08-2019 01:25 PM
Hi everybody,
I'd like to configure the same IP address on two different sub-interface on the same router (to use them in a different phases of my test) and enable OSPF process on both interface. I want to keep enable (no shutdown) one interface at the time, and than shut down the active interface and enable the other interface.
Following figure is an example
i want to keep up the fa0/0 interface, than shutdown fa0/0 and keep up fa0/1 interface. Starting from the condition of both fa0/0, fa0/0.100, fa0/1 and fa0/1.100 in shutdown state....when i configure no shut on fa0/0 the router display the following message "incorrect IP address assignment"
there is a way to resolve the problem? or i must configure no ip add on fa0/0.100 and than enable fa0/1?
Thanks a lot
Paolo
thanks Paolo
01-15-2018 05:09 AM - edited 01-15-2018 05:10 AM
Hi
You cannot have the same IP address on 2 or + interfaces on the same router, unless you are using VRF on one of them or you are configuring BVI
Option 1) with VRF
ip vrf TEST
rd 1:1
interface fa0/0
ip address 172.16.1.1 255.255.255.0
no shutdown
interface fa0/1
ip vrf forwarding TEST
ip address 172.16.1.1 255.255.255.0
no shutdown
Option 2) BVI
bridge irb
default interface fa0/0
default interface fa0/1
interface fa0/0
bridge-group 100
no shutdown
interface fa0/1
bridge-group 100
no shutdown
interface BVI 100
ip address 172.16.1.1 255.255.255.0
no shutdown
bridge 100 protocol ieee
bridge 100 route ip
*The option 2 should resolve the inconvience.
Hope it is useful
:-)
01-15-2018 05:54 AM
Thanks a lot,
i was thinking that you can have only one active (up interface) same ip address on the same router, but has you said it create problems.
Your solution is nice but i will keep more simple proceding with deleting ip address and reassigning it to the other interface
Thanks
Paolo
01-15-2018 06:00 AM
Hi Paolo,
You are welcome
:-)
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