Re: [Hampshire] Samba share on a wireless network

Top Page

Reply to this message
Author: Adam Cripps
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Samba share on a wireless network
On 8/9/07, Richard Brown <mynamewasgone@???> wrote:
> On 09/08/07, Adam Cripps <kabads@???> wrote:
> > It seems that by changing the mask to 255.255.0.0 the wireless router
> > (192.168.11.1) cannot see the ADSL router (192.168.1.1) and has lost
> > connectivity.
>
> You've given the wireless router two interfaces in the same network
> (now you've changed the netmask), which has no doubt confused it. You
> would probably be best to put your netmask back the way it was.
>
> You said in reply to Jacqui earlier that hosts in 192.168.11 were able
> to ping 192.168.1.7, but I think you posted the wrong netstat, i.e.
> from a host in 192.168.11.
>
> You might want to check, as unless you've made a change to your
> routing when 192.168.1.7 gets a packet from somewhere in 192.168.11 it
> will send it to 192.168.1.1 to forward it, and 192.168.1.1 won't know
> where to send it.
>
> Regards,
> --
> Richard Brown


I have now switched back to netmask of 255.255.255.0 - I had a strange
time where the wireless could access the net, but not 192.168.1.1 (the
ADSL router). I may try this incantation again later tomorrow, if it
seems to be the simplest solution.

This is a netstat -nr from Samba 192.168.1.7 -

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.11.0    192.168.1.3     255.255.255.0   UG        0 0          0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0


I can now ping 192.168.11.0 from samba, although I am not absolutely
certain what machine this is - is it more likely to be the wireless
router, which maps to 192.168.1.3? However, I still fail to ping from
samba to 192.168.11.4 (which is the laptop I am typing on now).

The gateway on the wireless is set to 192.168.11.1, which was the
default setting (i.e. I hadn't changed it). Should this be changed to
the ADSL router's 192.168.1.1?

Adam
--
http://www.monkeez.org
PGP key: 0x7111B833