Wed Aug 25, 2004 10:07 pm
Thank signal for fast reply.
dc route to 10.0.0.0/24 is ok, it was auto added after setting up interface ip address.
but why routes to networks connected to local interfaces, exported by the ospf to rest of the network, are added localy (this one is invalid, coz it's dubled with dc)?
below config which should explain my question:
mt1:
[admin@mt1] ip> address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.1.1/24 192.168.1.0 192.168.1.255 ether1
1 10.0.0.1/24 10.0.0.0.0 10.0.0.255 wlan1
[admin@mt1] ip> route print
Flags: X - disabled, I - invalid, D - dynamic, J - rejected, C - connect, S - static, r - rip, o - ospf, b - bgp
# DST-ADDRESS G GATEWAY DISTANCE INTERFACE
0 DC 192.168.1.0/24 r 0.0.0.0 0 ether1
1 DC 10.0.0.0/24 r 0.0.0.0 0 wlan1
2 Io 192.168.1.0/24 110
3 Io 10.0.0.0/24 110
[admin@mt1] routing ospf area> print
Flags: X - disabled, I - invalid
# NAME AREA-ID STUB DEFAULT-COST AUTHENTICATION
0 backbone 0.0.0.0 none
[admin@mt1] routing ospf area> print
Flags: X - disabled, I - invalid
# NAME AREA-ID STUB DEFAULT-COST AUTHENTICATION
0 backbone 0.0.0.0 none
[admin@mt1] routing ospf network> print
Flags: X - disabled, I - invalid
# NETWORK AREA
0 192.168.0.0/16 backbone