[sf-lug] Connectivity problem

Rick Smith rick at rbsmith.com
Thu Jul 12 16:55:09 PDT 2012


In Linksys, you will need to add a static route for
10.0.11.0/24 to 172.24.16.100

In DreamPlug, you will need
     cat /proc/sys/net/ipv4/ip_forward
to output non-zero, which means traffic can be routed from one network 
to another inside the DreamPlug.  If it is zero, then:
     sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"

Also check its route table
     /sbin/route -n
And see that the default route (0.0.0.0) is to 172.24.16.254
If it is not:

     route add default gateway 172.24.16.254

Then from the laptop, ping 10.0.11.1 and 172.24.16.254 and then yahoo.com
Does that get you closer?

Rick Smith

On 07/12/2012 08:56 AM, Alex Kleider wrote:
>
> Here's a configuration problem I don't understand.
> The network is as follows:
> Internet comes in as a fixed IP on the external interface of a Linksys
> WRG54G(v6) router with settings all pretty much at defaults.
> Its internal interface has IP 172.24.16.254 serving a Class C
> 172.24.16.0/24 network.
> On that network is a DreamPlug with ethernet connected
> at fixed IP 172.24.16.100.
> This DreamPlug also has a WiFi interface which serves as a wifi Access Point
> with fixed IP 10.0.11.1 serving another Class C 10.0.11.0/24 network.
> When connected to that access point with my laptop as a client I get
> (by DHCP) IP 10.0.11.100 (as I should.)
>  From this laptop I get the correct response to the following commands:
> $ dig @127.0.0.1 linuxmafia.com +short
> $ dig @10.0.11.1 linuxmafia.com +short
> but
> $ dig @172.24.16.254 linuxmafia.com +short
> fails.
> $ ping yahoo.com
> provides me with yahoo's IP address but the ping does not go through and
> the lap top can not make use of the internet.
> I can't understand how this could be.
> Has anyone any suggestions as to what might be happening or how to trouble
> shoot further?
> (Thanks, by the way, to Rick Moen who taught us/me on this list some years
> ago how to use the dig command.)
>
>
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
> Information about SF-LUG is at http://www.sf-lug.org/
>






More information about the sf-lug mailing list