RE: (PM) stub areas not adopting default route

James Courtier-Dutton (dutton@livingston-ent.co.uk)
Sun, 25 Apr 1999 14:14:18 +0100

Hello
"set default listen" might help
Cheers
James


> -----Original Message-----
> From: owner-portmaster-users@livingston.com
> [mailto:owner-portmaster-users@livingston.com]On Behalf Of Stephen R.
> van den Berg
> Sent: Sunday, April 25, 1999 01:32
> To: portmaster-users@livingston.com
> Subject: (PM) stub areas not adopting default route
>
>
> On the PM3:
>
> OSPF area 10.0.1.1
> configured as stub area
> It doesn't matter if I set stub-default-cost to something or not.
> > sh ospf links
> athena> sh ospf links
>
> Router Links for Area 10.0.1.1
> Link ID Advertising Router Sequence TOS Ext Age
> --------------- ------------------ ---------- --- --- ----
> 1.2.3.27 1.2.3.27 0x8000000c No No 320
> 10.0.0.13 10.0.0.13 0x8000000f No No 9
>
> Network Links for Area 10.0.1.1
> Link ID Advertising Router Sequence TOS Ext Age Mask
> --------------- ------------------ ---------- --- --- ---- ----
> 10.0.1.6 1.2.3.27 0x80000005 No No 3788 29
>
> Summary Links from others for Area 10.0.1.1
> Link ID Advertising Router Sequence TOS Ext Age Mask
> --------------- ------------------ ---------- --- --- ---- ----
> 0.0.0.0 1.2.3.27 0x80000005 No No 225 0
> 10.0.1.8 1.2.3.27 0x80000006 No No 226 29
> 10.0.0.31 1.2.3.27 0x80000006 No No 226 27
>
> Summary Links from ourself for Area 10.0.1.1
> Link ID Advertising Router Sequence TOS Ext Age Mask
> --------------- ------------------ ---------- --- --- ---- ----
>
> One person was logged in at this point in time, he was using one of
> the dynamically assigned addresses out of this PM3's assigned pool
> (meaning: no extra routing table entries generated outside of
> the PM3).
>
> On the Linux 2.2.5 gated 3.11-Alexey I have in gated.conf:
>
> routerid 1.2.3.27;
> ospf yes {
> defaults {
> router-prio;
> };
> backbone {
> interface 10.0.0.27 {
> enable;
> priority 2;
> auth simple "hi";
> };
> };
> area 10.0.1.1 {
> stub cost 1;
> interface 10.0.1.6 {
> auth simple "ho";
> };
> };
> area 10.0.1.9 {
> stub cost 1;
> interface 10.0.1.14 {
> auth simple "ha";
> };
> };
> }
> static {
> default gateway 194.183.100.65;
> };
> export proto ospfase type 1 {
> proto rip;
> proto ospf;
> proto ospfase;
> proto direct;
> proto kernel;
> };
> export proto ospfase type 2 {
> proto static {
> default metric 1;
> };
> };
>
> Now, if we check the routing table on the PM3, we see that
> it does *not* adopt the default route which my gated is
> advertising (or at least, seems to be):
>
> > sh route
> Destination Mask Gateway Source Flag Met Interface
> ----------------- ---- -------------------- ------- ---- --- ---------
> 111.22.3.178 32 111.22.3.178 local HL 1 ptp0
> 10.0.1.8 29 10.0.1.6 ospf/IA ND 2 ether0
> 10.0.1.0 29 10.0.1.1 local NL 1 ether0
> 10.0.0.0 27 10.0.1.6 ospf/IA ND 2 ether0
>
> The topology here roughly is:
>
> PM3 10.0.1.1 ---------------- 10.0.1.6 Linux gated 10.0.0.27 ----\
> 10.0.1.0/29 10.0.1.14 |
> | |
> | Rest of the world
> 10.0.1.8/29 /
> __________________/
>
> Whereas the routerid of the 10.0.1.1 PM3 is equal to 10.0.0.13
> and the routerid of the Linux gated box is 1.2.3.27
>
> I've tried different stub cost settings (higher in the PM3,
> higher in gated), nothing seems to convince the PM3 to create a
> default route to the Linux gated box.
>
> Any insight would be appreciated.
> -
> Sincerely,
> srb@cuci.nl
> Stephen R. van den Berg (AKA BuGless).
>
> Real programmers don't produce results, they return exit codes.
> -
> To unsubscribe, email 'majordomo@livingston.com' with
> 'unsubscribe portmaster-users' in the body of the message.
> Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>
>

-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>