[Freifunk-Bonn] IPv6 und dynamischer Präfix

Marco Maske lists-mm at netcologne.de
Di Sep 3 22:43:08 CEST 2013


eGeist schrieb:

> Poste ggf. mal die Ausgabe von

Geflasht. Sooooooooo.

root at 647002cd972e:~# ip -6 addr | grep global
    inet6 2001:67c:20a0:b104:6670:2ff:fecd:972e/64 scope global dynamic
    inet6 fdd3:5d16:b5dd:0:6670:2ff:fecd:972e/64 scope global dynamic
    inet6 2001:67c:20a0:b103:6670:2ff:fecd:972e/64 scope global dynamic

:-) Da sind sie ja.....

root at 647002cd972e:~# traceroute6 www.example.org
traceroute to www.example.org (2606:2800:220:6d:26bf:1447:1097:aa7), 30 hops 
max, 16 byte packets
 1  2001:67c:20a0:b103::1 (2001:67c:20a0:b103::1)  63.724 ms  32.763 ms  
37.472 ms
 2  fdd3:5d16:b5dd:3::3 (fdd3:5d16:b5dd:3::3)  60.623 ms  69.628 ms  56.378 ms
 3  2001:67c:20a0:a::1 (2001:67c:20a0:a::1)  57.136 ms  61.402 ms  57.660 ms
 4  as6939.ber.ipv6.ecix.net (2001:7f8:8:5:0:1b1b:0:1)  56.054 ms  59.029 ms  
69.243 ms
 5  10gigabitethernet10-6.core1.ams1.he.net (2001:470:0:211::1)  71.439 ms  
95.665 ms  99.270 ms
 6  Xe5-3-0-0-grtamstc1.ri.telefonica-data.net (2001:7f8:1::a501:2956:1)  
80.018 ms  101.407 ms  72.978 ms
 7  lo0-grtparix3-ip6.red.telefonica-wholesale.net (2001:1498:1::32:2)  
205.553 ms  232.603 ms  317.837 ms
 8  2001:1498:1::100:165 (2001:1498:1::100:165)  200.557 ms  258.087 ms  
269.321 ms
 9  lo0-grtmiana2-ip6.red.telefonica-wholesale.net (2001:1498:1::32:182)  
234.330 ms  210.419 ms  214.443 ms
10  2001:1498:1:2ac::2 (2001:1498:1:2ac::2)  196.029 ms  208.064 ms  208.632 
ms
11  2606:2800:220:6d:26bf:1447:1097:aa7 (2606:2800:220:6d:26bf:1447:1097:aa7)  
207.184 ms  205.545 ms  211.887 ms


root at 647002cd972e:~# ip -6 addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::6670:2ff:fecd:972e/64 scope link
       valid_lft forever preferred_lft forever
4: br-freifunk: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
    inet6 2001:67c:20a0:b104:6670:2ff:fecd:972e/64 scope global dynamic
       valid_lft 86382sec preferred_lft 14382sec
    inet6 fdd3:5d16:b5dd:0:6670:2ff:fecd:972e/64 scope global dynamic
       valid_lft 86400sec preferred_lft 14400sec
    inet6 2001:67c:20a0:b103:6670:2ff:fecd:972e/64 scope global dynamic
       valid_lft 86400sec preferred_lft 14400sec
    inet6 fe80::6670:2ff:fecd:972e/64 scope link
       valid_lft forever preferred_lft forever
6: br-wan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
    inet6 fe80::6470:2ff:fece:972f/64 scope link
       valid_lft forever preferred_lft forever
9: wlan0-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1528 qlen 32
    inet6 fe80::6470:2ff:fecd:972f/64 scope link
       valid_lft forever preferred_lft forever
10: mesh-vpn: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1426 qlen 500
    inet6 fe80::6470:2ff:fece:972e/64 scope link
       valid_lft forever preferred_lft forever

root at 647002cd972e:~# ip -6 route
2001:67c:20a0:b103::/64 dev br-freifunk  metric 256  expires 0sec
2001:67c:20a0:b104::/64 dev br-freifunk  metric 256  expires 0sec
fdd3:5d16:b5dd::/64 dev br-freifunk  metric 256  expires 0sec
fe80::/64 dev eth0  metric 256
fe80::/64 dev br-freifunk  metric 256
fe80::/64 dev br-wan  metric 256
fe80::/64 dev wlan0-1  metric 256
fe80::/64 dev mesh-vpn  metric 256
default via fe80::c47c:c7ff:fe07:ceb7 dev br-freifunk  metric 1024  expires 
0sec
default via fe80::48f3:e0ff:fe76:4567 dev br-freifunk  metric 1024  expires 
0sec
unreachable default dev lo  metric -1  error -128
ff00::/8 dev eth0  metric 256
ff00::/8 dev br-freifunk  metric 256
ff00::/8 dev br-wan  metric 256
ff00::/8 dev wlan0-1  metric 256
ff00::/8 dev mesh-vpn  metric 256
unreachable default dev lo  metric -1  error -128

> sowie den inhalt von
>
> /etc/config/network
config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config interface 'wan'
	option ifname 'eth0.2'
	option proto 'dhcp'
	option type 'bridge'
	option accept_ra '0'
	option auto '1'
	option macaddr '66:70:02:ce:97:2f'

config switch
	option name 'rtl8366rb'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'rtl8366rb'
	option vlan '1'
	option ports '1 2 3 4 5t'

config switch_vlan
	option device 'rtl8366rb'
	option vlan '2'
	option ports '0 5t'

config interface 'freifunk'
	option ifname 'eth0.1 bat0'
	option type 'bridge'
	option proto 'none'
	option auto '1'
	option accept_ra '1'
	option macaddr '64:70:02:cd:97:2e'

config interface 'mesh'
	option proto 'none'
	option mtu '1528'


########################################
Vor dem flashen war noch das mit drin:

config interface 'lan'
	option ifname 'eth0.1'
	option type 'bridge'
	option proto 'static'
	option netmask '255.255.255.0'
	option ipaddr '192.168.2.1'

config interface 'mesh'
	option proto 'batadv'
	option mtu '1528'
	option mesh 'bat0'

config interface 'mesh_vpn'
	option ifname 'mesh-vpn'
	option proto 'batadv'
	option mesh 'bat0'
	option macaddr '66:70:02:ce:97:2e'



Ciao Marco!



-- 
Debian Hint #24: If you would like to thank a maintainer for handling an
issue, check out reportbug --kudos.



Mehr Informationen über die Mailingliste Freifunk-Bonn