Am 17.06.2009, 15:54 Uhr, schrieb Philippe Faure <phili...@faure.ca>:

Hello Jack,

I have worked with Dlink routers.  I have found that the LAN IP
Address range need to be include the router's IP address.

Philippe

Philippe,

may I kindly utter two requests:

Please *DO NOT* reply to digest messages, as that breaks the subject, references, and threading.

Please *DO* either use a software that can split digests up, or one that can reply to individual messages in a digest batch.

Thank you.



Simon,

can you prohibit digest subscriptions and put all subscribers (or at least offenders that replied to digests) on individual message delivery?

Thanks.

Best regards
Matthias





Message: 1
Date: Wed, 17 Jun 2009 06:04:32 +0000
From: jack seth <bird_...@hotmail.com>
Subject: [Dnsmasq-discuss] Need help accessing my modem through my
        router
To: <dnsmasq-discuss@lists.thekelleys.org.uk>
Message-ID: <snt107-w1316d3eb7d794386645d06bf...@phx.gbl>
Content-Type: text/plain; charset="windows-1252"


Ok, I have a linksys router running dd-wrt firmware which is running
dnsmasq.  My lan is on the 192.168.1.0/24 subnet.  I would like to
be able to access my dsl modem through the router by its ip address
and its hostname.  Of course the modem is connected to the WAN side
of the router, so I added a ip address in the same subnet as the
modems address (which is 192.168.2.254) to my router's wan port
(which is vlan2) with this command

ifconfig vlan2 192.168.2.222 netmask 255.255.255.0

I also added this iptables rule to get traffic back

iptables -I POSTROUTING -t nat -o vlan2 -d 192.168.2.0/24 -j MASQUERADE

Here is the strange stuff that is happening.  If I try to access the
modem by ip address (192.168.2.254) it seems the modem redirects the
browser to 'launchmodem.com' (which is one of the ways you can reach
the modem by name) before the homepage will appear.  Well this
fails.  I figured modifying my 'hosts' file on my notebook (running
Vista Ultimate) would solve the problem and it did.  So I thought
instead of modifying my hosts file in Vista I would modify the hosts
file on the router then any computer on the lan would be able to
reach the modem.  I did that but it seems that Vista isn't using the
host info from the router.  So I tried adding these commands to
dnsmasq

address=/launchmodem/192.168.2.254
address=/launchmodem.com/192.168.2.254
address=/www.launchmodem.com/192.168.2.254

When I do this I can ping the modem FROM THE ROUTER all three ways
i.e 'launchmodem', 'launchmodem.com', and 'www.launchmodem.com'  I
can also ping the modem from the router all three ways with these
added to the router's hosts file.  However, from my notebook I can
only ping 'launchmodem.com', and 'www.launchmodem.com' but NOT
'launchmodem' (host not found).  Another oddity, I can only reach
the modem in my browser with 'launchmodem.com' not with
'www.launchmodem.com' even though I can ping 'www.launchmodem.com'.

Can anyone advise me on what is going on here and how to troubleshoot/fix?

Thanks!

_________________________________________________________________
Bing?  brings you maps, menus, and reviews organized in one place.
Try it now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20090617/726cd463/attachment.html

------------------------------

Message: 2
Date: Wed, 17 Jun 2009 08:25:40 +0200
From: Rune Kock <rune.k...@gmail.com>
Subject: [Dnsmasq-discuss] Fwd: Need help accessing my modem through
        my      router
To: dnsmasq discussion list <dnsmasq-discuss@lists.thekelleys.org.uk>
Message-ID:
        <fa8654f10906162325i582e5e5bn86e1cc220b5a7...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

---------- Forwarded message ----------
From: Rune Kock <rune.k...@gmail.com>
Date: Wed, Jun 17, 2009 at 08:25
Subject: Re: [Dnsmasq-discuss] Need help accessing my modem through my router
To: jack seth <bird_...@hotmail.com>


On Wed, Jun 17, 2009 at 08:04, jack seth<bird_...@hotmail.com> wrote:
However, from my notebook I can only ping 'launchmodem.com',
and 'www.launchmodem.com' but NOT 'launchmodem' (host not found).

I think that the Windows ping command does not always use DNS to find
the host. ?Sometimes it uses netbios methods, which usually means
trying a broadcast and see whether anything responds. ?Maybe pinging
launchmodem. with a final dot will change it? ?Or you could try
nslookup, though that has its own set of problems. ?Best would be to
test with a Linux-system instead.

Another
oddity, I can only reach the modem in my browser with 'launchmodem.com' not with 'www.launchmodem.com' even though I can ping 'www.launchmodem.com'.

Sounds to me like the modem is rejecting that domain when it gets the
http request.

Can anyone advise me on what is going on here and how to troubleshoot/fix?

If in doubt, run wireshark.



--
 (\_/)  This is Bunny. Copy and paste Bunny
(='.'=) into your signature to help him gain
(")_(") world domination.



------------------------------

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


End of Dnsmasq-discuss Digest, Vol 49, Issue 9
**********************************************





_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss



--
Matthias Andree

Reply via email to