PDA

View Full Version : Step-by-step setting of routing in StarOS.


robok
07-22-2004, 03:30 AM
HI,
is somebody able to explain step-by-step, how configure routed network /RIP?? OSPF??/ with forexample 3 wireless AP with StarOS connected to aDSL.

Thank you.

robo.k.

robok
07-24-2004, 02:01 AM
Haha, there is that what i still searching -
http://forums.star-os.com/viewtopic.php?t=2987

lonnie
07-24-2004, 07:41 AM
Router, Advanced to setup ripv2. This is the simple way. There are many more options but this will get rip going. Add as many network device commands as you have device that you want to have rip enabled and reporting for. Once you start with rip you want the whole system to have it or you will soon forget to add static routes in all the right places. The stuff in red is only if you have to specific. Use the green line if you want everything announced.

User Access Verification

Password: 1234
ripd> enable
ripd# configure terminal
ripd(config)# router rip
ripd(config-router)# network eth0
ripd(config-router)# network wpci0
ripd(config-router)# network 0.0.0.0/0
ripd(config-router)# write
Configuration saved to /etc/config/routing/ripd.conf
ripd(config-router)# exit
ripd(config)# exit
ripd# exit

The above in red should be deleted and the following line added to make rip announce anything you have on the system. That is the real quick and dirty way and works in most cases. If you do not want a particular device or subnet announced then you have to specify like the first example did (in red).

georgew
03-05-2005, 10:19 AM
Haha, there is that what i still searching -
http://forums.star-os.com/viewtopic.php?t=2987

So are all of the old links in the old content broken?

I changed "viewtopic" to "showthread", and it fetched a thread, but
I'm not sure it is the right one. If it is, putting a link from viewtopic.php to showthread.php would fix the broken link(s).

robok
03-13-2005, 02:50 AM
Router, Advanced to setup ripv2. This is the simple way. There are many more options but this will get rip going. Add as many network device commands as you have device that you want to have rip enabled and reporting for. Once you start with rip you want the whole system to have it or you will soon forget to add static routes in all the right places.

User Access Verification

Password: 1234
ripd> enable
ripd# configure terminal
ripd(config)# router rip
ripd(config-router)# network eth0
ripd(config-router)# network wpci0
ripd(config-router)# write
Configuration saved to /etc/config/routing/ripd.conf
ripd(config-router)# exit
ripd(config)# exit
ripd# exit

Thanx, this is very nice. But I'm newbie in this. I need detailed describe system settings of IP addresses on network interfaces. Can anybody post me a real example?

Thanks.

dorijan
03-23-2005, 05:15 PM
can you do the same for osfp? is there any manual for this? list of commands? in manual (that pdf) there is nothing about this...
thank you

robok
06-19-2005, 03:24 PM
Router, Advanced to setup ripv2. This is the simple way. There are many more options but this will get rip going. Add as many network device commands as you have device that you want to have rip enabled and reporting for. Once you start with rip you want the whole system to have it or you will soon forget to add static routes in all the right places.

User Access Verification

Password: 1234
ripd> enable
ripd# configure terminal
ripd(config)# router rip
ripd(config-router)# network eth0
ripd(config-router)# network wpci0
ripd(config-router)# write
Configuration saved to /etc/config/routing/ripd.conf
ripd(config-router)# exit
ripd(config)# exit
ripd# exit

Hi Lonnie.
I have tryed above procedure, but without success. Is there all of settings, but i have to set some static routes? or default gateway? actually, is required define a default gateway if is RIP enabled?

Tahnk you.

lonnie
06-19-2005, 03:56 PM
I made some changes, so maybe go back and take a look. You should have a default route to ensure your system talks to the right system in the event that RIP quits for some reason. I like my default route to be set permanently and statics to be dynamic using rip or ospf.

Of course make sure you are using the proper device names for the radios on your system.

Ultanium
07-04-2005, 08:46 AM
Ok, rip is driving me crazy....

I have followed the steps above, but no traffic is passed from the wireless to the ethernet. Here is my setup:

client 10.1.1.x is wireless to AP
AP is 192.168.1.10 on wpci0 and 10.1.1.10 on eth0
MT box is master server on 10.1.1.1

Using bridge mode, I use a default route of 0.0.0.0/0 to 10.1.1.1
When I enable rip on the AP and server, I see them talking and updating routes. When I remove the interfaces from the bridge, all traffic stops. I have tried removing the default route, but that does not change anything. What am I doing wrong here?

Tom

lonnie
07-04-2005, 10:07 AM
Client must be set to 192.168.1.xx since that is the IP of the AP. When you are bridged there is no routing requried so it will talk and pass traffic. The MT box must also be running RIP.

Ultanium
07-04-2005, 10:33 AM
ok, so if I switch the IP addresses around on the AP (wrap) to 10.1.1.x on the wireless card, and 192.168.1.10 on eth0, and turn off the bridging the rip will take over? I want to make sure because once I do this I will lose contact with the AP as it will no longer be on my 10.x net.

On a related note, can I just change the IP of the wireless card to 10.1.2.10/16 so I can access both ethernet and wireless interfaces? Will my deafult route stay the same 10.1.1.1?

Tom