[TriLUG] apache access_log

Paul McLanahan pmclanahan at gmail.com
Thu Jan 17 22:03:18 EST 2008


My suspicion is that the "modem" they gave you is a "modem/router", which is
giving your router a NATed IP via DHCP, which your router is in turn NATing.
This could cause apache to think that all requests are coming from the
internal IP of the cable modem's router interface. Most of those kinds of
devices have a web-based admin tool. If you can get the password for it then
you can usually turn off that device's router functions, and use your router
to do the NATing. I've seen this mostly in DSL modems, but according to what
I can find on Google about that series of cable modems, some do have built
in routers.

HTH,

Paul

On Jan 12, 2008 10:40 AM, James c. Jones <jonesjc at intrex.net> wrote:

> Good Morning,
>
> I recently added a time warner business class internet connection.
>
> I set up a router to their cable modem and hooked my webserver into it.
> Everything seems to be working okay, except ....
>
> In my httpd access_log, the only ip address that shows is mine? In my
> past setup, the requesting ip address was shown.
>
> Since the httpd config file has not changed as far as logging is
> concerned, I suspect that it is a pass through configuration either in
> my router or in the time warner prestige 900 modem.
>
> My router is an smc barricade router.
>
>
> If anyone is familiar with the problem, I would appreciate their
> comments and help.
>
> jcj
>



More information about the TriLUG mailing list