* [LARTC] Problem with network and zebra
@ 2001-12-22 2:47 Sanjeev Lakshmanan
2001-12-22 9:12 ` Jerome Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Sanjeev Lakshmanan @ 2001-12-22 2:47 UTC (permalink / raw)
To: lartc
Hello all,
Thank you for your response. But I have this thing
bugging me for many days now,
Please have a look at this :
I have connected the ethernet card of two computers
with a crossover cable. The ethernet cards are
assigned ONLy their inet addresses. NO BROADCAST
ADDRESS is configured. and there is 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.
Then I created a route between these 2 interfaces
using "ip route add dest_addr scope link dev
eth0(Dest_dev) "(I created the route on both the
computers)
But when I give the ping commnad with each others Ip
address, it doesnt work and gives an error
"Destination host unreachable"
Have I forgotten to do something? Or is it a problem
with iproute2 on my computers which are running on
RedHAt 7.1 ? (I have also set the
proc/sys/net/ipv4/ip_forward file to 1 )
AND ONE MORE QUESTION:
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. What
could be the problem? When the zebra daemon runs, does
it display any messages?
Please reply,
Regards,
Sanjeev.
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [LARTC] Problem with network and zebra
2001-12-22 2:47 [LARTC] Problem with network and zebra Sanjeev Lakshmanan
@ 2001-12-22 9:12 ` Jerome Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Jerome Petazzoni @ 2001-12-22 9:12 UTC (permalink / raw)
To: lartc
> 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-22 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-22 2:47 [LARTC] Problem with network and zebra Sanjeev Lakshmanan
2001-12-22 9:12 ` Jerome Petazzoni
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.