Dear diary, on Wed, Mar 06, 2002 at 09:03:25PM CET, I got a letter,
where kuznet@xxxxxxxxxxxxx told me, that...
> Hello!
>
> > we're having problems with 'iptunnel change' at linux 2.4.18 (non-usagi).
> > When we try to change endpoints of the SIT tunnel, it always fails with
> > ENOENT.
>
> root@mops:~# ip tun add XXX mode sit remote 10.0.0.1 local 10.0.0.2
> root@mops:~# ip tun ls XXX
> XXX: ipv6/ip remote 10.0.0.1 local 10.0.0.2 ttl inherit
> root@mops:~# ip tun change XXX remote 10.0.0.3 local 10.0.0.4
> root@mops:~# ip tun ls XXX
> XXX: ipv6/ip remote 10.0.0.3 local 10.0.0.4 ttl inherit
>
> What do you see instead?
root@machine:~# iptunnel add XXX mode sit remote 10.0.0.1 local 10.0.0.2
root@machine:~# iptunnel ls XXX
XXX: ipv6/ip remote 10.0.0.1 local 10.0.0.2 ttl inherit
root@machine:~# iptunnel change XXX remote 10.0.0.3 local 10.0.0.4
cannot determine tunnel mode (ipip, gre or sit)
root@machine:~# iptunnel change XXX mode sit remote 10.0.0.3 local 10.0.0.4
ioctl: No such file or directory
root@machine:~# iptunnel ls XXX
XXX: ipv6/ip remote 10.0.0.1 local 10.0.0.2 ttl inherit
We don't use 'ip' actually, but I can try.. let's install it.. (by the way, it
would be nice if iproute would have entry on freshmeat.net .. i can do it if
you want :)..
root@machine:~# ip tun add XXX mode sit remote 10.0.0.1 local 10.0.0.2
root@machine:~# ip tun ls XXX
XXX: ipv6/ip remote 10.0.0.1 local 10.0.0.2 ttl inherit
root@machine:~# ip tun change XXX remote 10.0.0.3 local 10.0.0.4
root@machine:~# ip tun ls XXX
XXX: ipv6/ip remote 10.0.0.3 local 10.0.0.4 ttl inherit
..strange, so it appears as a bug in iptunnel (net-tools 1.60, iptunnel 1.01).
Ok, we'll switch to iproute2 instead - thanks for a hint.
Best regards,
--
Petr "Pasky" Baudis
* elinks maintainer * IPv6 guy (XS26 co-coordinator)
* IRCnet operator * FreeCiv AI hacker
.
"If you have acquired knowledge, what do you lack?
If you lack knowledge, what have you acquired?"
Lev. R. 1:6
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/
|