[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 03680) ipv6 & atm



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm trying to configure a linux IPv6 router with Usagi tools. One
interface is an ATM card in which I wish to configure a PVC to send IPv6
traffic.

I have used various Usagi kits but i have obtained nothing. First I have
tried a linux26 kit (stable version and variuos snapshots) but pvctool
doesn't compile for a linux 2.6 kernel because it doesn't find the file
atmipv6.h that actually only exists on 2.4 kernels. So, I have tried
last usagi 2.4 kit.

First I compiled the kernel and then ran the new kernel. After, I
compiled pvctool (and ifconfig) without error and followed the steps
indicated in http://www2.linux-ipv6.org/ml/usagi-users/msg00898.html.

# /usr/local/v6/sbin/pvctool -c atm0
ITF: ITF CREATE 0

# /usr/local/v6/sbin/pvctool -S 0 108.50 <- VPI=108 and VCI=50
ARP: arp_ioctl 7
ARP: search itf 0 ...
ARP: itf 0 found?
ITF: ITF CREATE 0
ARP: Yes!
ARP: got art_setdirect for itf 0, #0, ATM 0.108.50, flags 0x4
IO: [1]connect: No such device
atmarp: No such device

# cat /proc/net/atm/pvc
Itf VPI VCI   AAL RX(PCR,Class) TX(PCR,Class)

I don't know if I have a physical layer problem or if I use bad comands
for configuration. Then I try:

# /usr/local/v6/sbin/ifconfig atm0 up


[ifconfig atm0 add (address of this IF) (address of peer IF)]
# /usr/local/v6/sbin/ifconfig atm0 add xxxxxxxxxxxxxxxx::2/64  		
						xxxxxxxxxxxxxxxxxx::1/64
SIOCSIFADDR: File exists
SIOCSIFNETMASK: Cannot assign requested address
xxxxxxxxxxxxxxxxxx::1: Unknown host
ifconfig: `--help' gives usage information.

# /usr/local/v6/sbin/ifconfig atm0
atm0      Link encap:UNSPEC  HWaddr
02-40-78-74-05-08-00-00-00-00-00-00-00-00-00-00
          inet6 addr: xxxxxxxxxxxxxxxxxxxxxxxxxxx::2/64 Scope:Global
          UP RUNNING  MTU:9180  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


And this doesn't work:

# ping6 xxxxxxxxxxxxxxxxxxxxxx::1

# ifconfig atm0
atm0      Link encap:UNSPEC  HWaddr
00-00-D8-6E-01-40-10-FC-00-00-00-00-00-00-00-00
          inet6 addr: 2001:800:60:2f18::2/64 Scope:Global
          UP RUNNING  MTU:9180  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:10 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ICMP Packets have been dropped.

Has had anybody the same problems or knows what i am doing bad??
Thanks,

- --
Christian Pinedo Zamalloa
University of the Basque Country
PGP key at : https://keyserver.pgp.com, ldap://keyserver.pgp.com
Fingerprint: B96C BEC0 B037 AFAC 43C1   952A 6D87 962E 6E26 1AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEkW9+bYeWLm4mGqsRAldYAJsFuNoG/KiWgUkusIsWwEXan1nJ6QCfVtKY
JJ12FG69u6sgx2POYO9aDfM=
=dnlF
-----END PGP SIGNATURE-----