You are looking for the global option "interfaces"

interfaces = 192.168.0.1/24

Where the IP of eth1 is 192.168.0.1 with a subnet mask of 255.255.255.0
(class C).

j



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Cathey
> Sent: Monday, April 10, 2000 12:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Samba
>
>
> Just a quick question.  I could and will check the samba docs, but I
> thought someone on this list might be able to give me some quick
> info/pointers too.  In this gentleman's situation, were he to setup
> samba (which I realize he doesn't need to), how would he configure samba
> to only answer requests on eth1?  Does samba support this or would you
> have to use tcp wrappers or something?
>
> Thanks,
>
> Mike
>
>
> "Mikkel L. Ellertson" wrote:
> >
> > At 11:01 AM 4/4/00 -0400, you wrote:
> > >Morning Everyone:
> > >
> > >I'm running Red Hat 6.2 with Samba.  My Linux box has 2
> Ethernet cards in
> > >it, eth0 going to my cable modem provider and getting its IP
> Address via
> > >DHCP, and eth1 statically assigned 192.168.1.1.  I have a Windows 2000
> > >machine, installed on a NTFS partiton type on another machine.  This
> > >machine has an IP Address of 192.168.1.2.  From the Windows
> 2000 machine,
> > >I can go to Network Neighborhood, and see my home directory on
> the Linux
> > >box.  Networking appears to be working correctly.
> > >
> > >What I would like to do is the reverse, if possible.  If I leave the
> > >Windows 2000 machine on, and I telnet into the Linux box from a remote
> > >location, is it possible to see what's on the Windows machine?
>  If so, is
> > >this something that can/should be set up through Samba, or is there a
> > >different approach to take?
> > >
> > >- Mike
> > >
> > smbclient will do most of what you want.  You can also mount
> Windows shares
> > on your Linux box using smbfs and the smbmount command.  You do
> not need to
> > have Samba running on the Linux machine to use smbclient, or to
> mount Windows
> > shares.
> >
> > Mikkel
> >
> > --
> >     Do not meddle in the affairs of dragons,
> >  for you are crunchy and taste good with ketchup.
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to