[clug] Local Mail Howto

Daniel Rose drose at dtlm.homelinux.net
Sat May 8 21:43:07 MDT 2010


kg at newbox ~ $ ping 192.168.1.115
> PING 192.168.1.115 (192.168.1.115) 56(84) bytes of data.
> 64 bytes from 192.168.1.115: icmp_seq=1 ttl=64 time=20.6 ms
> From 10.0.0.138: icmp_seq=2 Redirect Host(New nexthop: 192.168.1.115)
> <=== ???
The ICMP redirect is telling you that the router thinks that it's not
the best gateway for you to reach 192.168.1.115.  I can't imagine why
this would be in this scenario.  It's weird but non-fatal.
> Yes I think 192.168.1.1 must be an alias for 10.0.0.138?
We have to be careful not to assume stuff.  There's not really such a
thing as an IP 'alias' in that sense; even if you have multiple IPs on
the same interface, they can still behave differently, different
routing, firewalls or listening services, for example.The wired network is
>
>    10.0.0.1   newbox DHCP fixed lease
>    10.0.0.2   network printer DHCP fixed lease
>    10.0.0.3   Voip ATA DHCP fixed lease
>    10.0.0.138   home network gateway
>    10.0.0.139   very old laptop via usb to ethenet adaptor DHCP
>
> the wireless network is
>
>    192.168.1.1  alias for 10.0.0.138 I think???
>    192.168.1.115 camera
Okay, so the Telstra box is running seperate subnets for wired and
wireless.  That's atypical, usually these things just bridge the all the
local interfaces.  If it were me I'd be looking for a setting in the web
interface to ensure that these are bridged.  Can you confirm that the
Telstra gateway acts as a DHCP server on both interfaces, or are you
running one?  Can you find anything in the web interface that looks like
it might let you control the routing, bridging or firewalling between
the two segments?  You might be able to get help from Telstra for this
sort of thing as well, since it's their box.

Failing this, you need to pretend to be the camera.  Get a wifi device;
a laptop or eeepc or something.  Get on the wifi with that and see if
you have dns and can telnet to the mail host on port 25.

If you don't want to or can't get another node on the wifi LAN, then you
can either get another wifi router, disable the DHCP server in that,
shut off the wifi on your telstra gateway and connect any NON-Internet
port on the new wifi box to a 10.0.0 port on the telstra box.  Then
you'll find your camera will be picking up a 10.0.0.x address, which
might make things easier but does not guarantee instant success.

You could also try configuring the camera to send to a "real" Internet
address, instead of the local mail host addresses you mentioned
earlier.  These last two are workarounds though and don't really give
you the solution you were originally after.

Good Luck!






More information about the linux mailing list