Mailing List Archive

problem on ospf routing
my network

Internet
|
gw(10.1.1.1-using NAT go to internet)
|
|
router a sis0(10.1.250.30) sis1(10.230.1.1) sis2(10.230.2.1)---|
| |
| |
router b sis0(10.200.1.1) sis1(10.230.1.2) sis2(10.230.3.1) |
|---| | |
| |------------------| |
| | |
router c | sis0(10.201.1.1) sis1(10.230.3.2) sis2(10.230.2.2)---|
| |
| |
LAN A LAN B

===========================================================================
router a : ospfd.conf
----------------------
Current configuration:
!
hostname ospfd
password zebra
log stdout
!
!
!
interface sis0
!
interface sis1
!
interface sis2
!
interface faith0
!
interface lo0
!
interface ppp0
ip ospf network point-to-point
!
interface sl0
ip ospf network point-to-point
!
router ospf
network 10.200.1.0/24 area 0.0.0.10
network 10.201.1.0/24 area 0.0.0.20
network 10.230.1.0/30 area 0.0.0.0
network 10.230.2.0/30 area 0.0.0.0
network 10.230.3.0/30 area 0.0.0.0
default-information originate metric 10
!
line vty
!
end
========================================================
router b : ospfd.conf
---------------------
Current configuration:
!
hostname ospfd
password zebra
log stdout
!
!
!
interface sis0
!
interface sis1
!
interface sis2
!
interface faith0
!
interface lo0
!
interface ppp0
ip ospf network point-to-point
!
interface sl0
ip ospf network point-to-point
!
router ospf
network 10.200.1.0/24 area 0.0.0.10
network 10.201.1.0/24 area 0.0.0.20
network 10.230.1.0/30 area 0.0.0.0
network 10.230.2.0/30 area 0.0.0.0
network 10.230.3.0/30 area 0.0.0.0
!
line vty
!
end

===========================================================================
router c: ospfd.conf
--------------------
Current configuration:
!
hostname ospfd
password zebra
log stdout
!
!
!
interface sis0
!
interface sis1
!
interface sis2
!
interface faith0
!
interface lo0
!
interface ppp0
ip ospf network point-to-point
!
interface sl0
ip ospf network point-to-point
!
router ospf
network 10.200.1.0/24 area 0.0.0.10
network 10.201.1.0/24 area 0.0.0.20
network 10.230.1.0/30 area 0.0.0.0
network 10.230.2.0/30 area 0.0.0.0
network 10.230.3.0/30 area 0.0.0.0
!
line vty
!
end


The problem I face to is 10.200.1.1/24 network cannot go to internet
throught 10.1.1.1, and 10.201.1.1/24 also cannot go to internet throught
10.1.1.1.

regards,

Halison Tong
problem on ospf routing [ In reply to ]
my network

Internet
|
gw(10.1.1.1-using NAT go to internet)
|
|
router a sis0(10.1.250.30) sis1(10.230.1.1) sis2(10.230.2.1)---|
| |
| |
router b sis0(10.200.1.1) sis1(10.230.1.2) sis2(10.230.3.1) |
|---| | |
| |------------------| |
| | |
router c | sis0(10.201.1.1) sis1(10.230.3.2) sis2(10.230.2.2)---|
| |
| |
LAN A LAN B

===========================================================================
router a : ospfd.conf
----------------------
Current configuration:
!
hostname ospfd
password zebra
log stdout
!
!
!
interface sis0
!
interface sis1
!
interface sis2
!
interface faith0
!
interface lo0
!
interface ppp0
ip ospf network point-to-point
!
interface sl0
ip ospf network point-to-point
!
router ospf
network 10.200.1.0/24 area 0.0.0.10
network 10.201.1.0/24 area 0.0.0.20
network 10.230.1.0/30 area 0.0.0.0
network 10.230.2.0/30 area 0.0.0.0
network 10.230.3.0/30 area 0.0.0.0
default-information originate metric 10
!
line vty
!
end
========================================================
router b : ospfd.conf
---------------------
Current configuration:
!
hostname ospfd
password zebra
log stdout
!
!
!
interface sis0
!
interface sis1
!
interface sis2
!
interface faith0
!
interface lo0
!
interface ppp0
ip ospf network point-to-point
!
interface sl0
ip ospf network point-to-point
!
router ospf
network 10.200.1.0/24 area 0.0.0.10
network 10.201.1.0/24 area 0.0.0.20
network 10.230.1.0/30 area 0.0.0.0
network 10.230.2.0/30 area 0.0.0.0
network 10.230.3.0/30 area 0.0.0.0
!
line vty
!
end

===========================================================================
router c: ospfd.conf
--------------------
Current configuration:
!
hostname ospfd
password zebra
log stdout
!
!
!
interface sis0
!
interface sis1
!
interface sis2
!
interface faith0
!
interface lo0
!
interface ppp0
ip ospf network point-to-point
!
interface sl0
ip ospf network point-to-point
!
router ospf
network 10.200.1.0/24 area 0.0.0.10
network 10.201.1.0/24 area 0.0.0.20
network 10.230.1.0/30 area 0.0.0.0
network 10.230.2.0/30 area 0.0.0.0
network 10.230.3.0/30 area 0.0.0.0
!
line vty
!
end


The problem I face to is 10.200.1.1/24 network cannot go to internet
throught 10.1.1.1, and 10.201.1.1/24 also cannot go to internet throught
10.1.1.1.

regards,

Halison Tong
Re: problem on ospf routing [ In reply to ]
s> network 10.200.1.0/24 area 0.0.0.10
s> network 10.201.1.0/24 area 0.0.0.20

don't use areas. area 0 for everything.

I'm not sure what your problem is and don't have experience with
areas, but there is no reason to use them other than to limit the size
of the SPF graph, and your network is too small to care about the size
of the SPF.

Not using areas will probably fix the problem. I would bet it is a
bug, but don't know.