Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Re: Odd OSPF route behavior over GRE tunnel

$
0
0

There are some default routes floating around in OSPF at the hub. Interesting thought, I could see where that could be an issue. Will have to turn stuff on and check the routing table.

 

Is there a way to force the cost to 1 for the dchp route?

 

Requested sections for both sides, sanitized.

 

Remote interfaces

 

rhu2# show interfaces
 ethernet eth0 {                (Cable modem)
     address dhcp
     duplex auto
     speed auto
 }
 ethernet eth1 {
     address AAA.BB.63.1/29     (Public IP, local LAN)
     duplex auto
     ip {
         ospf {
             cost 1
             dead-interval 40
             hello-interval 10
             priority 1
             retransmit-interval 5
             transmit-delay 1
         }
     }
     speed auto
 }
 ethernet eth2 {
     address 192.168.10.1/24    (Not connected - emergency recovery)
     duplex auto
     speed auto
 }
 loopback lo {
     address 192.168.254.2/32
 }
 tunnel tun0 {
     address 192.168.200.2/30
     description "Remote Site 1"
     encapsulation gre
     ip {
         ospf {
             cost 25
             dead-interval 40
             hello-interval 10
             network point-to-point
             priority 1
             retransmit-interval 5
             transmit-delay 1
         }
     }
     local-ip 192.168.254.2
     multicast disable
     remote-ip 192.168.254.1
     ttl 255
 }

Remote OSPF

 

 

rhu2# show protocols ospf
area 0.0.0.0 {
area-type {
normal
}
network AAA.BB.32.0/19 (includes AAA.BB.63.1/29 )
}
log-adjacency-changes {
}
parameters {
abr-type cisco
rfc1583-compatibility
}

Hub interfaces

sfu3# show interfaces
 ethernet eth0 {
     address MMM.NNN.102.162/30         (External IP, also default route)
     duplex auto
     speed auto
 }
 ethernet eth1 {
     address AAA.BB.32.1/25             (Internal net 1, public IP space)
     duplex auto
     ip {
         ospf {
             cost 1
             dead-interval 40
             hello-interval 10
             priority 1
             retransmit-interval 5
             transmit-delay 1
         }
     }
     speed auto
 }
 ethernet eth2 {
     address DDD.EE.65.213/28           (Public IP)
     description PBX(NAT)
     duplex auto
     speed auto
 }
 ethernet eth3 {
     duplex auto
     speed auto
 }
 ethernet eth4 {
     address XXX.YY.80.37/26            (Internal net 2, public IP space)
     duplex auto
     ip {
         ospf {
             cost 10
             dead-interval 40  
             hello-interval 10
             priority 1
             retransmit-interval 5
             transmit-delay 1
         }
     }
     speed auto
 }
 ethernet eth5 {
     address 192.168.1.1/24             (Not connected, emergency recovery)
     duplex auto
     speed auto
 }
 ethernet eth6 {
     address 172.16.2.23/24             (Maintenance / Backups network)
     duplex auto
     speed auto
 }
 ethernet eth7 {
     address XXX.YY.4.82/26             (Not used or connected)
     duplex auto
     speed auto
 }
 loopback lo {
     address 192.168.254.1/32
 }
 tunnel tun0 {
     address AAAA:BBB:CCCC:DDD::E/64
     description "tunnelbroker.com IPV6 tunnel"
     encapsulation sit
     local-ip MMM.NNN.102.162
     multicast disable
     remote-ip PPP.QQQ.253.14
     ttl 255
 }
 tunnel tun1 {
     address 192.168.200.1/30
     description "Remote Site 1"
     encapsulation gre
     ip {
         ospf {
             cost 25
             dead-interval 40
             hello-interval 10
             network point-to-point
             priority 1
             retransmit-interval 5
             transmit-delay 1
         }
     }
     local-ip 192.168.254.1
     multicast disable
     remote-ip 192.168.254.2
     ttl 255
 }

Hub OSPF

sfu3# show protocols ospf
 area 0.0.0.0 {
     network AAA.BB.32.0/19
 }
 area 0.0.0.4 {
     network XXX.YY.80.0/20
 }
 parameters {
     abr-type cisco
     rfc1583-compatibility                    (Used to talk to Proteon routers)
 }
 redistribute {
     kernel {
         metric 2
         metric-type 2
     }
     static {
         metric 2
         metric-type 2
     }
 }

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles