Announcement

Collapse
No announcement yet.

Two gateways with two Nics cards in win 2003

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Two gateways with two Nics cards in win 2003

    Hi Everyone

    I am using windows 2003 server ,In this i have 2 lan cards here ,

    one is internet and the other one is Intranet, this is working well

    most of the time.

    But sometime it will get lost his gateway

    So connection wont work

    After disabling the lan card and enabling it will work again

    I need to fix this problem helping me in this

    will be appricatied

  • #2
    Re: Two gateways with two Nics cards in win 2003

    you're only allowed to use one gateway.
    Use it on the external interface and remove the gateway from the internal interface.
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: Two gateways with two Nics cards in win 2003

      Just a slight amendment to Dumber's post. You can have as many gateways as you like; but you can only have one DEFAULT gateway. See the screenshots below to see what I mean; the first one shows the DEFAULT gateway setting, the other shows the "Other Gateways" setting.

      The "Default Gateway" is the one the computer uses if there is no other... there can be only one per computer, regardless of the number of NICs.
      Attached Files


      Tom
      For my own and your protection, I do not provide support by private message under any circumstances. All such messages will be deleted and ignored.

      Anything you say will be misquoted and used against you

      Comment


      • #4
        Re: Two gateways with two Nics cards in win 2003

        That's wat indeed what I ment Stoneslaughter.
        Just one Default Gateway.
        Marcel
        Technical Consultant
        Netherlands
        http://www.phetios.com
        http://blog.nessus.nl

        MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
        "No matter how secure, there is always the human factor."

        "Enjoy life today, tomorrow may never come."
        "If you're going through hell, keep going. ~Winston Churchill"

        Comment


        • #5
          Re: Two gateways with two Nics cards in win 2003

          To further amend, like Stonelaughter pointed out, you can configure multiple "default" gateways but the computer will only use one at any given time. Having multiple gateways is there only for redundancy.

          The computer will use a particular default gateway until it is no longer able to reach that gateway. After that it will move to the next gateway on the list and use it exclusively until it is no longer able to reach that gateway... and so on and so forth. (similar to DNS server usage)

          If there are internal networks that are not directly connected to the internal NIC (i.e. not the same subnet) and the external NIC does not have a path to that network, then you'll need to add a static route to the server's routing table.
          Regards,
          Jeremy

          Network Consultant/Engineer
          Baltimore - Washington area and beyond
          www.gma-cpa.com

          Comment


          • #6
            Re: Two gateways with two Nics cards in win 2003

            in addition to jeremy's post:

            You may have to add static routes for what you would like to accomplish. Here is the information on the route command that you will need in order to do this:
            http://technet.microsoft.com/en-us/l.../bb490991.aspx

            if you have a need to be complex in your static routes you may not want to specify the default gateway in your NIC's TCP/IP properties.
            Technology is only as good as those who use it

            My tech blog - wiredtek.wordpress.com

            Comment


            • #7
              Re: Two gateways with two Nics cards in win 2003

              Oops W2k3 thread in a Client forum?
              Moved.
              Marcel
              Technical Consultant
              Netherlands
              http://www.phetios.com
              http://blog.nessus.nl

              MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
              "No matter how secure, there is always the human factor."

              "Enjoy life today, tomorrow may never come."
              "If you're going through hell, keep going. ~Winston Churchill"

              Comment


              • #8
                Re: Two gateways with two Nics cards in win 2003

                Hi Friends

                But actually in my senario , i need to have two gateways at a time

                So this works fine for some time

                After some time what happens is

                In the 2 interfaces which is used for nat to public will be looses its gateway

                After disabling and enabling it will start work again

                So the thing is it is working for some point time

                So it is a bug or what it is ??????

                Comment


                • #9
                  Re: Two gateways with two Nics cards in win 2003

                  In my post it describes the behavior of the default gateway. You can only have one default gateway at any given time.

                  Using Cisco's terminology might help. They call it the "gateway of last resort". A computer needs to determine where to send IP packets. To do this it looks at the routing table to fine the most specific match for the destination and sends it to that "gateway". The default gateway (or gateway of last resort) will match any destination. So if a more specific path is not found it will be sent to the default gateway.

                  Without knowing what the server's roles are or knowing your topology it is hard to give you a difinitive answer but my guess is that all you need to do, like Marcel said, is remove the default gateway from the internal NIC.
                  Regards,
                  Jeremy

                  Network Consultant/Engineer
                  Baltimore - Washington area and beyond
                  www.gma-cpa.com

                  Comment


                  • #10
                    Re: Two gateways with two Nics cards in win 2003

                    The only time you would need two default gateways is if you have two points of egress in a multihomed environment. By multihomed I mean two connections to the internet through two different routers. You most probably need only one default gateway which should be on your WAN connected card. Your LAN connected card does not need a default gateway unless it is connected to a network which has another point of egress (connection to the internet or other network through a router). What is the case here? Why do you think that you need two default gateways?

                    Comment


                    • #11
                      Re: Two gateways with two Nics cards in win 2003

                      Hi

                      In My Senario i have server with two ip address

                      one 192.168.1.4 which is nat to public ip x.x.x.x (going through the firewall)

                      other is 172.16.30.1 which is going to the other gateway (actually intarnet)

                      So If i remove the gateway from the second interface

                      my packets wont go through other gateway ????????????????????

                      Comment


                      • #12
                        Re: Two gateways with two Nics cards in win 2003

                        Nope you need to setup static routes to accomplish this.

                        Ps.
                        It's not a microsoft issue but's basic networking
                        Last edited by Dumber; 29th January 2008, 13:02.
                        Marcel
                        Technical Consultant
                        Netherlands
                        http://www.phetios.com
                        http://blog.nessus.nl

                        MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
                        "No matter how secure, there is always the human factor."

                        "Enjoy life today, tomorrow may never come."
                        "If you're going through hell, keep going. ~Winston Churchill"

                        Comment


                        • #13
                          Re: Two gateways with two Nics cards in win 2003

                          Please clarify. You say your other NIC connects to a 172.16.30.0 network and needs to do through that gateway. Are you saying that it needs to go through a router to get to the 172.16.30.0 network? Or is it the case that the 172.16.30.0 network is the LAN (not intranet) that the internal NIC is connected to? Could you provide a diagram?

                          Comment


                          • #14
                            Re: Two gateways with two Nics cards in win 2003

                            I guess he ment something like this:

                            A couple of networks --| router --| box where we talking about --| firewall --| Internet
                            Marcel
                            Technical Consultant
                            Netherlands
                            http://www.phetios.com
                            http://blog.nessus.nl

                            MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
                            "No matter how secure, there is always the human factor."

                            "Enjoy life today, tomorrow may never come."
                            "If you're going through hell, keep going. ~Winston Churchill"

                            Comment


                            • #15
                              Re: Two gateways with two Nics cards in win 2003

                              winxandlinx, we can tell you how to add the static routes that you need but we need more information about your setup.

                              Can you post a diagram of your network? Be sure to include the IP addresses of the routers and the network addresses of any of the subnets you need to reach.
                              Regards,
                              Jeremy

                              Network Consultant/Engineer
                              Baltimore - Washington area and beyond
                              www.gma-cpa.com

                              Comment

                              Working...
                              X