All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerome Petazzoni <skaya@enix.org>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Problem with network and zebra
Date: Sat, 22 Dec 2001 09:12:35 +0000	[thread overview]
Message-ID: <marc-lartc-100901240811137@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100898931122755@msgid-missing>


> I have connected the ethernet card of two computers
> with a crossover cable. [...]  no other address
> on these cards (no gateway, etc) other than their inet
> address with a netmask of 255.255.255.255( a.b.c.d/32)

> Then I have added each others eth card as neighbours
> using "ip neigh add" comand. 

that's not necessary, unless you have disabled ARP.

> Then I created a route between these 2 interfaces
> using "ip route add dest_addr scope link dev
> eth0(Dest_dev) "

use a tool like tcpdump to see what's going on the wire.
and double check the configuration on both sides.

alternatively, try with just ifconfig and "plain" route :
box1# ifconfig eth0 1.2.3.4 netmask 255.255.255.255
box1# route add -host 4.3.2.1 eth0
box2# ifconfig eth0 4.3.2.1 netmask 255.255.255.255
box2# route add -host 1.2.3.4 eth0
if /that/ does not work, check connectivity with a
"standard" setup, because it's probably a lower-level
problem then.

> (I have also set the
> proc/sys/net/ipv4/ip_forward file to 1 )

not necessary, unless you have more than 2 machines,
and one of them acts as a router between the others.

> How much time des it take for the zebra daemon to run?
> (a few seconds or some minutes)?
> When I ran zebra, there seemed to be no activity. 

it depends of the protocol. I think that RIP, if no
route is injected to it, will never send anything.
else, it broadcasts every minute, as do OSPF. BGP,
by default, only tries to establish TCP connections
with the configured peers.

> What could be the problem? When the zebra daemon runs, does
> it display any messages?

after starting, i.e., zebra, try "telnet localhost zebra".

Jerome Petazzoni <skaya at enix dot org>
--
Noble dragons don't have friends. The nearest they can get to the idea is an
enemy who is still alive.
(Guards! Guards!)


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

      reply	other threads:[~2001-12-22  9:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-22  2:47 [LARTC] Problem with network and zebra Sanjeev Lakshmanan
2001-12-22  9:12 ` Jerome Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-100901240811137@msgid-missing \
    --to=skaya@enix.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.