Find the answer to your Linux question:
Results 1 to 4 of 4
i've been trying for a while to create a connection between subnets. http-://dl.dropbox.com/u/712072/technisch%20ontwerp%20tekening.jpg so the windows xp clients need a connection to a windows 2003 active directory. But if i ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    9

    connection between subnets

    i've been trying for a while to create a connection between subnets. http-://dl.dropbox.com/u/712072/technisch%20ontwerp%20tekening.jpg

    so the windows xp clients need a connection to a windows 2003 active directory. But if i ping to that network, i get a netwok unreacheable, witch is logical because it is in a different subnet.

    Is there a command or something else to resolve this?

    edit:
    i got a Linux opensuse router. two Windows 2003 Active Directory's, two Windows XP clients to test on and a Linux Opensuse to act as a webserver/backup server.
    Last edited by basdijkstra; 01-06-2011 at 08:49 AM.

  2. #2
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    Hi,
    I still have some questions:
    Has every Subnet it's own router or is one Router maintaining all subnets?
    Are the Router using NAT or just Bridging?
    Have you tried altering the routing table of 192.168.1.253 ...
    for example:
    route add net 10.1.1.1/29 gw 192.168.1.<?subnet1?>

    you may post route -n

    greetings, Zomby

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    9
    hi, thanks for the reply.

    i have one router and is maintaining all the subnets.
    The router is a NAT.

    linuxbak1:~ # route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    10.1.1.96 0.0.0.0 255.255.255.224 U 0 0 0 eth4
    10.1.1.64 0.0.0.0 255.255.255.224 U 0 0 0 eth3
    10.1.1.32 0.0.0.0 255.255.255.224 U 0 0 0 eth2
    10.1.1.0 0.0.0.0 255.255.255.224 U 0 0 0 eth1
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    0.0.0.0 192.168.1.253 0.0.0.0 UG 0 0 0 eth0
    linuxbak1:~ #


    the thing i'm trying is this:
    windows 2003 Active directory --> windows xp
    10.1.1.3 --> 10.1.1.35

    and different.
    i can ping from the windows xp client to the network card from the other subnet, but if i ping the windows 2003 server i get 'Destination Protocol Unreachable'

  4. #4
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    The command you are looking for seems to be iptables.

    It manages the firewall and NAT.

    Examples:
    iptables -L -v -n
    iptables -L forward -v -n
    iptables -A forward -d 10.1.1.3 -s 10.1.1.32/27 -j ACCEPT

Posting Permissions

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