Web lists-archives.com

Re: IPv6 router is not forwarding packets




Hi Pascal, Ulf, and Georgi,

many thanks for your replies,  they brought me at least one step further :-)

Am Sonntag, 6. Januar 2019, 20:54:43 CET schrieb Ulf Volmer:
> On 06.01.19 20:47, Rainer Dorsch wrote:
> > does not do automatic stuff. But after a reboot I still get
> > 
> > root@mohot:~# ip -6 a show eth0
> > 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
> > 
> >     inet6 2a02:8070:898f:e400:d263:b4ff:fe00:4dd1/64 scope global dynamic
> > 
> > mngtmpaddr
> > 
> >        valid_lft 7126sec preferred_lft 3526sec
> >     
> >     inet6 2a02:8070:898f:e4f8:d263:b4ff:fe00:4dd1/64 scope global dynamic
> > 
> > mngtmpaddr
> > 
> >        valid_lft 14019sec preferred_lft 14019sec
> >     
> >     inet6 fe80::d263:b4ff:fe00:4dd1/64 scope link
> >     
> >        valid_lft forever preferred_lft forever
> > 
> > root@mohot:~# ip -6 r
> > 2a02:8070:898f:e400::/64 dev eth0 proto kernel metric 256 pref medium
> > 2a02:8070:898f:e4f8::/64 dev eth0 proto kernel metric 256 pref medium
> > fe80::/64 dev eth0 proto kernel metric 256 pref medium
> > default via fe80::d263:b4ff:fe00:325c dev eth0 proto ra metric 1024
> > hoplimit 64 pref medium
> > default via fe80::e228:6dff:fe43:5776 dev eth0 proto ra metric 1024
> > hoplimit 255 pref medium
> > root@mohot:~#
> > 
> > Is that expected? If yes, is that then dhcpv6 or slaac?
> 
> I think this is slaac. But you still get RAs from VLAN 1 and your ISP
> router. Are you should that your VLAN separating at layer 2 works as
> expected? tcpdump/wireshark is your friend.

I reviewed the VLAN config and indeed mohot still saw untagged traffic from 
VLAN1. 

After removing this, the upstream addresses and routings are gone.

But I (surprisingly) still get addresses and routes. Though they look now 
reasonable for me:

rd@mohot:~$ ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 2a02:8070:898f:e4f8:d263:b4ff:fe00:4dd1/64 scope global dynamic 
mngtmpaddr 
       valid_lft 14303sec preferred_lft 14303sec
    inet6 fe80::d263:b4ff:fe00:4dd1/64 scope link 
       valid_lft forever preferred_lft forever
rd@mohot:~$ 

Still the problem is the same, I can ssh forth and back between home (stretch 
router) and mohot (endpoint). But I do not reach an internet server (outside 
of my home network):

rd@mohot:~$ ssh 2a03:4000:6:52b6::
ssh: connect to host 2a03:4000:6:52b6:: port 22: Connection refused
rd@mohot:~$ traceroute6 2a03:4000:6:52b6::
traceroute to 2a03:4000:6:52b6:: (2a03:4000:6:52b6::), 30 hops max, 80 byte 
packets
 1  2a02:8070:898f:e4f8:d263:b4ff:fe00:325c 
(2a02:8070:898f:e4f8:d263:b4ff:fe00:325c)  0.361 ms  0.295 ms  0.305 ms
 2  fritz.box (2a02:8070:898f:e400:e228:6dff:fe43:5776)  0.798 ms  0.821 ms  
0.813 ms
 3  2a02:8070:8900:0:30a0:caa7:42e0:93d2 
(2a02:8070:8900:0:30a0:caa7:42e0:93d2)  1.478 ms !X  1.459 ms !X  1.434 ms !X
rd@mohot:~$ 

Things are getting weirder now... :-/

Any hint is welcome
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/