Is the static route discover automatically or need run any command?
I have two router, and I have configured the IP address for the link port of them.
but the Router3's route is empty:
Router#show ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
they are connect directly, why there is no the static route? is there need any command for discover it?
EDIT-1
this is my running-config of Router3:
Router#show running-config
Building configuration...
Current configuration : 1113 bytes
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
boot system flash cgr1000-universalk9-mz.SPA.154-2.CG
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet2/3
switchport mode access
switchport nonegotiate
!
interface FastEthernet2/4
switchport mode access
switchport nonegotiate
!
interface FastEthernet2/5
switchport mode access
switchport nonegotiate
!
interface FastEthernet2/6
switchport mode access
switchport nonegotiate
!
interface GigabitEthernet2/1
no switchport
ip address 12.12.12.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet2/2
switchport mode access
switchport nonegotiate
!
interface Dot11Radio2/1
no ip address
shutdown
!
interface Vlan1
no ip address
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line 1/1 1/2
stopbits 1
!
line 1/3 1/6
stopbits 1
!
line vty 0 4
login
!
!
!
!
end
EDIT-2
My cdp neighbors
of Router3:
Router#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
Router Gig 2/1 157 CGR1000 Gig 2/1
show cdp nei
, then you would at least needip route 0.0.0.0 0.0.0.0 12.12.12.2
for it to work properly. This would send all traffic to Router4.ip route 0.0.0.0 0.0.0.0 12.12.12.2
before your comment, but still there is no gateway.