On Thu, 08 Jun 2000, Wojciech Moczynski wrote about, PLEASE HELP ME...... (fwd):
> Please help me arrange routing to ampr.org .
> Tuneling is not working.
I belive looking at the routing below there will be a lot more routes wich
wont work.
When using netmask 255.0.0.0 ifconfig will automaticly add a default route
to the network via that interface, handy one might thing, but the problem
is when multiple interfaces are attached you end up with a default foute to
the 44 network on "all" interfaces.
What you need for the tunnel is ip2route.
You will have to check the archives at
http://hes.iki.fi/archive/linux-hams
for the place to find that program.
> ax0 Link encap:AMPR AX.25 HWaddr SR3BPL
> inet addr:44.165.57.37 Bcast:44.165.57.255 Mask:255.0.0.0
>
> tunl0 Link encap:IPIP Tunnel HWaddr
> inet addr:44.165.57.37 Bcast:44.255.255.255 Mask:255.0.0.0
> UP RUNNING NOARP MTU:256 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0
> TX packets:0 errors:0 dropped:0 overruns:0
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 194.181.61.192 0.0.0.0 255.255.255.192 U 0 0 155 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 35 lo
> 44.0.0.0 0.0.0.0 255.0.0.0 U 0 0 16 ax0
> 0.0.0.0 194.181.61.193 0.0.0.0 UG 0 0 148 eth0
> 0.0.0.0 44.165.57.37 0.0.0.0 UG 0 0 0 ax0
2 default routes one via eth0 and one via ax0
> /sbin/insmod ipip
> /sbin/insmod new_tunnel
> /sbin/ifconfig tunl0 mtu 256 44.165.57.37
I should have asked which kernel version you use, as i see "new_tunnel" i
belive thats out dated in 2.2.xx kernels.
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/