Wide-dhcp6-server installation
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Wide-dhcp6-server installation
The only relevant information there seems to be in #3 - complaints about syntax errors in your configuration. Try to use something closer to the [url=http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-dhcp_for_ipv6_dhcpv6.html]upstream example[/url] which for one thing has no semicolon after the closing brace.
Re: Wide-dhcp6-server installation
[quote]
Aug 6 10:15:53 ip6 dhcpd: /etc/dhcp/dhcpd6.conf line 7: unknown option dhcp.domain-name-server
[/quote]
For a start, it's domain-name-server[b]s[/b] not domain-name-server and in any case I think that option is for IPv4 networks not ipv6. [b]Phi[/b]l's pointer to the upstream example looks good.
If you need to post the error messages again, please edit them and restrict them only to those that look like they may be relevant to the problem = probably `grep dhcpd /var/log/messages-yyymmdd` would be more useful!
Thanks.
Aug 6 10:15:53 ip6 dhcpd: /etc/dhcp/dhcpd6.conf line 7: unknown option dhcp.domain-name-server
[/quote]
For a start, it's domain-name-server[b]s[/b] not domain-name-server and in any case I think that option is for IPv4 networks not ipv6. [b]Phi[/b]l's pointer to the upstream example looks good.
If you need to post the error messages again, please edit them and restrict them only to those that look like they may be relevant to the problem = probably `grep dhcpd /var/log/messages-yyymmdd` would be more useful!
Thanks.
Re: Wide-dhcp6-server installation
i remove semicolon after closing brace and still failed!
[quote]
Try to use something closer to the upstream example which for one thing has no semicolon after the closing brace.
[/quote]
can u explain the configuration which is in the upstream example?
[quote]
Try to use something closer to the upstream example which for one thing has no semicolon after the closing brace.
[/quote]
can u explain the configuration which is in the upstream example?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Wide-dhcp6-server installation
Not sure how to answer that. I'm not going to write a [url=http://www.google.com/search?q=~tutorial+OR+~howto+DHCP+IPv6&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&safe=active]tutorial on DHCP[/url] - there are plenty out there in google-land already. It seems pretty obvious to me, so please ask specific questions about what you [b]don't[/b] understand after checking out some of that material.
Re: Wide-dhcp6-server installation
hi, i tried to configure somethin' similar to the upstream
[code]
subnet6 2001:470:36:270::/64 {
range6 2001:470:36:270::129 2001:470:36:270::254;
option dhcp6.name-servers 2001:470:35:270::2;
option dhcp6.domain-search "fstuinjkt.net";
} [/code]
but it still failed!
here are my network details:
[code]
eth0 Link encap:Ethernet HWaddr 00:26:18:EE:C6:4F
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:28 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:24:01:D2:2B:D1
inet addr:202.47.88.67 Bcast:202.47.88.79 Mask:255.255.255.240
inet6 addr: fe80::224:1ff:fed2:2bd1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:324929 errors:0 dropped:0 overruns:0 frame:0
TX packets:110678 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:103311886 (98.5 MiB) TX bytes:14509823 (13.8 MiB)
Interrupt:20 Base address:0x8c00
he-ipv6 Link encap:IPv6-in-IPv4
inet6 addr: 2001:470:35:270::2/64 Scope:Global
inet6 addr: fe80::ca2f:584c/128 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:1410 dropped:0 overruns:0 carrier:1410
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1593 errors:0 dropped:0 overruns:0 frame:0
TX packets:1593 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:224484 (219.2 KiB) TX bytes:224484 (219.2 KiB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::202.47.88.67/96 Scope:Compat
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit1 Link encap:IPv6-in-IPv4
inet6 addr: fe80::ca2f:5843/64 Scope:Link
inet6 addr: 2001:470:35:270::2/64 Scope:Global
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:95 errors:0 dropped:0 overruns:0 frame:0
TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18058 (17.6 KiB) TX bytes:125924 (122.9 KiB)
[/code]
[Moderator edit: Changed [i]quote[/i] to [i]code[/i] tags to preserve formatting.]
any idea? Thanks
[code]
subnet6 2001:470:36:270::/64 {
range6 2001:470:36:270::129 2001:470:36:270::254;
option dhcp6.name-servers 2001:470:35:270::2;
option dhcp6.domain-search "fstuinjkt.net";
} [/code]
but it still failed!
here are my network details:
[code]
eth0 Link encap:Ethernet HWaddr 00:26:18:EE:C6:4F
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:28 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:24:01:D2:2B:D1
inet addr:202.47.88.67 Bcast:202.47.88.79 Mask:255.255.255.240
inet6 addr: fe80::224:1ff:fed2:2bd1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:324929 errors:0 dropped:0 overruns:0 frame:0
TX packets:110678 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:103311886 (98.5 MiB) TX bytes:14509823 (13.8 MiB)
Interrupt:20 Base address:0x8c00
he-ipv6 Link encap:IPv6-in-IPv4
inet6 addr: 2001:470:35:270::2/64 Scope:Global
inet6 addr: fe80::ca2f:584c/128 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:1410 dropped:0 overruns:0 carrier:1410
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1593 errors:0 dropped:0 overruns:0 frame:0
TX packets:1593 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:224484 (219.2 KiB) TX bytes:224484 (219.2 KiB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::202.47.88.67/96 Scope:Compat
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit1 Link encap:IPv6-in-IPv4
inet6 addr: fe80::ca2f:5843/64 Scope:Link
inet6 addr: 2001:470:35:270::2/64 Scope:Global
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:95 errors:0 dropped:0 overruns:0 frame:0
TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18058 (17.6 KiB) TX bytes:125924 (122.9 KiB)
[/code]
[Moderator edit: Changed [i]quote[/i] to [i]code[/i] tags to preserve formatting.]
any idea? Thanks
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Wide-dhcp6-server installation
[quote]
badboy wrote:
hi, i tried to configure somethin' similar to the upstream
...
but it still failed!
...[/quote]
And what were the symptoms, errors, and/or log entries from the failure? I don't see any of your subnets that seem to match the DHCP server configuration 2001:470:36:... but that may just be my ignorance with respect to IPv6.
badboy wrote:
hi, i tried to configure somethin' similar to the upstream
...
but it still failed!
...[/quote]
And what were the symptoms, errors, and/or log entries from the failure? I don't see any of your subnets that seem to match the DHCP server configuration 2001:470:36:... but that may just be my ignorance with respect to IPv6.