[NoCat] DHCP - DNS problem

kyleena at tele2.it kyleena at tele2.it
Wed Apr 26 02:03:35 PDT 2006


I tried to change the IP of my DNS server in gateway's one 
(both in /etc/dhcpd.conf and in nocat.conf) but it 
continues to not work. I think it's obvious because I 
don't have a DNS server. I don't know anything about 
Iptables rules, they are configured by NoCat gateway and I 
didn't change them. But I don't understand why they work 
when I set a static IP in client (with the same address, 
the same default gateway, and the same DNS server 
address).




On Tue, 25 Apr 2006 12:05:22 +1000
  "Peter Katsoulotos" <peterk at hgc.com.au> wrote:
> Hi Monica,
> 
> I think it is to do with your dns settings, set them the 
>same as your
> gateway
> 
> Ie   option domain-name-servers 62.146.194.62, 
> 62.146.194.63; change to
> 
>   option domain-name-servers 10.0.0.1;
> 
> that simple!!
> 
> Regards Peter.
> 
> -----Original Message-----
>From: nocat-bounces at lists.nocat.net 
>[mailto:nocat-bounces at lists.nocat.net]
> On Behalf Of nocat-request at lists.nocat.net
> Sent: Tuesday, 25 April 2006 5:00 AM
> To: nocat at lists.nocat.net
> Subject: NoCat Digest, Vol 20, Issue 6
> 
> Send NoCat mailing list submissions to
> 	nocat at lists.nocat.net
> 
> To subscribe or unsubscribe via the World Wide Web, 
>visit
> 	http://lists.nocat.net/mailman/listinfo/nocat
> or, via email, send a message with subject or body 
>'help' to
> 	nocat-request at lists.nocat.net
> 
> You can reach the person managing the list at
> 	nocat-owner at lists.nocat.net
> 
> When replying, please edit your Subject line so it is 
>more specific
> than "Re: Contents of NoCat digest..."
> 
> 
> Today's Topics:
> 
>   1. DHCP - DNS problem (kyleena at tele2.it)
>   2. Re: DHCP - DNS problem (Carlos Ligero)
>   3. Re: DHCP - DNS problem (kyleena at tele2.it)
>   4. Re: DHCP - DNS problem (amx109)
>   5. Re: DHCP - DNS problem (kyleena at tele2.it)
>   6. Re: DHCP - DNS problem (Carlos Ligero)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 24 Apr 2006 11:32:51 +0200
>From: kyleena at tele2.it
> Subject: [NoCat] DHCP - DNS problem
> To: nocat at lists.nocat.net
> Message-ID: <web-8161157 at mailbe04.swip.net>
> Content-Type: text/plain; charset="ISO-8859-1"; 
>format="flowed"
> 
> Hi all,
> I have a problem with DHCP settings. My gateway worked 
> fine with static IP in client. Now I have configured a 
> DHCP server on gateway; it seems work normally, the 
>client 
> can obtain an IP address, the right IP of default 
>gateway 
> and the right DNS addresses. But it can't go on login 
> page. Instead, if I write http://<gateway-address>:5280 
>on 
> client's browser, it works.
> Any idea?
> Thanks
> Monica
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 24 Apr 2006 13:17:42 +0200
>From: Carlos Ligero <carlos.ligero at gmail.com>
> Subject: Re: [NoCat] DHCP - DNS problem
> To: kyleena at tele2.it
> Cc: nocat at lists.nocat.net
> Message-ID: <444CB3D6.5010900 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; 
>format=flowed
> 
> Hi,
> 
> maybe the LocalNetwork option in your config ...
> 
> regards,
> 
> Carlos
> 
> kyleena at tele2.it wrote:
>> Hi all,
>> I have a problem with DHCP settings. My gateway worked 
>> fine with static IP in client. Now I have configured a 
>> DHCP server on gateway; it seems work normally, the 
>>client 
>> can obtain an IP address, the right IP of default 
>>gateway 
>> and the right DNS addresses. But it can't go on login 
>> page. Instead, if I write http://<gateway-address>:5280 
>>on 
>> client's browser, it works.
>> Any idea?
>> Thanks
>> Monica
>> 
>> _______________________________________________
>> NoCat mailing list
>> NoCat at lists.nocat.net
>> http://lists.nocat.net/mailman/listinfo/nocat
>> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 24 Apr 2006 15:49:57 +0200
>From: kyleena at tele2.it
> Subject: Re: [NoCat] DHCP - DNS problem
> To: nocat at lists.nocat.net
> Message-ID: <web-14029298 at mailbe01.swip.net>
> Content-Type: text/plain; charset="ISO-8859-1"; 
>format="flowed"
> 
> Negative. My LocalNetwork in nocat.conf is 10.0.0.0/24. 
> Here is my dhcpd.conf:
> 
> ddns-update-style none;
> subnet 10.0.0.0 netmask 255.255.255.0 {
>   range dynamic-bootp 10.0.0.1 10.0.0.254;
>   option domain-name-servers 62.146.194.62, 
> 62.146.194.63;
>   option subnet-mask 255.255.255.0;
>   option domain-name "awanet.it";
>   option routers 10.0.0.1;
>   option broadcast-address 10.0.0.255;
>   default-lease-time 21600;
>   max-lease-time 43200;
> }
> 
> Is there something wrong?
> 
> Monica
> 
> 
> On Mon, 24 Apr 2006 13:17:42 +0200
>  Carlos Ligero <carlos.ligero at gmail.com> wrote:
>> Hi,
>> 
>> maybe the LocalNetwork option in your config ...
>> 
>> regards,
>> 
>> Carlos
>> 
>> kyleena at tele2.it wrote:
>>> Hi all,
>>> I have a problem with DHCP settings. My gateway worked 
>>> fine with static IP in client. Now I have configured a 
>>> DHCP server on gateway; it seems work normally, the 
>>>client 
>>> can obtain an IP address, the right IP of default 
>>>gateway 
>>> and the right DNS addresses. But it can't go on login 
>>> page. Instead, if I write http://<gateway-address>:5280 
>>>on 
>>> client's browser, it works.
>>> Any idea?
>>> Thanks
>>> Monica
>>> 
>>> _______________________________________________
>>> NoCat mailing list
>>> NoCat at lists.nocat.net
>>> http://lists.nocat.net/mailman/listinfo/nocat
>>> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 24 Apr 2006 15:39:05 +0100
>From: amx109 <amx109 at gmail.com>
> Subject: Re: [NoCat] DHCP - DNS problem
> To: kyleena at tele2.it
> Cc: nocat at lists.nocat.net
> Message-ID:
> 	<932d8d1f0604240739y62625f5dv2cbf44b3c7e2d941 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> from "option routers 10.0.0.1", is 10.0.0.1 your 
>nocatauth box, or is it
> another gateway that leads on to another 
>network/gateway?
> 
> what is the IP of your nocatauth gateway?
> 
> On 4/24/06, kyleena at tele2.it <kyleena at tele2.it> wrote:
>>
>> Negative. My LocalNetwork in nocat.conf is 10.0.0.0/24.
>> Here is my dhcpd.conf:
>>
>> ddns-update-style none;
>> subnet 10.0.0.0 netmask 255.255.255.0 {
>>    range dynamic-bootp 10.0.0.1 10.0.0.254;
>>    option domain-name-servers 62.146.194.62,
>> 62.146.194.63;
>>    option subnet-mask 255.255.255.0;
>>    option domain-name "awanet.it";
>>    option routers 10.0.0.1;
>>    option broadcast-address 10.0.0.255;
>>    default-lease-time 21600;
>>    max-lease-time 43200;
>> }
>>
>> Is there something wrong?
>>
>> Monica
>>
>>
>> On Mon, 24 Apr 2006 13:17:42 +0200
>>   Carlos Ligero <carlos.ligero at gmail.com> wrote:
>> > Hi,
>> >
>> > maybe the LocalNetwork option in your config ...
>> >
>> > regards,
>> >
>> > Carlos
>> >
>> > kyleena at tele2.it wrote:
>> >> Hi all,
>> >> I have a problem with DHCP settings. My gateway 
>>worked
>> >> fine with static IP in client. Now I have configured 
>>a
>> >> DHCP server on gateway; it seems work normally, the
>> >>client
>> >> can obtain an IP address, the right IP of default
>> >>gateway
>> >> and the right DNS addresses. But it can't go on login
>> >> page. Instead, if I write 
>>http://<gateway-address>:5280
>> >>on
>> >> client's browser, it works.
>> >> Any idea?
>> >> Thanks
>> >> Monica
>> >>
>> >> _______________________________________________
>> >> NoCat mailing list
>> >> NoCat at lists.nocat.net
>> >> http://lists.nocat.net/mailman/listinfo/nocat
>> >>
>>
>>
>> _______________________________________________
>> NoCat mailing list
>> NoCat at lists.nocat.net
>> http://lists.nocat.net/mailman/listinfo/nocat
>>
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 24 Apr 2006 16:48:19 +0200
>From: kyleena at tele2.it
> Subject: Re: [NoCat] DHCP - DNS problem
> To: nocat at lists.nocat.net
> Message-ID: <web-10619874 at mailbe02.swip.net>
> Content-Type: text/plain; charset="ISO-8859-1"; 
>format="flowed"
> 
> 10.0.0.1 is the IP address of the internal interface of 
>my 
> gateway box
> 
> 
> On Mon, 24 Apr 2006 15:39:05 +0100
>  amx109 <amx109 at gmail.com> wrote:
>> from "option routers 10.0.0.1", is 10.0.0.1 your 
>>nocatauth box, or is it
>> another gateway that leads on to another 
>>network/gateway?
>> 
>> what is the IP of your nocatauth gateway?
>> 
>> On 4/24/06, kyleena at tele2.it <kyleena at tele2.it> wrote:
>>>
>>> Negative. My LocalNetwork in nocat.conf is 10.0.0.0/24.
>>> Here is my dhcpd.conf:
>>>
>>> ddns-update-style none;
>>> subnet 10.0.0.0 netmask 255.255.255.0 {
>>>    range dynamic-bootp 10.0.0.1 10.0.0.254;
>>>    option domain-name-servers 62.146.194.62,
>>> 62.146.194.63;
>>>    option subnet-mask 255.255.255.0;
>>>    option domain-name "awanet.it";
>>>    option routers 10.0.0.1;
>>>    option broadcast-address 10.0.0.255;
>>>    default-lease-time 21600;
>>>    max-lease-time 43200;
>>> }
>>>
>>> Is there something wrong?
>>>
>>> Monica
>>>
>>>
>>> On Mon, 24 Apr 2006 13:17:42 +0200
>>>   Carlos Ligero <carlos.ligero at gmail.com> wrote:
>>> > Hi,
>>> >
>>> > maybe the LocalNetwork option in your config ...
>>> >
>>> > regards,
>>> >
>>> > Carlos
>>> >
>>> > kyleena at tele2.it wrote:
>>> >> Hi all,
>>> >> I have a problem with DHCP settings. My gateway 
>>>worked
>>> >> fine with static IP in client. Now I have configured 
>>>a
>>> >> DHCP server on gateway; it seems work normally, the
>>> >>client
>>> >> can obtain an IP address, the right IP of default
>>> >>gateway
>>> >> and the right DNS addresses. But it can't go on login
>>> >> page. Instead, if I write 
>>>http://<gateway-address>:5280
>>> >>on
>>> >> client's browser, it works.
>>> >> Any idea?
>>> >> Thanks
>>> >> Monica
>>> >>
>>> >> _______________________________________________
>>> >> NoCat mailing list
>>> >> NoCat at lists.nocat.net
>>> >> http://lists.nocat.net/mailman/listinfo/nocat
>>> >>
>>>
>>>
>>> _______________________________________________
>>> NoCat mailing list
>>> NoCat at lists.nocat.net
>>> http://lists.nocat.net/mailman/listinfo/nocat
>>>
> 
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 24 Apr 2006 20:09:01 +0200
>From: Carlos Ligero <carlos.ligero at gmail.com>
> Subject: Re: [NoCat] DHCP - DNS problem
> To: kyleena at tele2.it
> Cc: nocat at lists.nocat.net
> Message-ID: <444D143D.2010407 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; 
>format=flowed
> 
> Hi again,
> 
> To see if it's a DHCP/DNS problem you should test your 
>client 
> connectivity first (host,ping..) ;)
> 
> However, it seems a redirection issue to me, nothing to 
>do with 
> DHCP/DNS: the gateway proccess works (listens on 5280) 
>but the system 
> doesn't capture you (doesn't convert an external url to 
> <gateway-address>:5280) so check your iptables rules.
> 
> Hope this helps,
> 
> Carlos
> 
> kyleena at tele2.it wrote:
>> 10.0.0.1 is the IP address of the internal interface of 
>>my 
>> gateway box
>> 
>> 
>> On Mon, 24 Apr 2006 15:39:05 +0100
>>   amx109 <amx109 at gmail.com> wrote:
>> 
>>>from "option routers 10.0.0.1", is 10.0.0.1 your 
>>>nocatauth box, or is it
>>>another gateway that leads on to another 
>>>network/gateway?
>>>
>>>what is the IP of your nocatauth gateway?
>>>
>>>On 4/24/06, kyleena at tele2.it <kyleena at tele2.it> wrote:
>>>
>>>>Negative. My LocalNetwork in nocat.conf is 10.0.0.0/24.
>>>>Here is my dhcpd.conf:
>>>>
>>>>ddns-update-style none;
>>>>subnet 10.0.0.0 netmask 255.255.255.0 {
>>>>   range dynamic-bootp 10.0.0.1 10.0.0.254;
>>>>   option domain-name-servers 62.146.194.62,
>>>>62.146.194.63;
>>>>   option subnet-mask 255.255.255.0;
>>>>   option domain-name "awanet.it";
>>>>   option routers 10.0.0.1;
>>>>   option broadcast-address 10.0.0.255;
>>>>   default-lease-time 21600;
>>>>   max-lease-time 43200;
>>>>}
>>>>
>>>>Is there something wrong?
>>>>
>>>>Monica
>>>>
>>>>
>>>>On Mon, 24 Apr 2006 13:17:42 +0200
>>>>  Carlos Ligero <carlos.ligero at gmail.com> wrote:
>>>>
>>>>>Hi,
>>>>>
>>>>>maybe the LocalNetwork option in your config ...
>>>>>
>>>>>regards,
>>>>>
>>>>>Carlos
>>>>>
>>>>>kyleena at tele2.it wrote:
>>>>>
>>>>>>Hi all,
>>>>>>I have a problem with DHCP settings. My gateway 
>>>>
>>>>worked
>>>>
>>>>>>fine with static IP in client. Now I have configured 
>>>>
>>>>a
>>>>
>>>>>>DHCP server on gateway; it seems work normally, the
>>>>>>client
>>>>>>can obtain an IP address, the right IP of default
>>>>>>gateway
>>>>>>and the right DNS addresses. But it can't go on login
>>>>>>page. Instead, if I write 
>>>>
>>>>http://<gateway-address>:5280
>>>>
>>>>>>on
>>>>>>client's browser, it works.
>>>>>>Any idea?
>>>>>>Thanks
>>>>>>Monica
>>>>>>
>>>>>>_______________________________________________
>>>>>>NoCat mailing list
>>>>>>NoCat at lists.nocat.net
>>>>>>http://lists.nocat.net/mailman/listinfo/nocat
>>>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>NoCat mailing list
>>>>NoCat at lists.nocat.net
>>>>http://lists.nocat.net/mailman/listinfo/nocat
>>>>
>> 
>> 
>> 
>> _______________________________________________
>> NoCat mailing list
>> NoCat at lists.nocat.net
>> http://lists.nocat.net/mailman/listinfo/nocat
>> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
> 
> 
> End of NoCat Digest, Vol 20, Issue 6
> ************************************
> -- 
> Message protected by MailGuard: e-mail anti-virus, 
>anti-spam and content
> filtering.
> http://www.mailguard.com.au/mg
> 
> 




More information about the NoCat mailing list