Siam Embedded Software Support Forum  

Go Back   Siam Embedded Software Support Forum > Operating System > OSPF and Rip Routing

OSPF and Rip Routing Zebra OSPF and RIP questions and answers

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2004
srajabather srajabather is offline
Junior Member
 
Join Date: Jun 2004
Posts: 13
Rep Power: 0
srajabather
Default Need Advanced Routing Solution Please

Hi,


I have 2 Wrap board with 2 radios(all Senao) & 2 Lans each.

First Staros Router LAN1 will be my WAN - 61.61.61.21/26

I have routed 61.61.61.128/26 to 61.61.61.21 in my cisco router.

I want to provide a link to customer who will connect to second staros router with senao client. I have to assign the 61.61.61.128/26 full ip to his network..

kindly see the network diagram




Kindly provide me the config I have to do in the both the staros-router box

Thanks
Selva
Reply With Quote
  #2  
Old 08-20-2004
lonnie's Avatar
lonnie lonnie is offline
Grand Master
 
Join Date: Oct 2002
Location: Pattaya, Thailand
Posts: 10,592
Rep Power: 10
lonnie has disabled reputation
Default

Router 1,
radio 1, IP et to 192.168.100.1/24, gw 61.61.61.21, ESSID -backhaul
static route 61.61.61.128/26 gw 192.168.100.2

Router 2,
radio 2, IP set to 192.168.100.2/24, gw 192.168.100.1, ESSID - backhaul.
radio 1, IP set to 61.61.61.129/26, ESSID - customer
__________________
-
-
I can resist everything except temptation.
Some people are like slinkies - not really good for anything but they bring a smile to your face when pushed down the stairs.

Our R&D offices are now in Pattaya, Thailand.
http://www.star-os.com/

http://www.star-os.com/store
Reply With Quote
  #3  
Old 08-20-2004
srajabather srajabather is offline
Junior Member
 
Join Date: Jun 2004
Posts: 13
Rep Power: 0
srajabather
Default

Thanks for the support..

I have configured both the box as you said.. I am able to reach 61.61.61.129 from my router(61.61.61.1) side.. but from second box (192.168.100.2) not able to reach router. But from second box I can reach first box (61.61.61.21)

selva
Reply With Quote
  #4  
Old 08-20-2004
srajabather srajabather is offline
Junior Member
 
Join Date: Jun 2004
Posts: 13
Rep Power: 0
srajabather
Default

sorry... Its works

Thanks
Selva
Reply With Quote
  #5  
Old 08-20-2004
srajabather srajabather is offline
Junior Member
 
Join Date: Jun 2004
Posts: 13
Rep Power: 0
srajabather
Default

I need another routing in Second box (61.61.61.129) .. In the second box place.. I want to run PPPOE service in LAN1.. So customers in that building will connect using pppoe client.. so they should reach the cisco router.


Thanks
Selva


Quote:
Originally Posted by lonnie
Router 1,
radio 1, IP et to 192.168.100.1/24, gw 61.61.61.21, ESSID -backhaul
static route 61.61.61.128/26 gw 192.168.100.2

Router 2,
radio 2, IP set to 192.168.100.2/24, gw 192.168.100.1, ESSID - backhaul.
radio 1, IP set to 61.61.61.129/26, ESSID - customer
Reply With Quote
  #6  
Old 08-20-2004
lonnie's Avatar
lonnie lonnie is offline
Grand Master
 
Join Date: Oct 2002
Location: Pattaya, Thailand
Posts: 10,592
Rep Power: 10
lonnie has disabled reputation
Default

Do you have a radius server? PPPoE requires a radius server.
__________________
-
-
I can resist everything except temptation.
Some people are like slinkies - not really good for anything but they bring a smile to your face when pushed down the stairs.

Our R&D offices are now in Pattaya, Thailand.
http://www.star-os.com/

http://www.star-os.com/store
Reply With Quote
  #7  
Old 08-20-2004
srajabather srajabather is offline
Junior Member
 
Join Date: Jun 2004
Posts: 13
Rep Power: 0
srajabather
Default

Yes.. I have a running radius server.. Infact.. I am using Star-OS Server with PPPOE and radius authentication.

I want to find out... how to route the traffic in the second box star-os router to lan1 port.



Thanks
Selva


Quote:
Originally Posted by lonnie
Do you have a radius server? PPPoE requires a radius server.
Reply With Quote
  #8  
