bonjour,
J'ai appliqué la config comme indiqué mais impossible de la faire fonctionner sur un ERL-4.
Lorsque j'essaye de tester IPV6 en SSH sur l'ERL-4:
#ping6 www.google.com
PING www.google.com(par21s03-in-x04.1e100.net) 56 data bytes
^C
--- www.google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2007ms
IPV6 est en partie monter, car impossible d'avoir autre chose que des adresses locales
#show ipv6 neighbors
fe80::ba0:bab dev eth1.832 lladdr a0:f3:e4:94:4b:9b router REACHABLE => Je m'attendais à un adresse autre qu'un lien local ????
fe80::feec:daff:fe43:39a dev eth0 lladdr fc:ec:da:43:03:9a router STALE => ERL-4
fe80::110e:5131:4a99:32c3 dev eth0 lladdr ac:22:0b:15:5f:d7 STALE => PC
# show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
IA - OSPF inter area, E1 - OSPF external type 1,
E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, B - BGP
Timers: Uptime
IP Route Table for VRF "default"
K ::/0 [0/1024] via fe80::ba0:bab, eth1.832, 00:40:44
C ::1/128 via ::, lo, 00:46:08
C fe80::/64 via ::, eth1.838, 00:45:38
# show interfaces ethernet eth1 vif 832
eth1.832@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether fc:ec:da:43:03:9b brd ff:ff:ff:ff:ff:ff
inet XX.XX.XX.XX/21 brd XX.XX.XX.255 scope global eth1.832
valid_lft forever preferred_lft forever
inet6 fe80::feec:daff:fe43:39b/64 scope link
valid_lft forever preferred_lft forever
Description: Internet Orange DHCP
RX: bytes packets errors dropped overrun mcast
450008 3022 0 0 0 0
TX: bytes packets errors dropped carrier collisions
283018 3154 0 0 0 0
ma config si vous avez une idée ou est l'erreur (je suis sur ERL-4 firmware 1.10.1)
firewall {
all-ping enable
broadcast-ping disable
group {
port-group Blizzard_Battle.net {
description "Blizzard Battle.net"
port 80
port 443
port 1119
}
port-group Blizzard_Voice_TCP {
description "Blizzard Voice TCP"
port 3478-3479
port 5060
port 5062
port 6250
port 12000-64000
}
port-group Blizzard_Voice_UDP {
description "Blizzard Voice UDP"
port 80
port 443
port 1119
}
port-group Blizzard_downloader {
description "Blizzard Downloader"
port 1119-1120
port 3724
port 4000
port 6112-6114
}
port-group DiabloIII {
description DiabloIII
port 1119
port 3724
}
}
ipv6-name WANv6_IN {
default-action drop
description "WANv6 inbound traffic forwarded to LAN"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
rule 30 {
action accept
description "Allow ICMPv6"
log disable
protocol icmpv6
}
}
ipv6-name WANv6_LOCAL {
default-action drop
description "WANv6 inbound traffic to the router"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
rule 30 {
action accept
description "Allow ICMPv6"
log disable
protocol icmpv6
}
rule 40 {
action accept
description "Allow DHCPv6"
destination {
port 546
}
protocol udp
source {
port 547
}
}
}
ipv6-name WANv6_OUT {
default-action accept
description "WANv6 outbound traffic"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action reject
description "Reject invalid state"
state {
invalid enable
}
}
}
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "packets from Internet to LAN"
enable-default-log
rule 10 {
action accept
description "Allow established sessions"
log disable
protocol all
state {
established enable
invalid disable
new disable
related disable
}
}
rule 20 {
action drop
description "Drop invalid state"
log disable
protocol all
state {
established disable
invalid enable
new disable
related disable
}
}
rule 30 {
action accept
description "Torrent TCP"
destination {
address 192.168.1.253
port 16881
}
log disable
protocol tcp
source {
port 16881
}
}
rule 40 {
action accept
description "Torrent UDP"
destination {
address 192.168.1.253
port 6881
}
log disable
protocol udp
source {
port 6881
}
}
rule 50 {
action accept
description Emule
destination {
address 192.168.1.253
port 4662
}
log disable
protocol tcp
source {
port 4662
}
}
rule 60 {
action accept
description "Emule UDP"
destination {
address 192.168.1.253
port 4672
}
log disable
protocol udp
source {
port 4672
}
}
rule 70 {
action accept
description "Blizzard Battle.net"
destination {
address 192.168.1.10
group {
port-group Blizzard_Battle.net
}
}
log disable
protocol tcp_udp
source {
group {
port-group Blizzard_Battle.net
}
}
}
rule 80 {
action accept
description "Blizzard Downloader"
destination {
address 192.168.1.10
group {
port-group Blizzard_downloader
}
}
log disable
protocol tcp_udp
source {
group {
port-group Blizzard_downloader
}
}
}
rule 90 {
action accept
description "Blizzard Voice TCP"
destination {
address 192.168.1.10
group {
port-group Blizzard_Voice_TCP
}
}
log disable
protocol tcp
source {
group {
port-group Blizzard_Voice_TCP
}
}
}
rule 100 {
action accept
description "Blizzard Voice UDP"
destination {
address 192.168.1.10
group {
port-group Blizzard_Voice_UDP
}
}
log disable
protocol udp
source {
group {
port-group Blizzard_Voice_UDP
}
}
}
}
name WAN_LOCAL {
default-action drop
description "packets from Internet to the router"
rule 1 {
action accept
description "Allow established/related"
log disable
protocol all
state {
established enable
invalid enable
new disable
related enable
}
}
rule 2 {
action drop
description "Drop invalid state"
log disable
protocol all
state {
established disable
invalid enable
new disable
related disable
}
}
}
name WAN_OUT {
default-action accept
description "Internal to WAN"
rule 10 {
action accept
description "Allow established/related"
log disable
state {
established enable
related enable
}
}
rule 30 {
action reject
description "Reject invalid state"
state {
invalid enable
}
}
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
ethernet eth0 {
address 192.168.1.1/24
description LAN0_Internal_Network
duplex auto
ipv6 {
dup-addr-detect-transmits 1
router-advert {
cur-hop-limit 64
link-mtu 0
managed-flag false
max-interval 600
other-config-flag false
prefix ::/64 {
autonomous-flag true
on-link-flag true
preferred-lifetime 14400
valid-lifetime 18000
}
reachable-time 0
retrans-timer 0
send-advert true
}
}
speed auto
}
ethernet eth1 {
description LAN1_Internet_ONT
duplex auto
speed auto
vif 832 {
address dhcp
description "Internet Orange DHCP"
dhcp-options {
client-option "send vendor-class-identifier "sagem";"
client-option "send user-class "\053FSVDSL_livebox.Internet.softathome.Livebox4";"
client-option "send rfc3118-auth 00:00:00:00:00:00:00:00:00:00:00:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX;"
client-option "request subnet-mask, routers, domain-name-servers, domain-name, broadcast-address, dhcp-lease-time, dhcp-renewal-time, dhcp-rebinding-time, domain-search, rfc3118-auth;"
default-route update
default-route-distance 210
global-option "option rfc3118-auth code 90 = string;"
name-server update
}
egress-qos "0:0 1:0 2:0 3:0 4:0 5:0 6:6 7:0"
firewall {
in {
ipv6-name WANv6_IN
name WAN_IN
}
local {
ipv6-name WANv6_LOCAL
name WAN_LOCAL
}
out {
ipv6-name WANv6_OUT
name WAN_OUT
}
}
ipv6 {
address {
autoconf
}
dup-addr-detect-transmits 1
}
}
vif 838 {
address dhcp
description "TV - VOD"
dhcp-options {
client-option "send vendor-class-identifier "sagem";"
client-option "send user-class "\047FSVDSL_livebox.MLTV.softathome.Livebox4";"
client-option "send dhcp-client-identifier 1:XX:XX:XX:XX:XX:XX;"
client-option "request subnet-mask, routers, rfc3442-classless-static-routes;"
default-route no-update
default-route-distance 210
name-server update
}
egress-qos "0:4 1:4 2:4 3:4 4:4 5:4 6:4 7:4"
}
vif 840 {
address 192.168.255.254/32
description "VLAN TV Canal 1 - Zap"
egress-qos "0:5 1:5 2:5 3:5 4:5 5:5 6:5 7:5"
}
}
ethernet eth2 {
address 192.168.2.1/24
description LAN2_Livebox
duplex auto
speed auto
vif 832 {
address 192.168.2.254/24
description Voip
}
}
ethernet eth3 {
address 192.168.3.1/24
description LAN_ETH3
disable
duplex auto
speed auto
}
loopback lo {
}
}
protocols {
igmp-proxy {
disable-quickleave
interface eth0 {
alt-subnet 0.0.0.0/0
role downstream
threshold 1
}
interface eth1 {
role disabled
threshold 1
}
interface eth1.832 {
role disabled
threshold 1
}
interface eth1.838 {
role disabled
threshold 1
}
interface eth1.840 {
alt-subnet 0.0.0.0/0
role upstream
threshold 1
}
interface eth2 {
role disabled
threshold 1
}
}
}
service {
dhcp-server {
disabled false
global-parameters "option rfc3118-auth code 90 = string;"
global-parameters "option SIP code 120 = string;"
global-parameters "option Vendor-specific code 125 = string;"
hostfile-update disable
shared-network-name LAN_ETH0_DHCP {
authoritative enable
subnet 192.168.1.0/24 {
default-router 192.168.1.1
dns-server 192.168.1.1
lease 86400
ntp-server 192.168.1.1
start 192.168.1.100 {
stop 192.168.1.200
}
}
}
shared-network-name LAN_ETH2_DHCP {
authoritative enable
subnet 192.168.2.0/24 {
default-router 192.168.2.254
dns-server 80.10.246.136
dns-server 81.253.149.6
domain-name orange.fr
lease 86400
start 192.168.2.20 {
stop 192.168.2.50
}
static-mapping Livebox {
ip-address 192.168.2.10
mac-address XX:XX:XX:XX:XX:XX
}
subnet-parameters "option rfc3118-auth 00:00:00:00:00:00:00:00:00:00:00:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX;"
subnet-parameters "option SIP 0:6:73:62:63:74:33:67:3:50:55:54:6:61:63:63:65:73:73:11:6f:72:61:6e:67:65:2d:6d:75:6c:74:69:6d:65:64:69:61:3:6e:65:74:0;"
subnet-parameters "option Vendor-specific 00:00:05:58:0c:01:0a:00:00:00:00:00:ff:ff:ff:ff:ff;"
}
}
static-arp disable
use-dnsmasq disable
}
dns {
forwarding {
cache-size 1024
listen-on lo
listen-on eth0
listen-on eth2
name-server 80.10.246.136
name-server 81.253.149.6
}
}
gui {
http-port 80
https-port 443
listen-address 192.168.1.1
older-ciphers disable
}
nat {
rule 5001 {
description "Masquerading outgoing connections"
log disable
outbound-interface eth1.832
protocol all
type masquerade
}
rule 5002 {
description "Masquerading TV"
log disable
outbound-interface eth1.838
protocol all
type masquerade
}
}
ssh {
listen-address 192.168.1.1
port 22
protocol-version v2
}
unms {
disable
}
upnp2 {
listen-on eth0
nat-pmp enable
port 34651
secure-mode enable
wan eth1.832
}
}
system {
config-management {
commit-revisions 1
}
conntrack {
expect-table-size 4096
hash-size 4096
table-size 32768
tcp {
half-open-connections 512
loose disable
max-retrans 3
}
}
host-name ubnt
login {
user ubnt {
authentication {
encrypted-password XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
}
level admin
}
}
name-server 1.1.1.1
name-server 8.8.8.8
ntp {
server 0.ubnt.pool.ntp.org {
}
server 1.ubnt.pool.ntp.org {
}
server 2.ubnt.pool.ntp.org {
}
server 3.ubnt.pool.ntp.org {
}
}
offload {
hwnat disable
ipsec enable
ipv4 {
forwarding enable
gre enable
vlan enable
}
ipv6 {
forwarding enable
vlan enable
}
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level warning
}
}
}
task-scheduler {
task Watchdog {
executable {
path /config/scripts/orange_watchdog.sh
}
interval 5m
}
}
time-zone Europe/Paris
traffic-analysis {
dpi enable
export enable
}
}
/* Warning: Do not remove the following line. */
/* === vyatta-config-version: "config-management@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@5:nat@3:qos@1:quagga@2:system@4:ubnt-pptp@1:ubnt-udapi-server@1:ubnt-unms@1:ubnt-util@1:vrrp@1:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: v1.10.1.5067768.180306.1010 */