LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-17-2017, 10:20 AM   #1
stekahelo
LQ Newbie
 
Registered: Jun 2017
Posts: 3

Rep: Reputation: 0
Question IPv6 Routing issues with subnets


Since the Sixxs tunnelbrocker went down I would like to use IPv6 from my ISP (German Telekom). The Telekom provides a /56 prefix which I want to subnet and use in my local LANs.

Code:
                 Internet
                    ^
                    |
                    v
                 ppp100
               Router (R1)
         eth0.103 eth0.102 eth0.104
             /     |        \
            /      |         \
           /      eth1        \
        Guests  Gentoo (R2)   DMZ
                  eth0
                   |
                   | 
                  LAN --> Notebook
I get a IPv6 address for the ppp100-device. Also I query the /56 prefix, but I use only a /60.

These are the IPs and routes on R1:
Code:
IPs
ppp100 : 2003:d0:33bf:275b:36ee:995e:6dd7:1a2b/64
eth0.102 : 2003:d0:33f8:5000::1/60
eth0.102 : fe80::1/64

Routes
2003:d0:33bf:275b::/64 dev ppp100
2003:d0:33f8:5000::/60 dev eth0.102
default via fe80::100:100:3e9b:f606 dev ppp100
And on R2 I use the following setup:
Code:
eth1 : 2003:d0:33f8:5000:280:c9ff:fe00:3ef/64
eth0 : 2003:d0:33f8:500e::1/64
eth0 : fe80::1/64

Routes
2003:d0:33f8:5000::/64 dev eth1
2003:d0:33f8:500e::/64 dev eth0
default via fe80::1 dev eth1
On R2 is dnsmasq running to advertise the net. So my notebook gets following settings:
Code:
IPs
eth0 : 2003:d0:33f8:500e:11fc:60db:35f2:5582/64

Routes:
2003:d0:33f8:500e::/64 dev eth0
default via fe80::1 dev eth0
I can ping IPv6 hosts in the internet from R1 and R2. Also I can ping the IPs of R1 and R2 from a dedicated server
Code:
ping6 2003:d0:33bf:275b:36ee:995e:6dd7:1a2b
ping6 2003:d0:33f8:5000::1
and
ping6 2003:d0:33f8:5000:280:c9ff:fe00:3ef
works
I could not reach any host of the ..:500e:: network, also ping 2003:d0:33f8:500e::1 from R1 does not work. I could not ping any IPv6 address from the local LAN (notebook) after eth1, too. It seems like routing on R2 is disabled, but it is enabled:
Code:
cat /proc/sys/net/ipv6/conf/{all,eth0,eth1}/forwarding
1
1
1
If I run tcpdump (tcpdump -n -vv -i eth0.102 ip6) on R1 while ping an internet host from the notebook, I see that there are queries (neighbor solicitation) to get the sending host, but there is no response:
Code:
ip -6 neigh
...
2003:d0:33f8:500e:11fc:60db:35f2:5582 dev eth0.102  FAILED
There is no firewall on R2 running and on R1 it is a very basic one.


It would be very nice if someone could give me a hint

Last edited by stekahelo; 06-18-2017 at 05:15 AM.
 
Old 06-18-2017, 05:14 AM   #2
stekahelo
LQ Newbie
 
Registered: Jun 2017
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

I've found my mistake: I did not specify a gateway for the routed networks on R1 to R2.
Now it works as expected.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian routing issues from specific subnets not working properly jet-lee Linux - Networking 1 11-21-2016 01:48 PM
persistant ip routing between two subnets - config issues. borgy95 Linux - Networking 3 04-11-2012 08:34 AM
LXer: Another IPv6 Crash Course For Linux: Real IPv6 Addresses, Routing, Name Services LXer Syndicated Linux News 0 04-21-2011 07:40 AM
[SOLVED] Routing two Subnets Lord_Devi Linux - Networking 5 07-10-2010 02:54 PM
subnets and routing evilted Linux - Networking 19 08-20-2009 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration