samba with 2 network adapters

samba with 2 network adapters

Post by Steve Cowle » Mon, 14 Jun 1999 04:00:00



I have the same setup. 2 NIC's, one gets its IP from a DHCP server
(connected using ADSL), the other is static (Internal LAN). You might want
to check the following settings in your smb.conf file. NOTE: I did not list
the second interface as the comments recommend in the smb.conf file. Samba
still works as it should.

Hope this helps
Steve Cowles

BTW: My Internal LAN is as follows:
Network Address: 192.168.1.16/28 (255.255.255.240)
Internal Address (Linux): 192.168.1.17
Broadcast Address: 192.168.1.31

<cut/paste of smb.conf file>

# workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = COWLES

# server string is the equivalent of the NT Description field
    server string = Cowles's Linux Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168.1.16/255.255.255.240

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
   interfaces = 192.168.1.17/28

# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
#       a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
   remote announce = 192.168.1.31



Quote:

> I am running linux with 2 network adapters and samba is not working
> it is said to put the 2 ip adresse in smb.conf file but one card (eth0)
> use dhcp
> but i want to share files with the other one (eth1 with fixed ip)

> thanks for any help

 
 
 

samba with 2 network adapters

Post by aan of melnibon » Tue, 15 Jun 1999 04:00:00


I am running linux with 2 network adapters and samba is not working
it is said to put the 2 ip adresse in smb.conf file but one card (eth0)
use dhcp
but i want to share files with the other one (eth1 with fixed ip)

thanks for any help

 
 
 

samba with 2 network adapters

Post by Gilford Wimbl » Tue, 15 Jun 1999 04:00:00




Quote:>I have the same setup. 2 NIC's, one gets its IP from a DHCP server
>(connected using ADSL), the other is static (Internal LAN). You might want
>to check the following settings in your smb.conf file. NOTE: I did not list
>the second interface as the comments recommend in the smb.conf file. Samba
>still works as it should.

>Hope this helps
>Steve Cowles

>BTW: My Internal LAN is as follows:
>Network Address: 192.168.1.16/28 (255.255.255.240)
>Internal Address (Linux): 192.168.1.17
>Broadcast Address: 192.168.1.31

><cut/paste of smb.conf file>

># workgroup = NT-Domain-Name or Workgroup-Name
>    workgroup = COWLES

># server string is the equivalent of the NT Description field
>    server string = Cowles's Linux Server

># This option is important for security. It allows you to restrict
># connections to machines which are on your local network. The
># following example restricts access to two C class networks and
># the "loopback" interface. For more examples of the syntax see
># the smb.conf man page
>   hosts allow = 192.168.1.16/255.255.255.240

># Configure Samba to use multiple interfaces
># If you have multiple network interfaces then you must list them
># here. See the man page for details.
>   interfaces = 192.168.1.17/28

Yeah, just list the fixed interface here, just like Steve did.

- Show quoted text -

># Configure remote browse list synchronisation here
>#  request announcement to, or browse list sync from:
>#       a specific host or from / to a whole subnet (see below)
>;   remote browse sync = 192.168.3.25 192.168.5.255
># Cause this host to announce itself to local subnets here
>   remote announce = 192.168.1.31



>> I am running linux with 2 network adapters and samba is not working
>> it is said to put the 2 ip adresse in smb.conf file but one card (eth0)
>> use dhcp
>> but i want to share files with the other one (eth1 with fixed ip)

>> thanks for any help

Isn't in Melinbone, as opposed to Melnibone?

regards, GW

 
 
 

1. Network adapter compatability HP EN1207D-TX PCI 10/100 Fast Ethernet Adapter

Hello,

I am a newbie.  I installed Linux-Mandrake 6.5 Deluxe from Macmillan
Software.  I want to configure my network adapter and cable modem.  It
doesn't seem that my Ethernet Card is compatible, it is an HP EN1207D-TX PCI
10/100 Fast Ethernet Adapter.

My Computer is a HP Pavilion 4550Z Running Windows98 and Linux-Mandrake.
My cable provider uses DHCP.  They do not provide Linux support.

Any suggestions would be most appreciated.


2. how can let VNC control CDE

3. Samba problems: Samba not in Network Neighborhood

4. Unkillable nfs process?!

5. ftp boot but network adapter not in Network expanded driver list?

6. digital cd output

7. Two network adapters on seperate networks problem

8. Linux box on Windows NT or Novell

9. Binding 2 network adapters to achieve better network performance

10. Free SCO network driver for NE/2-32 MCA network adapter

11. Does AIX support Combine 2 network adaptor to form a single network interface using single IP

12. Network Neighbourhood in Samba network?

13. usb 3Com ethernet adapter and samba