netdev
[Top] [All Lists]

IPv6 tunnels don't work if ifconfig'ed then ip'ed

To: netdev@xxxxxxxxxxxxxxxxxxxxxxx
Subject: IPv6 tunnels don't work if ifconfig'ed then ip'ed
From: csmall@xxxxxxxxxxxxxxxxxxxxxx (Craig Small)
Date: Fri, 17 Dec 1999 19:28:54 +1100 (EST)
Sender: owner-netdev@xxxxxxxxxxx
G'day All,
  I've had a weird bug in either the network tools while I was switch
from using the ifconfig type settings to the ip settings (ip is so much
nicer).

It seems if you ifconfig a tunnel (say sit1) and then ifconfig sit1 down
and then try to build a tunnel using ip tunnel add the tunnel doesn't
get built at all; no errors, no nothing. ip should at the very least
complain.

I am unsure where this bug should go as I don't know enough about
the tools and the kernel to know who's fault it is.

# uname -a
Linux scooter 2.2.13 #1 Thu Dec 16 18:15:29 EST 1999 i686 unknown
# ip -V
ip utility, iproute2-ss991023
# ifconfig -V
net-tools 1.52
ifconfig 1.39 (1999-03-18)


# ifconfig sit0 up tunnel ::10.1.2.3
# ifconfig sit2 up
# ifconfig sit2 down
# ip tunnel add foo mode sit remote 10.1.2.3
# ifconfig foo
foo: error fetching interface information: Device not found
# ip tunnel add bar mode sit remote 10.1.2.4
# ifconfig bar
bar       Link encap:IPv6-in-IPv4  
          POINTOPOINT NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 


-- 
Craig Small VK2XLZ, PGP: AD 8D D8 63 6E BF C3 C7  47 41 B1 A2 1F 46 EC 90
Eye-Net Consulting http://www.eye-net.com.au/     <csmall@xxxxxxxxxxxxxx>
MIEEE <csmall@xxxxxxxx>              Debian developer <csmall@xxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>