<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Set-up SAMBA so can be accessed by two subnets in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608865#M79461</link>
    <description>the interfaces line in smb.conf describes the address of the samba server that should listen for connections. &lt;BR /&gt;&lt;BR /&gt;Unless your server has both of those address on it's nic(s), you won't be able to bind port 137 to them -- hence the error you're seeing. &lt;BR /&gt;&lt;BR /&gt;Another friend of mine was running a server with addresses on two class C networks -- what worked for him was to "fake" a class B with netmask 255.255.0.0 (the two address differed only in the last two octets). &lt;BR /&gt;&lt;BR /&gt;Samba can be wild, wonderful, and a bear to set up.</description>
    <pubDate>Wed, 14 Nov 2001 02:46:37 GMT</pubDate>
    <dc:creator>Mark Fenton</dc:creator>
    <dc:date>2001-11-14T02:46:37Z</dc:date>
    <item>
      <title>Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608857#M79453</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to configure a SAMBA server to be accessed both by 192.168.10.6 and 192.168.9.6 gateways but only using one ethernet card. Is this possible? Thanks.&lt;BR /&gt;&lt;BR /&gt;PS&lt;BR /&gt;&lt;BR /&gt;I tried IP aliasing but it doesn't seem to work or I missed something in the configuration. Am using Mandrake 8.1 by the way on a Kayak X2000.</description>
      <pubDate>Wed, 07 Nov 2001 09:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608857#M79453</guid>
      <dc:creator>Frederick Maulion</dc:creator>
      <dc:date>2001-11-07T09:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608858#M79454</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As far as I know you can use "allow hosts=" in your smb.conf. Some examples:&lt;BR /&gt;&lt;BR /&gt;1. allow hosts that match the given &lt;BR /&gt;   network/netmask&lt;BR /&gt;&lt;BR /&gt;   hosts allow = 150.203.15.0/255.255.255.0&lt;BR /&gt;&lt;BR /&gt;2. allow a couple of hosts&lt;BR /&gt;&lt;BR /&gt;   hosts allow = gataway1, gateway2&lt;BR /&gt;&lt;BR /&gt;If you go to &lt;A href="http://samba.nip.nl/samba/docs/man/smb.conf.5.html" target="_blank"&gt;http://samba.nip.nl/samba/docs/man/smb.conf.5.html&lt;/A&gt; you will see an explenation. And these examples to. Or the smb.conf man page.&lt;BR /&gt;&lt;BR /&gt;Greeting, Ray.</description>
      <pubDate>Wed, 07 Nov 2001 11:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608858#M79454</guid>
      <dc:creator>Raymond van den Heuvel</dc:creator>
      <dc:date>2001-11-07T11:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608859#M79455</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;In smb.conf [global] section,&lt;BR /&gt;&lt;BR /&gt;add &lt;BR /&gt;interfaces = 192.168.10.6/24 192.168.9.6/24&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Nov 2001 11:45:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608859#M79455</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2001-11-07T11:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608860#M79456</link>
      <description>I tried your suggestions. But whenever I restart SAMBA by "service smb restart", the NMB shutdown shows a failed status. What gives?</description>
      <pubDate>Sat, 10 Nov 2001 00:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608860#M79456</guid>
      <dc:creator>Frederick Maulion</dc:creator>
      <dc:date>2001-11-10T00:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608861#M79457</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Could you send us the relevant parts of NMB's logfile (under /var/log/samba)?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paga&lt;BR /&gt;</description>
      <pubDate>Sat, 10 Nov 2001 01:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608861#M79457</guid>
      <dc:creator>Marco Paganini</dc:creator>
      <dc:date>2001-11-10T01:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608862#M79458</link>
      <description>This is what I got when I set&lt;BR /&gt;interfaces = 192.168.9.6/24 192.168.10.6/24&lt;BR /&gt;in the [globals] section of the smb.conf file.&lt;BR /&gt;&lt;BR /&gt;2001/11/10 11:12:43, 0] lib/util_sock.c:open_socket_in(819)&lt;BR /&gt;  bind failed on port 137 socket_addr=192.168.10.6 (Cannot assign requested address)&lt;BR /&gt;[2001/11/10 11:12:43, 0] nmbd/nmbd_subnetdb.c:make_subnet(142)&lt;BR /&gt;nmbd_subnetdb:make_subnet()&lt;BR /&gt;  Failed to open nmb socket on interface 192.168.10.6 for port 137.  Error was Cannot assign requested address&lt;BR /&gt;[2001/11/10 11:12:43, 0] nmbd/nmbd.c:main(835)&lt;BR /&gt;  ERROR: Failed when creating subnet lists. Exiting.&lt;BR /&gt;&lt;BR /&gt;During this time, the server cannot be seen by PCs on BOTH subnets.&lt;BR /&gt;</description>
      <pubDate>Sat, 10 Nov 2001 03:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608862#M79458</guid>
      <dc:creator>Frederick Maulion</dc:creator>
      <dc:date>2001-11-10T03:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608863#M79459</link>
      <description>Have you tried adding&lt;BR /&gt;&lt;BR /&gt;hosts allow = 192.168.10.6/255.255.255.0, 192.168.9.6/255.255.255.0   ???????????&lt;BR /&gt;&lt;BR /&gt;And undone the chanes to interface??</description>
      <pubDate>Tue, 13 Nov 2001 10:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608863#M79459</guid>
      <dc:creator>Raymond van den Heuvel</dc:creator>
      <dc:date>2001-11-13T10:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608864#M79460</link>
      <description>Whoops typo, sorry&lt;BR /&gt;&lt;BR /&gt;Have you tried adding&lt;BR /&gt;&lt;BR /&gt;hosts allow = 192.168.10.0/255.255.255.0, 192.168.9.0/255.255.255.0   ???????????&lt;BR /&gt;&lt;BR /&gt;And undone the chanes to interface??</description>
      <pubDate>Tue, 13 Nov 2001 10:29:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608864#M79460</guid>
      <dc:creator>Raymond van den Heuvel</dc:creator>
      <dc:date>2001-11-13T10:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set-up SAMBA so can be accessed by two subnets</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608865#M79461</link>
      <description>the interfaces line in smb.conf describes the address of the samba server that should listen for connections. &lt;BR /&gt;&lt;BR /&gt;Unless your server has both of those address on it's nic(s), you won't be able to bind port 137 to them -- hence the error you're seeing. &lt;BR /&gt;&lt;BR /&gt;Another friend of mine was running a server with addresses on two class C networks -- what worked for him was to "fake" a class B with netmask 255.255.0.0 (the two address differed only in the last two octets). &lt;BR /&gt;&lt;BR /&gt;Samba can be wild, wonderful, and a bear to set up.</description>
      <pubDate>Wed, 14 Nov 2001 02:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-samba-so-can-be-accessed-by-two-subnets/m-p/2608865#M79461</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2001-11-14T02:46:37Z</dc:date>
    </item>
  </channel>
</rss>

