[Samba] Testing subnets with samba[Scanned]
Felipe Augusto van de Wiel
felipe at paranacidade.org.br
Thu Jan 18 15:14:11 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/18/2007 06:11 AM, David Greenhall escreveu:
> From: Felipe Augusto van de Wiel [mailto:felipe at paranacidade.org.br]
>> On 01/16/2007 12:52 PM, David Greenhall escreveu:
[...]
>>> bind interfaces only = yes
>>> hosts allow = 10.10.10.0/24
>>> hosts deny = 0.0.0.0/0
>>
>> Ok, so you had a rule for networks you accept and what
>> ports you bind to. Here is where we need to figure out the
>> whole picture.
>>
>> Looking closely you said in your first message that you
>> did the following setup:
>>
>> >>>IP address: 10.10.10.32
>> >>>Netmask: 255.255.255.224
>> >>>Broadcast: 10.10.10.63
>>
>>
>> If that's right we have a small problem, not Samba related
>> but network related. Using .224 as a mask, creates networks
>> with 32 IP number, but you lost the first (net address) and
>> the last one (broadcast address), which means that you should
>> not use .32 as an IP address.
>> 1st 2nd
>> net-address 10.10.10.0 10.10.10.32
>> address space 10.10.10.[1-30] 10.10.10.[33-62]
>> broadcast 10.10.10.31 10.10.10.63
>>
>> Considering that you are using a /24 to allow conections
>> and you had the right interfaces to bind to, I should say that
>> changing the IP address would solve the problem. (At least, I
>> hope so). :-)
>
> Ahh... That is something I didn't know. So in theory, if I
> changed the server to:
> IP Address: 10.10.10.33
> Subnet: 255.255.255.224
> Broadcast: 10.10.10.63
>
> Then providing my workstation had an IP address within the range
> of 34-62 with the same subnet, it should connect me?
Supposing that everything else is properly configured,
yes, it should magically works. ;)
> Thanks
> Dave.
Kind regards,
- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFFr44mCj65ZxU4gPQRApUmAJ9nkkq1/DAAcvpCiWzJB7TvG1hfhgCgoTLX
nSWz8YvUmyFv2Xl/VOjj2EI=
=81B1
-----END PGP SIGNATURE-----
More information about the samba
mailing list