Old 08-24-2004
troy troy is offline
Member
 
Join Date: Jul 2004
Posts: 55
Rep Power: 0
troy
Default This should be fun

Ok, I'm going to take a stab at this.

srajabather, you can accomplish what you want easily with static routes, but it sounds like you're having some difficulty with that, so I'm going to describe a basic OSPF setup to work from. I am not including OSPF authentication. I'll leave that as an excercise for the reader.

Cisco Router
Code:
ip subnet-zero
!
router ospf 10
 redistribute connected subnets
 redistribute static subnets
 network 61.61.61.0 0.0.0.63 area 0
!
ip classless
ip route 61.61.61.0 255.255.255.0 null0 255
!
(I included the null route as an example of how to prevent routing loops and unnecessary traffic from passing either way through the network)

StarOS Router 1
Code:
router ospf
 redistribute kernel
 redistribute connected
 redistribute static
 network 61.61.61.0/26 area 0
 network 192.168.100.0/24 area 0
StarOS Router 2
Code:
router ospf
 redistribute kernel
 redistribute connected
 redistribute static
 network 192.168.100.0/24 area 0
At this point, all 3 routers (cisco + both staros boxes) should see any routes that any other one sees. No more static routes necessary.

Now, once you've set up the PPPoE server, you simply tell the ether1 to listen for pppoe requests. Once a user is logged in, their assigned IP will be automatically injected into the OSPF routing table and propagated to the other routers on your network.


Now, to that wireless customer. I'm not sure if you you're talking about using the /26 as a PPPoE pool, or if you want that entire subnet to go to a single user, but I'm having so much fun with this, I'm going to assume that your diagram is accurate, and you want the entire subnet to go to one client. Let's set that client up with PPPoE, just like the rest of your customers. Here's what the entry in the users file will look like:

Code:
customer    Auth-Type := Local, User-Password := "password"
    Framed-IP-Address = 61.61.61.129,
    Framed-IP-Netmask = 255.255.255.192,
    Framed-Route = "61.61.61.128/26 61.61.61.129 1",
    VNC-PPPoE-CBQ-RX = 768000,
    VNC-PPPoE-CBQ-TX = 256000
The client's router configuration should be fairly simple. For the sake of argument, I'm going to assume that the Seneo thingie you're referring to is a simple wireless bridge, and the customer has a firewall/router such as Smoothwall. I'm using this as an example, because I just set up a customer in exactly the same way. In fact, I use a very similar radius profile for dialup and ISDN users using Linux, FreeBSD, Cisco, Blackbox, and other router devices. If your PPP client is Windows, the setup requires the assignment of a static IP outside the /24 that the routed subnet is from, which makes things quite nasty.

Configure Smoothwall with PPPoE on the RED interface, and 61.61.61.129/26 on the GREEN interface (you can then configure DHCP on the Smoothwall with a pool from 61.61.61.130 - 61.61.61.190). The PPPoE client on the Smoothwall will then log into the PPPoE server back on your StarOS router, which will assign the IP and routes via RADIUS and automatically inject them into the OSPF routing table for propagation to the rest of your network.

.
Reply With Quote
  #9  
Old 08-26-2004
srajabather srajabather is offline
Junior Member
 
Join Date: Jun 2004
Posts: 13
Rep Power: 0
srajabather
Default

Thanks troy, for the explanation on OSPF.

I will try it out..


-Selva
Reply With Quote
  #10  
Old 08-26-2004
troy troy is offline
Member
 
Join Date: Jul 2004
Posts: 55
Rep Power: 0
troy
Default

Well, it's not so much an explanation as a working example. It's pretty much exactly how my network is set up, though I didn't actually test these samples to make sure they're working.

There are plenty of docs for setting up OSPF, both on Cisco routers and with Zebra (which StarOS uses).

Good luck,

.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing design - help! valenti System Design Examples 30 10-12-2007 04:09 PM
Static routing problems gothambus Support 0 01-12-2006 02:47 PM
RADIUS - HotSpot and BW shaping HELP!!!! redhat66 Support 15 03-10-2005 10:08 AM
Excessive CPU time consumed by the 'Advanced Routing' form in 2.01.0 GUI? kb1_kanobe Support 1 02-02-2005 10:25 PM
Routing rasimoes Support 5 07-18-2003 10:10 AM


All times are GMT -7. The time now is 10:22 PM.


Copyright ©2005-2010, Siam Embedded Software Co., Ltd.