LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-23-2004, 02:56 AM   #1
abirami
Member
 
Registered: Aug 2004
Posts: 47

Rep: Reputation: 15
Arrow administrative distance


hi all,
we are trying to build a router on linux machine. the setup is as shown:

client (192.168.0.67)----> linux(router) <----- server(10.0.0.1)

both the client and server are directly connected to the router on interfaces eth0(192.168.0.35) and eth1(10.0.0.102) respectively.
now is it possible for me to configure static routing,or any routing protocols(ex: rip,ospf).

and what is administrative distances,why it is used,will this be used in my setup?






bye,
abirami
 
Old 09-23-2004, 03:38 AM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Is that your whole network(ie just one router in between)?
If so then you don't need to worry about static routes/routing protocols/administrative distance etc.
Configure ip forwarding on the Linux router and that's it.
 
Old 09-23-2004, 07:02 AM   #3
abirami
Member
 
Registered: Aug 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Thanx for your reply Mike

Actually what we are trying to do is test the different networks. What has been configured is just the first step. i.e we are moving step by step.

First with 1 router(linux box) and a client and server we are trying to test the performance and function of the network protocols. That is static routing conditions, rip protocol ans ospf.

Then we would move on to the second step of configuring 2 routers and a client and a server, and go on.

Does configuring static route will work on this simple setup of ours.

Abi
 
Old 09-23-2004, 07:15 AM   #4
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Well RIP or OSPF aren't any good with one lone router, they're protocols used for exchanging routing information between routers
You need at least 2 or 3 routers if you want to play with these routing protocols.
This is an extract from the cisco website on administrative distance:
Quote:
Administrative distance is the first criterion that a router uses to determine which routing protocol to use if two protocols provide route information for the same destination. It is a measure of the trustworthiness of the source of the routing information. Keep in mind that administrative distance has only local significance; it is not advertised in routing updates
btw I'm not Mike

Last edited by Demonbane; 09-23-2004 at 07:17 AM.
 
Old 09-23-2004, 07:43 AM   #5
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Rep: Reputation: 15
As far as I know the protocols you refer to are used by specialist routers running their own OS (cisco et all). Linux routers run the linux OS and till now you cannot run OSPF, RIP etc out of Linux.
Someone else might like to correct me on that but I think its right. You'll find Linux routers tend to be used on small networks where automatic router updating is not an issue.

Checkout freesco if you are looking at Linux routers. As well as being able to support up to 12 network connections, it has the charm of running in (non writeable) ramdisks - which is pretty close to the flash memory concept employed by specialist routers.
 
Old 09-23-2004, 08:02 AM   #6
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
With proper tools(routed etc) Linux can support RIP/OSPF, they're just protocols for exchanging routing information, nothing more.

It'll be a shame if it doesn't, Windows 2k/2k3 server supports them out of the box.

Last edited by Demonbane; 09-23-2004 at 08:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I turn off all passwords and and administrative cr@p skikir Fedora 3 11-15-2005 06:05 PM
change ico distance. how? hraposo Linux - General 0 11-27-2004 09:00 AM
Distance: Wireless Router mikeshn Linux - Wireless Networking 1 09-16-2004 08:12 AM
Administrative prohibition Red Squirrel Linux - Software 0 06-26-2004 03:07 AM
Calculating Surface Distance! john23 Programming 1 11-27-2003 02:45 PM


All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration