Community discussions

MikroTik App
 
User avatar
shadowskippie
Member Candidate
Member Candidate
Topic Author
Posts: 213
Joined: Tue Dec 21, 2010 6:20 pm

connecting ospf to the internet

Sun May 08, 2011 6:42 pm

ya, the title seems odd but let me explain

lets start with a picture
Image

now the three router you see there are virtual devices running on virtual box, each router has two interfaces

Router 1
ether 1: 192.168.0.1/24 (the computer would point to this end)
ether 2:10.0.0.1/30

Router 2
ether 1:10.0.0.2/30
ether 2:10.0.0.5/30

Router 3
ether 1:10.0.0.6/30
ether 2:192.168.1.43/24

ADSL
192.168.1.2

now the question i have is how do i get the ospf environment to see and connect to the net and in the process get anything that connects to it to see the net
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: connecting ospf to the internet

Sun May 08, 2011 8:00 pm

On R3 you add your normal default route to the Internet (static, BGP, whatever) and announce that route into OSPF by setting distribute-default to always on the OSPF instance on R3. You have to choose whether to distribute as type 1 or 2 - if there's only one exit point from the AS it doesn't really matter what you pick. See the OSPF manual for what the types mean.

That is it, basically.
 
User avatar
shadowskippie
Member Candidate
Member Candidate
Topic Author
Posts: 213
Joined: Tue Dec 21, 2010 6:20 pm

Re: connecting ospf to the internet

Sun May 08, 2011 8:19 pm

hmm, i thought that was the case, well for some reason it isn't working.
maybe it has something to do with the virtual environment
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: connecting ospf to the internet

Sun May 08, 2011 8:31 pm

Post the output of "/interface print detail", "/ip address print detail", "/ip route print detail", "/routing ospf export", "/routing ospf neighbor print detail", "/routing ospf route print detail", and "/routing ospf lsa print detail" from all three routers, clearly labeling what output is from what router and wrapping output in
 tags. That information should hopefully be sufficient to see what is happening.

Who is online

Users browsing this forum: No registered users and 19 guests