Andreas Hallmann
2006-09-22 09:45:01 UTC
Hi all,
setting up static route's with the -interface option works well ...
as long as you don't start a routing deamon.
I set up
route add default -interface gw.ahatec.de
route add -host aa.bb.cc.dd -interface gw.ahatec.de
using an interface's IP/Hostname
(pppoe0 in that case, but le0 show same behavier)
set up a metric
ifconfig pppoe0 metric 2
routing works well ...
starting either routed or gated
thoose route's stay in kernel but where droped by gated/routed.
with gated, /var/log/messages tells me:
...gated[..].. interface not found for
66.66.66.66/255.255.255.255 gw 217.173.147.11 Kernel
while routed cries about some ifp missing.
A quick look at the source tells me, he is also not finding an interface
for pppoe0's address.
appending a "-hopcount 2" to thoose route lines doesn't help either.
This is NetBSD 3.0_RC2, but the problem seams to exist for a longer time...
Why is the interface structure for pppoe0 not found ???
Any Idea's ??
BTW.: -HOPCOUNT option to route is not documented.
Thankx
AHA
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
setting up static route's with the -interface option works well ...
as long as you don't start a routing deamon.
I set up
route add default -interface gw.ahatec.de
route add -host aa.bb.cc.dd -interface gw.ahatec.de
using an interface's IP/Hostname
(pppoe0 in that case, but le0 show same behavier)
set up a metric
ifconfig pppoe0 metric 2
routing works well ...
starting either routed or gated
thoose route's stay in kernel but where droped by gated/routed.
with gated, /var/log/messages tells me:
...gated[..].. interface not found for
66.66.66.66/255.255.255.255 gw 217.173.147.11 Kernel
while routed cries about some ifp missing.
A quick look at the source tells me, he is also not finding an interface
for pppoe0's address.
appending a "-hopcount 2" to thoose route lines doesn't help either.
This is NetBSD 3.0_RC2, but the problem seams to exist for a longer time...
Why is the interface structure for pppoe0 not found ???
Any Idea's ??
BTW.: -HOPCOUNT option to route is not documented.
Thankx
AHA
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de