Hi Richard,
On Tue, Sep 21, 1999 at 12:36:32PM +0000, Richard Adams wrote:
> I am trying to get tunneling (ipip) working again like i had it
> working with an old 2.0.xx kernel, then i had to use 2 modules, ipip
> and new_tunnel, now there only seems to be one module ipip.o, i can
> bring up the interface tunl0 with no problem but as soon as i try to
> add routes, the old "munge" way, all i get is network is unrachable.
> I've tryed adding routes one by one differnet ways, but nothing seems
> to work for me, i hope at least someone can say read this or that
> file.
For new kernel You need the "iproute" or "iproute2" package from
ANK except standart route tools, it can be found at:
ftp://ftp.inr.ac.ru/ip-routing/iproute2-current.tar.gz
And for make tunnel device You can make Ptp tunnel:
"ip tunnel add T3 mode ipip local xxx remote yyy"
Or don't set the mask for this device, for example:
"ifconfig tunl0 <You address> netmask 255.255.255.255"
and for route additional:
"ip route add XXXXXX/XX via DDDDD dev tunl0 proto static onlink
Also, in this case, gated can't touch these route entry.
For example, this is my simple setup script for tunneling device:
/sbin/insmod ipip
/sbin/ifconfig tunl0 44.178.16.1 netmask 255.255.255.255 mtu 1024 up
/sbin/ip route add 44/8 via 194.87.1.92 dev tunl0 proto static onlink
--
Best 73, Yuri
E-mail:[EMAIL PROTECTED]
AMPR: rz1awt.ampr.org