routing ipv6 only in local wlan network (subnet)
I have a Gentoo Linux machine with got a V6 address via DHCP form my router. There is V4/V6 net. For DHCP I use dhcpcd with following conf:
duid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac private
noipv6rs
interface eth0
ipv6rs
ia_na
interface wlan0
noipv6rs
noipv4
ipv6only
I try to create a router for internal wireless v6-only network.
I try to do the following:
Assign static address for wlan0 from v6 network:
# ip addr show wlan0
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1480 qdisc mq state UP group default qlen 1000
link/ether 50:3e:aa:54:c2:c5 brd ff:ff:ff:ff:ff:ff
inet6 2001:470:xxxx:1000::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::b614:22ce:a510:66e3/64 scope link
valid_lft forever preferred_lft forever
Add dnsmasq witch config:
interface=wlan0
listen-address=2001:470:xxxx:1000::1
no-resolv
server=2001:470:xxxx::1
local=/subnet1/
domain=subnet1
dhcp-fqdn
enable-ra
dhcp-range=::100,::1ff, constructor:wlan0, ra-names, 64, 12h
log-queries
log-dhcp
Clients have got V6 addresses but no internet access. I can ping wlan0 clients from Gentoo machine but I can't ping global addresses from wlan0 and clients.
# ping6 google.com -I wlan0
connect: Network is unreachable
Should I add some static route for wlan0?
Current route table:
2001:470:yyyy:zzzz::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:: dev eth0 proto kernel metric 0 pref medium
2001:470:xxxx::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:1000:: dev wlan0 proto kernel metric 0 pref medium
2001:470:xxxx:1000::/64 dev eth0 metric 1 pref medium
2001:470:xxxx:1000::/64 dev wlan0 proto kernel metric 256 pref medium
anycast fe80:: dev dummy0 proto kernel metric 0 pref medium
anycast fe80:: dev eth0 proto kernel metric 0 pref medium
anycast fe80:: dev wlan0 proto kernel metric 0 pref medium
fe80::/64 dev dummy0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
ff00::/8 dev dummy0 metric 256 pref medium
ff00::/8 dev eth0 metric 256 pref medium
ff00::/8 dev wlan0 metric 256 pref medium
default via fe80::76d0:2bff:fed2:7b40 dev eth0 proto ra metric 204 mtu 1480 pref medium
linux networking wireless-networking router ipv6
add a comment |
I have a Gentoo Linux machine with got a V6 address via DHCP form my router. There is V4/V6 net. For DHCP I use dhcpcd with following conf:
duid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac private
noipv6rs
interface eth0
ipv6rs
ia_na
interface wlan0
noipv6rs
noipv4
ipv6only
I try to create a router for internal wireless v6-only network.
I try to do the following:
Assign static address for wlan0 from v6 network:
# ip addr show wlan0
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1480 qdisc mq state UP group default qlen 1000
link/ether 50:3e:aa:54:c2:c5 brd ff:ff:ff:ff:ff:ff
inet6 2001:470:xxxx:1000::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::b614:22ce:a510:66e3/64 scope link
valid_lft forever preferred_lft forever
Add dnsmasq witch config:
interface=wlan0
listen-address=2001:470:xxxx:1000::1
no-resolv
server=2001:470:xxxx::1
local=/subnet1/
domain=subnet1
dhcp-fqdn
enable-ra
dhcp-range=::100,::1ff, constructor:wlan0, ra-names, 64, 12h
log-queries
log-dhcp
Clients have got V6 addresses but no internet access. I can ping wlan0 clients from Gentoo machine but I can't ping global addresses from wlan0 and clients.
# ping6 google.com -I wlan0
connect: Network is unreachable
Should I add some static route for wlan0?
Current route table:
2001:470:yyyy:zzzz::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:: dev eth0 proto kernel metric 0 pref medium
2001:470:xxxx::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:1000:: dev wlan0 proto kernel metric 0 pref medium
2001:470:xxxx:1000::/64 dev eth0 metric 1 pref medium
2001:470:xxxx:1000::/64 dev wlan0 proto kernel metric 256 pref medium
anycast fe80:: dev dummy0 proto kernel metric 0 pref medium
anycast fe80:: dev eth0 proto kernel metric 0 pref medium
anycast fe80:: dev wlan0 proto kernel metric 0 pref medium
fe80::/64 dev dummy0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
ff00::/8 dev dummy0 metric 256 pref medium
ff00::/8 dev eth0 metric 256 pref medium
ff00::/8 dev wlan0 metric 256 pref medium
default via fe80::76d0:2bff:fed2:7b40 dev eth0 proto ra metric 204 mtu 1480 pref medium
linux networking wireless-networking router ipv6
add a comment |
I have a Gentoo Linux machine with got a V6 address via DHCP form my router. There is V4/V6 net. For DHCP I use dhcpcd with following conf:
duid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac private
noipv6rs
interface eth0
ipv6rs
ia_na
interface wlan0
noipv6rs
noipv4
ipv6only
I try to create a router for internal wireless v6-only network.
I try to do the following:
Assign static address for wlan0 from v6 network:
# ip addr show wlan0
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1480 qdisc mq state UP group default qlen 1000
link/ether 50:3e:aa:54:c2:c5 brd ff:ff:ff:ff:ff:ff
inet6 2001:470:xxxx:1000::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::b614:22ce:a510:66e3/64 scope link
valid_lft forever preferred_lft forever
Add dnsmasq witch config:
interface=wlan0
listen-address=2001:470:xxxx:1000::1
no-resolv
server=2001:470:xxxx::1
local=/subnet1/
domain=subnet1
dhcp-fqdn
enable-ra
dhcp-range=::100,::1ff, constructor:wlan0, ra-names, 64, 12h
log-queries
log-dhcp
Clients have got V6 addresses but no internet access. I can ping wlan0 clients from Gentoo machine but I can't ping global addresses from wlan0 and clients.
# ping6 google.com -I wlan0
connect: Network is unreachable
Should I add some static route for wlan0?
Current route table:
2001:470:yyyy:zzzz::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:: dev eth0 proto kernel metric 0 pref medium
2001:470:xxxx::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:1000:: dev wlan0 proto kernel metric 0 pref medium
2001:470:xxxx:1000::/64 dev eth0 metric 1 pref medium
2001:470:xxxx:1000::/64 dev wlan0 proto kernel metric 256 pref medium
anycast fe80:: dev dummy0 proto kernel metric 0 pref medium
anycast fe80:: dev eth0 proto kernel metric 0 pref medium
anycast fe80:: dev wlan0 proto kernel metric 0 pref medium
fe80::/64 dev dummy0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
ff00::/8 dev dummy0 metric 256 pref medium
ff00::/8 dev eth0 metric 256 pref medium
ff00::/8 dev wlan0 metric 256 pref medium
default via fe80::76d0:2bff:fed2:7b40 dev eth0 proto ra metric 204 mtu 1480 pref medium
linux networking wireless-networking router ipv6
I have a Gentoo Linux machine with got a V6 address via DHCP form my router. There is V4/V6 net. For DHCP I use dhcpcd with following conf:
duid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac private
noipv6rs
interface eth0
ipv6rs
ia_na
interface wlan0
noipv6rs
noipv4
ipv6only
I try to create a router for internal wireless v6-only network.
I try to do the following:
Assign static address for wlan0 from v6 network:
# ip addr show wlan0
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1480 qdisc mq state UP group default qlen 1000
link/ether 50:3e:aa:54:c2:c5 brd ff:ff:ff:ff:ff:ff
inet6 2001:470:xxxx:1000::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::b614:22ce:a510:66e3/64 scope link
valid_lft forever preferred_lft forever
Add dnsmasq witch config:
interface=wlan0
listen-address=2001:470:xxxx:1000::1
no-resolv
server=2001:470:xxxx::1
local=/subnet1/
domain=subnet1
dhcp-fqdn
enable-ra
dhcp-range=::100,::1ff, constructor:wlan0, ra-names, 64, 12h
log-queries
log-dhcp
Clients have got V6 addresses but no internet access. I can ping wlan0 clients from Gentoo machine but I can't ping global addresses from wlan0 and clients.
# ping6 google.com -I wlan0
connect: Network is unreachable
Should I add some static route for wlan0?
Current route table:
2001:470:yyyy:zzzz::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:: dev eth0 proto kernel metric 0 pref medium
2001:470:xxxx::/64 dev eth0 proto ra metric 204 mtu 1480 pref medium
anycast 2001:470:xxxx:1000:: dev wlan0 proto kernel metric 0 pref medium
2001:470:xxxx:1000::/64 dev eth0 metric 1 pref medium
2001:470:xxxx:1000::/64 dev wlan0 proto kernel metric 256 pref medium
anycast fe80:: dev dummy0 proto kernel metric 0 pref medium
anycast fe80:: dev eth0 proto kernel metric 0 pref medium
anycast fe80:: dev wlan0 proto kernel metric 0 pref medium
fe80::/64 dev dummy0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
ff00::/8 dev dummy0 metric 256 pref medium
ff00::/8 dev eth0 metric 256 pref medium
ff00::/8 dev wlan0 metric 256 pref medium
default via fe80::76d0:2bff:fed2:7b40 dev eth0 proto ra metric 204 mtu 1480 pref medium
linux networking wireless-networking router ipv6
linux networking wireless-networking router ipv6
edited Dec 24 '18 at 23:22
asked Dec 21 '18 at 0:16
PSyton
1063
1063
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386477%2frouting-ipv6-only-in-local-wlan-network-subnet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386477%2frouting-ipv6-only-in-local-wlan-network-subnet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown