LinuxQuestions.org
Help answer threads with 0 replies.
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-08-2004, 01:53 AM   #1
abirami
Member
 
Registered: Aug 2004
Posts: 47

Rep: Reputation: 15
not able to ping from one n/w to another using linux box installed with zebra


hi,
we had installed zebra(ver 0.93b) on linux kernel(2.4.19).

after all the procedures involved in the installing process, configuring
interface parameters for eth0 and eth1. we are not able to ping from the
router.
we are using 3 pcs
one is configured for zebra(linux box)
another as host
one more the server.

the problem is we are not able to ping from the server to the host pc through
the linuxbox.

what should be done,
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help out.

thanz ,
abirami
 
Old 09-08-2004, 02:31 AM   #2
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
Re: not able to ping from one n/w to another using linux box installed with zebra

Quote:
Originally posted by abirami
the problem is we are not able to ping from the server to the host pc through
the linuxbox.
When you say through the linuxbox, you mean you have the linuxbox physically in between host and server?

so=> HOST----------linuxbox----------SERVER

if yes,
can both HOST and SERVER ping the linuxbox?
=> if yes, can you post your routing table pls? also give us some details about your network topology (adresses, NICs,...)
 
Old 09-08-2004, 06:08 AM   #3
abirami
Member
 
Registered: Aug 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Thanx for ur time

Actually i'm newbie to zebra routers. I've configured zebra on linux machine. The routing table (ip route command)shows the following details:-

192.168.1.0/24 dev eth0 scope link
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.35
169.254.0.0/16 dev eth0 scope link
127.0.0.0/8 dev lo scope link

Now, we are able to ping from the router(linux box) to the server and the host
but we are not able to ping from the host to the server through the router

what has to be done to make it ping?
Thanx in advance for your help

Regards
Abirami
 
Old 09-08-2004, 09:46 AM   #4
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
could you also give me:
-the ip addresses of all pc's involved
-type the "route" command and send the output
 
Old 09-09-2004, 02:25 AM   #5
navaneeth
LQ Newbie
 
Registered: Aug 2004
Location: bangalore
Posts: 2

Rep: Reputation: 0
Thanks for ur response,


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 192.168.0.35 255.255.255.0 UG 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0

we tried all possible things,but still we are not able to ping from host(192.168.0.39) to server(192.168.1.1) through our linuxbox(configured to zebra) having eth0 interface(192.168.1.102) and eth1 interface(192.168.0.35).

thanx,
abirami
 
Old 09-09-2004, 04:01 AM   #6
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
A few problems:

first:
192.168.0.0 192.168.0.35 255.255.255.0 UG 0 0 0 eth1
=> this line tells the box to send all traffic for 192.168 to 192.168.0.35
how can it do that if it doesnt know where it is?
I'd just remove that line.

second:
you have a subnet called 192.168.1.0 and one called 192.168.0.0
thing is, 192.168.1.0 is actually a subnet of 192.168.0.0, so if you redirect all traffic for 192.168.0.0 to a certain ethernet card, you are actually redirecting the traffic for 192.168.1.0 as well.

You shouldn't be using 192.168.0.0 and 192.168.1.0 on a network together.
try using 192.168.1.0 and 192.168.2.0.
your routing table will look like
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0 (this line is wherever the internet is)
 
Old 09-13-2004, 12:48 AM   #7
abirami
Member
 
Registered: Aug 2004
Posts: 47

Original Poster
Rep: Reputation: 15
hi symen,
thanz a lot, u r idea worked out. now, we are able to ping. can u just give us a idea how to test the performance and functionality of RIP, OSPF ,BGP protocols using zebra (our linux router box).

once again thanz for ur reply,
bye,
abirami.
 
Old 09-14-2004, 06:07 AM   #8
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
eh, no, I don't know anything about that
 
  


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
Cannot ping linux box from XP box antare Linux - Networking 10 03-10-2005 10:48 AM
canīt ping my linux box by its name :( pavalosv Linux - Networking 3 01-13-2005 11:03 PM
can't ping linux box jammy3 Linux - Newbie 3 12-03-2004 11:33 AM
Cannot ping the linux box amirbhai Linux - Networking 4 06-25-2004 04:43 PM
Can't ping linux box Zero Linux - Networking 4 05-11-2002 01:26 AM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
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