Salut
Incerc sa creez niste rute de IPv6, pe un debian
lenny 2.6.22-2-686,
iproute 20080108-1
net-tools 1.60-19
placa de retea in cauza:
[eth2] 02:03.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro
100 (rev 10)
Topologia este urmatoarea:
(masina 1)3000::1/120 <===> 3000::2/120(router 1) 2000::2/120 <===> 2000::1/120
(netscreen) 1001::2/120 <===> 1001:1/120 [eth2](debian)[eth3] 1.0.0.1/24
rutarea de pe netscreen functioneaza ok [de pe 3000::1 pot da ping in
1001::2][de pe 2000::2 pot da ping in 1001::2]
>>> pe lenny-ul meu trebuie sa pun rute statice catre retelele 2000::/120 si
>>> catre 3000::/120
lenny-ul arata cam asa:
eth2 Link encap:Ethernet HWaddr 00:0e:0c:76:2f:dc
inet addr:23.23.23.23 Bcast:23.23.255.255 Mask:255.255.0.0
inet6 addr: 1001::1/120 Scope:Global
inet6 addr: fe80::20e:cff:fe76:2fdc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:114 errors:0 dropped:0 overruns:0 frame:0
TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11680 (11.4 KiB) TX bytes:18226 (17.7 KiB)
eth3 Link encap:Ethernet HWaddr 00:04:23:b5:2a:e0
inet addr:1.0.0.1 Bcast:1.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:feb5:2ae0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:720 (720.0 B)
Base address:0xb800 Memory:fc8c0000-fc8e0000
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: Un 0 1 13 lo
1001::/128 :: Un 0 2 0 lo
1001::1/128 :: Un 0 2 282 lo
1001::/120 :: U 256 0 0 eth2
2000::/120 :: U 1 0 0 eth2
fe80::/128 :: Un 0 2 0 lo
fe80::/128 :: Un 0 2 0 lo
fe80::/128 :: Un 0 2 0 lo
fe80::/128 :: Un 0 2 0 lo
fe80::204:23ff:feb5:2ae0/128 :: Un 0 1 0 lo
fe80::204:23ff:feb5:2ae1/128 :: Un 0 1 0 lo
fe80::20a:5eff:fe5c:8252/128 :: Un 0 1 0 lo
fe80::20e:cff:fe76:2fdc/128 :: Un 0 1 18 lo
fe80::/64 :: U 256 0 0 eth4
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 eth3
fe80::/64 :: U 256 0 0 eth2
ff00::/8 :: U 256 0 0 eth4
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 eth3
ff00::/8 :: U 256 0 0 eth2
::/0 :: U 1 0 0 eth2
::/0 :: !n -1 1 4 lo
Acum, problema este urmatoarea:
#ping6 -I 1001::1 2000::1
PING 2000::1(2000::1) from 1001::1 : 56 data bytes
From 1001::1 icmp_seq=1 Destination unreachable: Address unreachable
From 1001::1 icmp_seq=2 Destination unreachable: Address unreachable
iar in captura apare:
14:25:20.485806
14:25:21.634212 CDPv2, ttl: 180s, Device-ID '7200_vpn_qa'[|cdp]
14:25:23.599947 IP6 1001::1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who
has 2000::1, length 32
14:25:24.599936 IP6 1001::1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who
has 2000::1, length 32
14:25:25.599938 IP6 1001::1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who
has 2000::1, length 32
14:25:26.615936 IP6 1001::1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who
has 2000::1, length 32
Ruta catre 2000::/120 a fost creata prin comanda:
# route -A inet6 add 2000::/120 dev eth2
insa dupa cate vad nu functioneaza.
Am incercat sa adaug ruta prin gateway:
# route -A inet6 add 2000::/120 gw 1001::2
SIOCADDRT: Invalid argument
imi apare mesajul asta de eroare si ruta nu e adaugata.
Fix aceeasi situatie apare daca folosesc 'ip -6' in loc de 'route'.
Netscreen-ul nu face proxy arp si nici nu vreau sa faca. Vreau sa pun rutele
catre cele 2 retele folosind optiunea 'gw'.
Deasemenea, tinand cont de NOTA din man-page-ul de 'route'
( gw GW route packets via a gateway. NOTE: The specified gateway must be
reachable first. This usually means that you have to set up a static
route to the gateway beforehand. If you specify the address of one of your
local interfaces, it will be used to decide about the interface to which the
packets should be routed to. This is a BSDism compatibility hack.)
am pus si ruta statica catre gateway, problema persista.
Cunostintele mele de IPv6 sunt destul de limitate, iar ceea ce am gasit pe
google nu mi-a fost de prea mare ajutor.
Cum ar trebui sa adaug rutele, astfel incat sa am conectivitate?
Multumesc,
Cristina
___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug