MJ(m...@sci.fi) on 2013.01.15 22:45:46 +0200:
[...]
> 4) On box3, all routes show up with next-hop of 10.1.0.1 (vlan2 on box2), 
> instead of the IP addresses of the respective vlan interfaces. I want the 
> real gateways to show up as next-hops.

[...]
> box 3
> --------------------------
> [root@box3 ~]# ospfctl s r
> Destination          Nexthop           Path Type    Type      Cost    Uptime  
> 10.0.0.1             10.1.0.1          Inter-Area   Router    20      01:45:09
> 10.0.0.2             10.1.0.1          Intra-Area   Router    10      03:28:33
> 10.0.0.0/21          10.1.0.1          Inter-Area   Network   20      01:45:15
> 10.1.0.0/21          10.1.0.12         Intra-Area   Network   10      03:28:38
> 0.0.0.0/0            10.1.0.1          Type 1 ext   Network   120     01:45:09
> 10.1.8.0/22          10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.12.0/22         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.16.0/22         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.32.0/22         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.48.0/21         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.56.0/21         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.64.0/21         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.72.0/22         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.76.0/22         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.80.0/21         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.1.88.0/21         10.1.0.1          Type 1 ext   Network   110     03:28:33
> 10.100.103.0/24      10.1.0.1          Type 1 ext   Network   110     03:28:33
> 192.168.1.0/24       10.1.0.1          Type 1 ext   Network   110     03:28:33
> 
> 
> Above: next-hop for 10.1.8.0/22 should be 10.1.8.1 (vlan3 interface on
> box2), and so forth.

why? as far as i understand your config, box3 is connected to box2 via
network 10.1.0.0/21. So it sees all those networks via nexthop 10.1.0.1 on
box2. Nothing wrong with that.

Reply via email to