Hallo Thomas,

I get crazy. :/

Am 22.05.2015 um 22:15 schrieb Thomas Bohl:> Please tryndp -an
> # route delete -inet6 default
> # route add -inet6 default fe80::1%re0

It worked one time until reboot.

I did a reboot to test again.

########################################################################
when I have this in mygate:
fe80::1

then I have NO default gw in inet6

# route add -inet6 default fe80::1%re0
# ping6 -vc 5 google.com

PING6(72=40+8+24 bytes) 2a01:4f8:160:4346::25 --> 2a00:1450:4001:80b::1000
32 bytes from 2a01:4f8::a:16:4: Neighbor Advertisement
32 bytes from 2a01:4f8::a:16:4: Neighbor Advertisement
32 bytes from 2a01:4f8::a:16:4: Neighbor Advertisement
80 bytes from 2a01:4f8:160:4346::25: Destination Host Unreachable
Vr TC  Flow Plen Nxt Hlim
 6 00 00000 0020  3a   40
2a01:4f8:160:4346::25->2a00:1450:4001:80b::1000
ICMP6: type = 128, code = 0

# ndp -an
Neighbor                    Linklayer Address  Netif Expire    S Flags
2a01:4f8:160:4346::2        (incomplete)         re0 permanent R l
2a01:4f8:160:4346::25       (incomplete)         re0 permanent R l
2a01:4f8:160:4346::80       (incomplete)         re0 permanent R l
fe80::5604:a6ff:feb4:99c2%re0  (incomplete)      re0 permanent R l


#######################################################################
when I have this in /etc/mygate:
2a01:4f8:160:4346::1
fe80::1

!route add -inet6 default fe80::1%re0
was ignored in hostname.re0

then it is coming up with default gw 2a01:4f8:160:4346::1

$ route -n show -inet6
Routing tables
Internet6:
Destination                        Gateway                        Flags
  Refs      Use   Mtu  Prio Iface
::/104                             ::1                            UGRS
     0        0 32768     8 lo0
::/96                              ::1                            UGRS
     0        0 32768     8 lo0
default                            2a01:4f8:160:4346::1           UGS
     0        0     -     8 re0
::1                                link#3                         UHl
    14        0 32768     1 lo0
::127.0.0.0/104                    ::1                            UGRS
     0        0 32768     8 lo0
::224.0.0.0/100                    ::1                            UGRS
     0        0 32768     8 lo0
::255.0.0.0/104                    ::1                            UGRS
     0        0 32768     8 lo0
::ffff:0.0.0.0/96                  ::1                            UGRS
     0        0 32768     8 lo0
2002::/24                          ::1                            UGRS
     0        0 32768     8 lo0
2002:7f00::/24                     ::1                            UGRS
     0        0 32768     8 lo0
2002:e000::/20                     ::1                            UGRS
     0        0 32768     8 lo0
2002:ff00::/24                     ::1                            UGRS
     0        0 32768     8 lo0
2a01:4f8:160:4346::/64             link#1                         UC
     1        0     -     4 re0
2a01:4f8:160:4346::1               link#1                         UHLc
     1        0     -     4 re0
2a01:4f8:160:4346::2               link#1                         HLl
     0        0     -     1 lo0
2a01:4f8:160:4346::25              link#1                         HLl
     0        0     -     1 lo0
2a01:4f8:160:4346::80              link#1                         HLl
     0        0     -     1 lo0
fe80::/10                          ::1                            UGRS
     0        0 32768     8 lo0
fe80::%re0/64                      link#1                         UC
     0        0     -     4 re0
fe80::5604:a6ff:feb4:99c2%re0      link#1                         HLl
     0        0     -     1 lo0
fe80::%lo0/64                      link#3                         U
     0        0 32768     4 lo0
fe80::1%lo0                        link#3                         UHl
     0        0 32768     1 lo0
fec0::/10                          ::1                            UGRS
     0        0 32768     8 lo0
ff01::/16                          ::1                            UGRS
     0        0 32768     8 lo0
ff01::%re0/32                      link#1                         UC
     0        0     -     4 re0
ff01::%lo0/32                      link#3                         UC
     0        0 32768     4 lo0
ff02::/16                          ::1                            UGRS
     0        0 32768     8 lo0
ff02::%re0/32                      link#1                         UC
     0        0     -     4 re0
ff02::%lo0/32                      link#3                         UC
     0        0 32768     4 lo0


$ ndp -an
Neighbor                             Linklayer Address  Netif Expire
S Flags
2a01:4f8:160:4346::1                 (incomplete)         re0 expired   N
2a01:4f8:160:4346::2                 (incomplete)         re0 permanent R l
2a01:4f8:160:4346::25                (incomplete)         re0 permanent R l
2a01:4f8:160:4346::80                (incomplete)         re0 permanent R l
fe80::5604:a6ff:feb4:99c2%re0        (incomplete)         re0 permanent R l


# ping6 -vc 5 google.com
PING6(72=40+8+24 bytes) 2a01:4f8:160:4346::25 --> 2a00:1450:4001:80b::1006
32 bytes from 2a01:4f8::a:16:4: Neighbor Advertisement
32 bytes from 2a01:4f8::a:16:4: Neighbor Advertisement
32 bytes from 2a01:4f8::a:16:4: Neighbor Advertisement
80 bytes from 2a01:4f8:160:4346::25: Destination Host Unreachable
Vr TC  Flow Plen Nxt Hlim
 6 00 00000 0020  3a   40
2a01:4f8:160:4346::25->2a00:1450:4001:80b::1006
ICMP6: type = 128, code = 0

It has never ping6 again.

Could you advise me hostname.re0 and mygate ?

Thank you
- Heiko

Reply via email to