W2003, 2 XP and a problem

Discussion in 'Server Networking' started by peter hansen, Feb 14, 2004.

  1. peter hansen

    peter hansen Guest

    At http://213.237.36.247/netvaerk/eng_prob.pdf I have drawn the LAN-setup
    which should be used.
    The problem is the server which needs to be configurated so that it is
    possible to:

    * Use the LAN between the two Windows XP-computers
    * Use the LAN between the server in both directions
    * The Internet on the server should go through the green line marked in the
    PDF-file

    I have though about bridging the connections (on the server) but it doesn't
    help that much as I thought...

    Any ideas?

    // Peter
     
    peter hansen, Feb 14, 2004
    #1
    1. Advertisements

  2. The link doesn't work.
     
    Rob Elder, MVP-Networking, Feb 14, 2004
    #2
    1. Advertisements

  3. peter hansen

    peter hansen Guest

    peter hansen, Feb 14, 2004
    #3
  4. Change the subnet on the one side of the server. (I'll use router 1 for
    this description)
    Change the default LAN configuration on router 1 to 192.168.2.1
    Configure the Routing and Remote Access on the server. Using the wizard
    choose custom configuration and choose LAN routing.
    Edit the routing table on the server to include the following line
    0.0.0.0 0.0.0.0 192.168.1.1

    Suggest using static IP on your server for best results.
     
    Rob Elder, MVP-Networking, Feb 14, 2004
    #4
  5. peter hansen

    peter hansen Guest

    [CUT]
    Done that so far :D
    Easy now - i am not following you :D hehe
    Could you include a step-by-step ?

    // Peter
     
    peter hansen, Feb 14, 2004
    #5
  6. open a command prompt on your server and type the following

    route add 0.0.0.0 mask 0.0.0.0 192.168.1.1


     
    Rob Elder, MVP-Networking, Feb 14, 2004
    #6
  7. peter hansen

    peter hansen Guest

    [CUT]
    [CUT]

    Is that it ? I don't have to configure any kind of IP etc. on the server ?
    What about IP-configration to TCP/IP for the two NIC's ?

    // Peter
     
    peter hansen, Feb 14, 2004
    #7
  8. That's it. The RRAS service on the service will handle communications
    between your two internal networks. The modification to the routing table
    will make that all requests for networks not in your table (connections to
    the outside) will be passed through the 192.168.1.1 gateway.

     
    Rob Elder, MVP-Networking, Feb 14, 2004
    #8
  9. peter hansen

    peter hansen Guest

    But I have to run the route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 everytime i
    restart my server eah?...
    anyway it doesn't work :D
    The IP on both NIC's TCP/IP should be set as Obtain Automatic IP?

    // Peter
     
    peter hansen, Feb 14, 2004
    #9
  10.  
    Rob Elder, MVP-Networking, Feb 14, 2004
    #10
  11. The IPs on the server should be set statically. You don't want them
    changing.

    Add a "-persistant" switch after that string (without the quotes.) You
    won't have to reset it everytime.

    Another way you can do this is to add the route from RRAS. Right click on
    static right and select new static route. This way you can force the
    interface you want the route to apply to.
     
    Rob Elder, MVP-Networking, Feb 14, 2004
    #11
  12. peter hansen

    peter hansen Guest

    [CUT]
    and what IP should I use for the NICs ?
    Will do but what does it mean?
    I'll try the first sulloution :D if it doesn't work I'll try this :D

    // Peter
     
    peter hansen, Feb 14, 2004
    #12
  13. Your server is functioning as a router between two networks. You don't want
    your IP addresses changing. Just manually configure an IP in the same
    subnet as the LAN side.

    The persistent switch will keep the entry perminent.

     
    Rob Elder, MVP-Networking, Feb 15, 2004
    #13
  14. peter hansen

    sharad Guest

    If you want "doing wihout much to configure" like solution then
    read this.
    To identify the two win xp pro, I will call the top one in your
    figure as " Top XP" and the other as "Bottom XP"

    Solution 1:
    Keep all the IP configuration settings as shown in your figure.
    Put the cable from both Bottom XP and the Router one
    in to the Switch (shown near Top XP.)
    Disable NIC 2 on the server.
    On the server NIC1 .. put default gateway to Router 2 IP.
    Since for Top XP and Server, default gateway is router 2, they
    will use router 2 for internet, and since for bottom XP default
    gateway is router 1, it will user router 1 for internet.

    Solution 2:
    Remove NIC 2 from the server and put in to Bottm XP.
    So Bottom XP has NIC1 and NIC 2. Connect NIC 1
    to Switch and set it's IP to 192.168.1.37
    Connect NIC 2 to the Router and set it's IP to 192.168.2.33
    and Router subnet change to 192.168.2.x ..

    Sharad
     
    sharad, Feb 15, 2004
    #14
  15. peter hansen

    sharad Guest

    If you want "doing wihout much to configure" like solution then
    read this.
    To identify the two win xp pro, I will call the top one in your
    figure as " Top XP" and the other as "Bottom XP"

    Solution 1:
    Keep all the IP configuration settings as shown in your figure.
    Put the cable from both Bottom XP and the Router one
    in to the Switch (shown near Top XP.)
    Disable NIC 2 on the server.
    On the server NIC1 .. put default gateway to Router 2 IP.
    Since for Top XP and Server, default gateway is router 2, they
    will use router 2 for internet, and since for bottom XP default
    gateway is router 1, it will user router 1 for internet.

    Solution 2:
    Remove NIC 2 from the server and put in to Bottm XP.
    So Bottom XP has NIC1 and NIC 2. Connect NIC 1
    to Switch and set it's IP to 192.168.1.37
    Connect NIC 2 to the Router and set it's IP to 192.168.2.33
    and Router subnet change to 192.168.2.x ..

    Sharad
     
    sharad, Feb 15, 2004
    #15
  16. peter hansen

    peter hansen Guest

    Well... it works fine but now the IIS wont work... pretty odd though since
    the IE and other kind of internet-programs works fine...
    [CUT]

    // Peter
     
    peter hansen, Feb 15, 2004
    #16
  17. peter hansen

    peter hansen Guest

    It is not possible to do that - between the Bottom PC (and the server) and
    the Top PC it is only possible to draw one cable - thats why I have drawn
    the PDF-file =)
    It is implicit that there is only one cable between the connection through
    the switch and the 'part down-under'.
    The network/connection between the server and the Bottom PC can be changed.
    Avaliable hardware: a router-switch and a new switch (which i bougth
    yesterday cause I was borred) and of course the server has two NICs

    The network on the Top PC has a switch and a router available but between
    the Top PC and network down under it is only possible to draw one cable

    The goal is to connect the server and the bottom pc and then connect that to
    the top-part of the network. The server should use the top-parts internet
    and still be in LAN with both computers - and if possible, the LAN between
    the two XPs should also work

    I have tried this sollution but the Internet on the server, somehow, became
    unstable - sometimes it disconneted itself but the funny part was that IIS
    and other services like Terminal Services still worked, even though the
    servers Internet Explore and other internet-programs didn't - pretty odd
    though


    // Peter
     
    peter hansen, Feb 15, 2004
    #17
  18. peter hansen

    sharad Guest

    this sounds like a DNS problem. Is the server a Domain Controller?
    If not, then for the NIC give the preffered DNS - router 2 IP or
    rather it would be better you give the ISP's DNS server.
    If it is a DC, then give the preffered DNS to the server IP itself,
    and in the DNS on the server, set forwarder, giving ISPs DNS
    server IP.

    Sharad
     
    sharad, Feb 15, 2004
    #18
  19. peter hansen

    peter hansen Guest

    The settings before this setting:

    Top PC was connected to the switch and from the switch, two cables was
    drawn: one for internet and one to the router-switch "down under"
    "Down under" the router-switch had the incomming cable from the Top PC and
    three other cables was drawn: one for the Bottom PC and one for the server
    and one cable to the cablemodem (internet).
    The IP-configuration was as it is now (the PDF-file) but the attached server
    had 192.168.1.36 as IP (and only one NIC)
    The preffered DNS has always been the same as the default gateway
    (192.168.1.1 - router 2 IP) and what is a DC

    // Peter
     
    peter hansen, Feb 15, 2004
    #19
  20. peter hansen

    peter hansen Guest

    Wheee... I guess it works now - I have changed the Prefered DNS at the
    second NIC (on the server), from the IP of the Top Router to the IP of the
    ISP... but still the gateway is the IP of the Top Router

    But thanks for helping anyway - I learned alot about networking :D

    // Peter
     
    peter hansen, Feb 16, 2004
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.