cisco catalyst 5500 1 vlan 2 networks and samba

David Collier-Brown davecb at Canada.Sun.COM
Thu Sep 3 12:20:32 GMT 1998


You wrote:
| We have a problem with Samba and the Cisco 5500. With Samba 
| installed on Sun Solaris we are NOT able to view the Sun machine using 
| network neighbourhood when connected through the switch. However if we 
| use a HUB inplace of the switch everything works fine.

|Machine  OS        hostname  IPaddress     netmask       Broadcast
|PC       windows95 win95     192.168.5.164 255.255.248.0 192.168.7.255
|SUN  Solaris 2.6   durango   192.168.4.101 255.255.248.0 192.168.7.255

	Looks like a netmask issue between the hub and switch.
	converting to binary, we get 

	255.255.248.0 is (in octal) 377.377.370.000 or
	11111111.11111111.11111000.00000000 (binary)

	Your PC address is (octal) 300.250.5.244 or
	11000000.10101000.00000101.10100100
	=======================------------
	network part            host part
	
	Your broadcast should then be
	11000000.10101000.00000111.11111111
	=======================------------
	network part            host part

	or 300.250.007.377 octal, or 192.168.7.255, which
	is what you said.  Therefor both machines are on net
	192.168.7, as intended... and clearly work (;-))

	Despite passing broadcasts, something may still be wrong
	with the switch.  Did you get arp replies???
	Try setting the switch to think you're 
	using a class B subnet mask, 255.255.0.0 and see if things 
	work that way.

	Also look at the switch documentation for ``helper'', ``vlan''
	or ``broadcast'' keywords, in hopes of finding a documented
	bug pretending to be a feature (:-))

--dave
-- 
David Collier-Brown,  | Cherish your enemies.  They're harder to
185 Ellerslie Ave.,   | come by than friends and more motivated.
Willowdale, Ontario   | davecb at canada.sun.com, hobbes.ss.org
N2M 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb


More information about the samba mailing list