R1:
>enable
#conf term
(config)# int ser 0
(config-in)#ip address 192.168.1.1 255.255.255.0
(config-in)#no shutdown
(Config-in)#end
#
R2:
>enable
(config)#int ser 0
(config-if)#ip address 192.158.1.2 255.255.255.0
(config-if)#no shutdown
(config-if)#exit
(config)#interface loopback 1
(config-if)#ip address 192.168.1.10 255.255.255.0
(config-if)#end
#
R1:
>enable
#ping 192.168.1.10
I have configured my two router with the serial interface and one loopback interface in R2 router as above commands
My query is why we are using loopback interface there in R2 ? as per my knowledge i know that the loopback nterface is a logical interface which will be UP unless the router that is in my case R2 powered off.
But if the physcial link between the router that is R1 and R2 goes down, whether we can able to ping and telnet the logical interface in R2 from R1
please suggest on the above issue and let me know the much more details about loopback interface.