2 Nics, 1 LAN 1 Internet

Posted on 2006-04-09
Last Modified: 2010-03-18
Been a long time since Ive been here, but maybe someone can hlep me out.

I have 2 network cards,

1 has a ip of, subnet of
2 has a ip of subnet of

now I want to make the 2nd one the one that accepts HTTP connections. the first one has a lan connection to our SQL server, mail server... etc..etc... but the 2nd one has the http ip.

Both are hooked up to seperate PIX 515e fireawalls. and the problem with haveing them on the same network card is that the IP' are in total different lands, first set are 72's and the others are 145's


Question by:B_Dorsey
    LVL 17

    Expert Comment

    I see what you're trying, but don't think that would work. Problem would be when the server tries to communicate with any clients... you could be in for some pretty ugly surprises. However, that *might* have a shot at working if you were using virtual machines via products like VMware or Virtual PC, but I don't remember anymore about that.
    LVL 15

    Accepted Solution


    It really depends on how big your internal network is.  Only one card should have a gateway, and the other should not. (blank).  Then all traffic that is not on the local subnets will be sent to the gateway unless it has a specific route.  This means that you could create routes for all your internal LAN traffic that uses the next hop on the as the gateway.  But the 2nd NIC would be the one with the "default gateway".  This way all your internal traffic would be routed over the 1st NIC and all other traffic would be routed over the 2nd.

    You create static routes by using the ROUTE command.  add the "-p" for to make the routes permanent.  Although managing static routes is not recommended on the client machine, sometimes it is nescessary.

    Alternatively, you could join the two networks PIXs with a router.  Then you could plug the client into a 3rd router interface or a switch that has one of the router interfaces and PIXs attached to it.  This way the router can be used to route the information.

    It all really depends on how scalable you would like this solution.  Is it just for one machine or are you planning on doing it for more than that?
    LVL 14

    Author Comment

    you mean this was as SIMPLE AS REMOVING THE DAMN GATEWAY..... LOL

    Ive been stuck on this stupid problem for like 4 weeks now.... it was hit or miss for me, i would enable one, disable the other and sometimes it would work, and hoped we didnt need to

    Wow you are my most favorite person in the whole WORLD....



    LVL 15

    Expert Comment

    hey no problem!   Glad to hear you got it working ok!  Thanks for all your kind words!  =)

    Just make sure you don't have any local subnets outside the range 113.x.x.x that you want routed through NIC1.  

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
    Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now