Re: DHCP - DNS problem
[email protected] Wed, 26 Apr 2006 11:03:35 +0200
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]> 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: [email protected] >[mailto:[email protected]] > On Behalf Of [email protected] > Sent: Tuesday, 25 April 2006 5:00 AM > To: [email protected] > Subject: NoCat Digest, Vol 20, Issue 6 > > Send NoCat mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 ([email protected]) > 2. Re: DHCP - DNS problem (Carlos Ligero) > 3. Re: DHCP - DNS problem ([email protected]) > 4. Re: DHCP - DNS problem (amx109) > 5. Re: DHCP - DNS problem ([email protected]) > 6. Re: DHCP - DNS problem (Carlos Ligero) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 24 Apr 2006 11:32:51 +0200 >From: [email protected] > Subject: [NoCat] DHCP - DNS problem > To: [email protected] > Message-ID: <[email protected]> > 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 <[email protected]> > Subject: Re: [NoCat] DHCP - DNS problem > To: [email protected] > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; >format=flowed > > Hi, > > maybe the LocalNetwork option in your config ... > > regards, > > Carlos > > [email protected] 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 >> [email protected] >> http://lists.nocat.net/mailman/listinfo/nocat >> > > > > ------------------------------ > > Message: 3 > Date: Mon, 24 Apr 2006 15:49:57 +0200 >From: [email protected] > Subject: Re: [NoCat] DHCP - DNS problem > To: [email protected] > Message-ID: <[email protected]> > 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 <[email protected]> wrote: >> Hi, >> >> maybe the LocalNetwork option in your config ... >> >> regards, >> >> Carlos >> >> [email protected] 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 >>> [email protected] >>> http://lists.nocat.net/mailman/listinfo/nocat >>> > > > > > ------------------------------ > > Message: 4 > Date: Mon, 24 Apr 2006 15:39:05 +0100 >From: amx109 <[email protected]> > Subject: Re: [NoCat] DHCP - DNS problem > To: [email protected] > Cc: [email protected] > Message-ID: > <[email protected]> > 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, [email protected] <[email protected]> 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 <[email protected]> wrote: >> > Hi, >> > >> > maybe the LocalNetwork option in your config ... >> > >> > regards, >> > >> > Carlos >> > >> > [email protected] 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 >> >> [email protected] >> >> http://lists.nocat.net/mailman/listinfo/nocat >> >> >> >> >> _______________________________________________ >> NoCat mailing list >> [email protected] >> http://lists.nocat.net/mailman/listinfo/nocat >> > > > ------------------------------ > > Message: 5 > Date: Mon, 24 Apr 2006 16:48:19 +0200 >From: [email protected] > Subject: Re: [NoCat] DHCP - DNS problem > To: [email protected] > Message-ID: <[email protected]> > 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 <[email protected]> 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, [email protected] <[email protected]> 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 <[email protected]> wrote: >>> > Hi, >>> > >>> > maybe the LocalNetwork option in your config ... >>> > >>> > regards, >>> > >>> > Carlos >>> > >>> > [email protected] 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 >>> >> [email protected] >>> >> http://lists.nocat.net/mailman/listinfo/nocat >>> >> >>> >>> >>> _______________________________________________ >>> NoCat mailing list >>> [email protected] >>> http://lists.nocat.net/mailman/listinfo/nocat >>> > > > > > ------------------------------ > > Message: 6 > Date: Mon, 24 Apr 2006 20:09:01 +0200 >From: Carlos Ligero <[email protected]> > Subject: Re: [NoCat] DHCP - DNS problem > To: [email protected] > Cc: [email protected] > Message-ID: <[email protected]> > 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 > > [email protected] 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 <[email protected]> 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, [email protected] <[email protected]> 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 <[email protected]> wrote: >>>> >>>>>Hi, >>>>> >>>>>maybe the LocalNetwork option in your config ... >>>>> >>>>>regards, >>>>> >>>>>Carlos >>>>> >>>>>[email protected] 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 >>>>>>[email protected] >>>>>>http://lists.nocat.net/mailman/listinfo/nocat >>>>>> >>>> >>>> >>>>_______________________________________________ >>>>NoCat mailing list >>>>[email protected] >>>>http://lists.nocat.net/mailman/listinfo/nocat >>>> >> >> >> >> _______________________________________________ >> NoCat mailing list >> [email protected] >> http://lists.nocat.net/mailman/listinfo/nocat >> > > > > ------------------------------ > > _______________________________________________ > NoCat mailing list > [email protected] > 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 > >