From: Richard Brown <Rich.Brown@intermapper.com>
To: "<cerowrt-devel@lists.bufferbloat.net>"
<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] dnsmasq ipv6 stuff
Date: Fri, 25 Jan 2013 01:55:53 +0000 [thread overview]
Message-ID: <54532012A5393D4E8F57704A4D55237E42B0FC53@CH1PRD0510MB381.namprd05.prod.outlook.com> (raw)
In-Reply-To: <FC4C3393-3EA4-4130-915E-373FAA458A32@intermapper.com>
[Sorry - I realized an earlier request asked to see the auto-generated /var/etc/dnsmasq.conf file. It's appended ]
> I'm still confused about using CeroWrt 3.7.3-2 to give out v6 addresses to my laptop (it's not working). Here's what I see:
>
> - I'm using the HE.net 6in4 tunnel to get a /48 for my home. The router itself has a good v6 address, and can ping global v6 addresses.
>
> - ifconfig in the router shows that each of the five interfaces (se00, sw00, sw10, gw00, gw10) have addresses assigned from my /48 (see the network file below).
>
> - The only uncommented lines in the /etc/dnsmasq.conf file are a "enable-ra" and a set of dhc-range lines for each of the interfaces. (see below) The prefixes for each of the interfaces match the prefixes in the ifconfig command.
>
> - I have not modified /etc/config/dhcp, as it didn't seem to make any difference what I put there.
>
> Any thoughts? Thanks.
>
> Rich
>
> =====================================
> root@OpenWrt:/etc# cat /etc/config/network
>
> config interface 'loopback'
> option ifname 'lo'
> option proto 'static'
> option ipaddr '127.0.0.1'
> option netmask '255.0.0.0'
>
> config interface 'se00'
> option ifname 'se00'
> option proto 'static'
> option ipaddr '172.30.42.1'
> option netmask '255.255.255.224'
> option ip6assign '64'
>
> config interface 'ge00'
> option ifname 'ge00'
> option proto 'dhcp'
>
> config interface 'ge01'
> option ifname '@ge00'
> option proto 'dhcpv6'
> option broadcast '1'
> option metric '2048'
> option reqprefix '60'
>
> config interface 'sw00'
> option type 'none'
> option proto 'static'
> option ipaddr '172.30.42.65'
> option netmask '255.255.255.224'
> option ip6assign '64'
>
> config interface 'sw10'
> option type 'none'
> option proto 'static'
> option ipaddr '172.30.42.97'
> option netmask '255.255.255.224'
> option ip6assign '64'
>
> config switch
> option name 'rtl8366s'
> option reset '1'
> option enable_vlan '0'
> option blinkrate '2'
> option max_length '3'
>
> config switch_vlan
> option device 'rtl8366s'
> option vlan '1'
> option ports '0 1 2 3 5t'
>
> config switch_port
> option device 'rtl8366s'
> option port '1'
> option led '6'
>
> config switch_port
> option device 'rtl8366s'
> option port '2'
> option led '9'
>
> config switch_port
> option device 'rtl8366s'
> option port '5'
> option led '2'
>
> config interface 'gw00'
> option type 'none'
> option proto 'static'
> option ipaddr '172.30.42.129'
> option netmask '255.255.255.224'
> option ip6assign '64'
>
> config interface 'gw10'
> option type 'none'
> option proto 'static'
> option ipaddr '172.30.42.161'
> option netmask '255.255.255.224'
> option ip6assign '64'
>
> config interface 'gw01'
> option proto 'ahcp'
>
> config interface 'gw11'
> option proto 'ahcp'
>
> config interface 'henet'
> option proto '6in4'
> option mtu '1424'
> option ttl '64'
> option peeraddr '209.51.161.14'
> option ip6addr '2001:470:1f06:64::2/64'
> option ip6prefix '2001:470:8a63::/48'
> option tunneled 'xxxxxx'
> option username 'tbxxxxx'
> option password 'xxxxx
>
> ==================
> root@OpenWrt:/etc# cat /etc/dnsmasq.conf
> # Added 24Jan2013 -reb
> enable-ra
> dhcp-range=se00,2001:470:8a63:2::,ra-stateless,ra-names
> dhcp-range=sw00,2001:470:8a63:3::,ra-stateless,ra-names
> dhcp-range=sw10,2001:470:8a63:4::,ra-stateless,ra-names
> dhcp-range=gw00,2001:470:8a63:0::,ra-stateless,ra-names
> dhcp-range=gw10,2001:470:8a63:1::,ra-stateless,ra-names
>
==================
root@OpenWrt:/tmp/etc# cat /var/etc/dnsmasq.conf
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
bogus-priv
expand-hosts
dhcp-script=/etc/dnsmasq_net6.sh
cache-size=5000
port=53
domain=home.lan
server=/home.lan/
except-interface=ge00
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
address=/gw.home.lan/172.30.42.1
ptr-record=1.42.30.172.in-addr.arpa,gw.home.lan
address=/wpad.home.lan/172.30.42.1
ptr-record=1.42.30.172.in-addr.arpa,wpad.home.lan
dhcp-range=se00,172.30.42.2,172.30.42.27,255.255.255.224,24h
dhcp-option=se00,42,0.0.0.0
dhcp-option=se00,44,0.0.0.0
dhcp-option=se00,45,0.0.0.0
dhcp-option=se00,46,8
dhcp-range=sw00,172.30.42.66,172.30.42.91,255.255.255.224,24h
dhcp-option=sw00,42,0.0.0.0
dhcp-option=sw00,44,0.0.0.0
dhcp-option=sw00,45,0.0.0.0
dhcp-option=sw00,46,8
dhcp-range=sw10,172.30.42.98,172.30.42.123,255.255.255.224,24h
dhcp-option=sw10,42,0.0.0.0
dhcp-option=sw10,44,0.0.0.0
dhcp-option=sw10,45,0.0.0.0
dhcp-option=sw10,46,8
dhcp-range=gw00,172.30.42.130,172.30.42.155,255.255.255.224,24h
dhcp-option=gw00,42,0.0.0.0
dhcp-option=gw00,44,0.0.0.0
dhcp-option=gw00,45,0.0.0.0
dhcp-option=gw00,46,8
dhcp-range=gw10,172.30.42.162,172.30.42.187,255.255.255.224,24h
dhcp-option=gw10,42,0.0.0.0
dhcp-option=gw10,44,0.0.0.0
dhcp-option=gw10,45,0.0.0.0
dhcp-option=gw10,46,8
no-dhcp-interface=ge00
no-dhcp-interface=gw01
no-dhcp-interface=gw11
next prev parent reply other threads:[~2013-01-25 1:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5741.1358880757.1742.cerowrt-devel@lists.bufferbloat.net>
2013-01-25 1:47 ` Richard Brown
[not found] ` <FC4C3393-3EA4-4130-915E-373FAA458A32@intermapper.com>
2013-01-25 1:55 ` Richard Brown [this message]
2013-01-30 21:40 Simon Kelley
2013-01-30 23:44 ` Chris Lawrence
-- strict thread matches above, loose matches on Subject: below --
2013-01-22 6:40 Dave Taht
2013-01-22 18:52 ` Chris Lawrence
2013-01-22 22:19 ` Maciej Soltysiak
2013-01-22 23:12 ` Dave Taht
2013-01-23 0:14 ` Chris Lawrence
2013-01-23 7:24 ` Phil Pennock
2013-01-25 19:21 ` Török Edwin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54532012A5393D4E8F57704A4D55237E42B0FC53@CH1PRD0510MB381.namprd05.prod.outlook.com \
--to=rich.brown@intermapper.com \
--cc=cerowrt-devel@lists.bufferbloat.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox