186257.news.uni-berlin.de:
Good. You have solved the hostname to ip resolution problem between the
two networks.
But this doesn't answer the "browse" question. To have all boxes on the
"network neighbour" you must have a filled local browser on each network.
By default, on Windows and/or samba network there is an automatic local
browser election (a master an many backup) on each network (using
broadcast message).
You (only) need to synchronize theses browse list.
Look the O'Reilly Samba book
http://www.yqcomputer.com/ , at the chapter
named "Samba as the Domain Master Browser" and section "Multiple
subnets".
Summary solution 1 :
--------------------
Propagate the browscast browsing message from one network to the other.
On the samba server :
[global]
remote announce = 172.16.2.255/METRAN
172.16.2.255=your Windows network broadcast address
Note : this only work if broadcast message are allowed to pass throw all
firewall (out from net2, on from net1). Not sure, because many firewall
or default linux iptables/ipchains rules block this.
Summary solution 2 :
--------------------
If you can fix the master browser (see Samba doc) on the Windows network,
you can synchronize the samba browse list with the Windows master browser
:
[global]
remote browse sync = 172.16.2.130
172.16.2.130=your Windows master browser address
Summary solution 3 :
--------------------
Use a domain browser and a WINS server.
A master browser is a browser that centralize browse list accross many
networks.
On Windows a domain browser is a primary controller (you can't seaparate
the two notion), on Linux any samba server can become a domain browser :
[global]
domain master = yes
The domain browser is automatically registered in the WINS database, and
so can't run without any WINS server.
Set only one domain browser (a Windows or a Linux box).
Hope it may help.
Regards