Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2007 11:03:08 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        "Gabor Tjong A Hung" <g.v.tjongahung@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fwd: Samba NetBios
Message-ID:  <20070705110308.7096cbe9@localhost>
In-Reply-To: <822946050707041022p1e55f853n242dfba946f7bf7b@mail.gmail.com>
References:  <822946050707040018o1877737ia46252c8ae40fc9b@mail.gmail.com> <20070705005329.65be3130@localhost> <822946050707041022p1e55f853n242dfba946f7bf7b@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 4 Jul 2007 19:22:13 +0200
"Gabor Tjong A Hung" <g.v.tjongahung@gmail.com> wrote:

> Dear all,
> 
> I was told that my questions was better served here than in ports@
> 
> 
> > I've recently put my samba server in a jail, but as you can see @
> > http://www.faughnan.com/netbios.html NetBIOS is a bit of a problem and can
> > cause alot of headache. I was unable to find a nat helper for pf, so I was
> > wondering if I could bridge my jail with it's host. the bridge
> > manual<http://www.freebsd.org/cgi/man.cgi?query=bridge&sektion=4>however
> > requires me to have *two* network devices(or so it says), but my
> > jails are just aliases on the same network device.
> > Does anyone know another solution to make browsing possible? or have a
> clue
> > on how to make the solutions I tried work.
> >
> > >ifconfig
> > rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         options=8<VLAN_MTU>
> >         inet6 fe80::202:44ff:fe30:dd04%rl0 prefixlen 64 scopeid 0x1
> >         inet 172.20.25.177 netmask 0xfffffc00 broadcast 172.20.27.255
> >         inet 10.0.0.3 netmask 0xffffffff broadcast 10.0.0.3
> >         inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2
> >         inet 10.0.0.6 netmask 0xffffffff broadcast 10.0.0.6
> >         inet 10.0.0.4 netmask 0xffffffff broadcast 10.0.0.4
> >         inet 10.0.0.5 netmask 0xffffffff broadcast 10.0.0.5
> >         ether 00:02:44:30:dd:04
> >         media: Ethernet autoselect (100baseTX <full-duplex>)
> >         status: active

hi Gabor,
are you trying to share over SMB between the jails? 
between the hosts and the jails? 
you may want to explain your plans... using NAT for netbios seems a bit
overkill to me, unless you plan to send SMB packets over the larger
internet...which in itself seems a bad idea.

If you only need SMB across different LAN segments, setup WINS server(s) (MS or
from the Samba project).

B
_________________________
{Beto|Norberto|Numard} Meijome

"It is a lesson which all history teaches wise men, to put trust in ideas, and
not in circumstances." Emerson

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070705110308.7096cbe9>