PDA

View Full Version : Need Advanced Routing Solution Please


srajabather
08-20-2004, 08:03 AM
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

http://www.kmrcable.com/network.jpg


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

Thanks
Selva

lonnie
08-20-2004, 09:15 AM
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

srajabather
08-20-2004, 10:26 AM
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

srajabather
08-20-2004, 10:44 AM
sorry... Its works

Thanks
Selva

srajabather
08-20-2004, 11:33 AM
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


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

lonnie
08-20-2004, 03:12 PM
Do you have a radius server? PPPoE requires a radius server.

srajabather
08-20-2004, 09:19 PM
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.

http://www.kmrcable.com/network2.jpg

Thanks
Selva


Do you have a radius server? PPPoE requires a radius server.

troy
08-24-2004, 09:10 PM
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

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

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

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:


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 (http://www.smoothwall.org). 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.

.

srajabather
08-26-2004, 02:17 AM
Thanks troy, for the explanation on OSPF.

I will try it out..


-Selva

troy
08-26-2004, 10:42 AM
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,

.