Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'm using a Linux with multiple subnets. When accessing a MS Server 2003 (fiel share) from behind a subnet with about 15 users at the same time. I get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Location
    Belgium
    Posts
    3

    Subnets and MS Shares


    Hi,

    I'm using a Linux with multiple subnets. When accessing a MS Server 2003 (fiel share) from behind a subnet with about 15 users at the same time. I get on windows the error that's it's not available. When trying again it works. It just stops working random as if there are not enough connections.

    Any help please?

  2. #2
    Just Joined!
    Join Date
    Oct 2009
    Location
    Belgium
    Posts
    3
    I'm running debian 5.0. anyone has a solution?

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Location
    Belgium
    Posts
    3
    My interfaces file

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    #================================#
    #Glasvezel verbinding (WAN-zijde)#
    # => IP wordt toegekend via DHCP #
    # => Dit komt uit de major #
    #================================#
    allow-hotplug eth6
    iface eth6 inet dhcp
    post-up /etc/network/if-up.d/bad-firewall.sh

    #================================#
    #Lokaal 63 (LAN-zijde) #
    # => Static IP met DHCP-server #
    #================================#
    allow-hotplug eth1
    iface eth1 inet static
    address 10.0.3.1
    netmask 255.255.255.0
    network 10.0.3.0
    broadcast 10.0.3.255

    #=============================#
    #Lokaal 62 (LAN-zijde) #
    # => Static IP met DHCP-server#
    #=============================#
    allow-hotplug eth2
    iface eth2 inet static
    address 10.0.4.1
    netmask 255.255.255.0
    network 10.0.4.0
    broadcast 10.0.4.255

    #=============================#
    #Lokalen 20-66 #
    # => Static IP met DHCP-server#
    #=============================#
    allow-hotplug eth3
    iface eth3 inet static
    address 10.0.5.1
    netmask 255.255.255.0
    network 10.0.5.0
    broadcast 10.0.5.255

    #=============================#
    #Lokalen 67-68 #
    # => Static IP met DHCP-server#
    #=============================#
    allow-hotplug eth4
    iface eth4 inet static
    address 10.0.6.1
    netmask 255.255.255.0
    network 10.0.6.0
    broadcast 10.0.6.255

    #=============================#
    #Internaat #
    # => Static IP met DHCP-Server#
    #=============================#
    allow-hotplug eth5
    iface eth5 inet static
    address 10.0.7.1
    netmask 255.255.255.0
    network 10.0.7.0
    broadcast 10.0.7.255

    my routing file

    #!/bin/sh

    PATH=/USR/sbin:/sbin:/bin:/usr/bin

    #DELETE EXISTING RULES
    iptables -X
    iptables-t nat -F
    iptables-t nat -X
    iptables-t mangle -F
    iptables-t mangle -X
    iptables -p INPUT ACCEPT
    iptables -p OUTPUT ACCEPT
    iptables -p FORWARD ACCEPT

    #MASQUERADE
    iptables -t nat -A POSTROUTING -o eth6 -j MASQUERADE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •