I setup ospf routing with 3 routers in our network. All routers are part of Area 0, as they form the backbone.
| RTA |--------| RTB |--------| RTC |
- RTA and RTB are Cisco 7204VXR * RTC is a Linux/Quagga Router * RTA and RTB are both members of Area 1 * RTC is only member of Area 2
The interfaces in between RTA, RTB and RTC have private IPs configured (RTA 10.0.0.1, RTB 10.0.0.2, RTC 10.0.0.3). The ospf processes have a router-id set. It's the IP of the first loopback interface, an official IP from a routeable aggregate (xx.xx.xx.65, xx.xx.xx.66 and xx.xx.xx.67). Also "maximum-paths 1" is set on all cisco routers.
When I trace the loopback IP of RTA from RTB, it looks like this:
RTB#traceroute xx.xx.xx.65
Type escape sequence to abort. Tracing the route to xx.xx.xx.65
1 10.0.0.1 [AS xxxx] 0 msec * 0 msecBut when I trace the loopback IP of RTC (linux box), it looks like this:
RTB#traceroute xx.xx.xx.67
Type escape sequence to abort. Tracing the route to xx.xx.xx.67
1 xx.xx.xx.67 0 msec 4 msec 0 msecAll routers are equally configured. The only difference is, that RTC is a linux box.
RTB# show ip ospf
O xx.xx.xx.65/32 [110/2] via 10.0.0.1, 13:59:39, FastEthernet3/0 O xx.xx.xx.67/32 [110/11] via 10.0.0.3, 13:59:39, FastEthernet3/0
RTB#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface xx.xx.xx.65 100 FULL/BDR 00:00:37 10.0.0.1 FastEthernet3/0 xx.xx.xx.67 1 FULL/DR 00:00:37 10.0.0.3 FastEthernet3/0 xx.xx.xx.65 100 FULL/DR 00:00:37 192.168.100.1 FastEthernet0/0
- Line 1: RTA area 0
- Line 2: RTC area 0
- Line 3: RTA area 1
What do I need to configure, in order to let RTA return it's router-id in the traceroute, but not the private IP?
Or would it be better to use official IPs only on the OSPF backbone interfaces?
I kept this example simple. RTA is also an ASBR, so a traceroute from the outside to .67 (RTB) also includes it's private ip 10.0.0.2 as last hop in the trace.
Any help or advice would be highly appreciated.
Thanks in advance,
Michael