Announcement

Collapse
No announcement yet.

2 NICs. Connection to http...

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

  • 2 NICs. Connection to http...

    Hello,
    I have a scenario:

    PC has 2 NICS.
    NIC1 is connected to the AD LAN
    NIC 2 is connected to the device with Etherned port and built in WEB server.

    The config example:
    NIC1 has static IP: 172.20.32 10 connected to AD LAN

    NIC2 has static IP: 10.0.0.10 and connected to the DeviceNIC with IP: 10.0.0.11

    What should be done in order to access web page on 10.0.0.11

    Cannot make a test right now. Just prepairing.
    I guess by default if I will open browser and type http://10.0.0.11 the request will be routed to AD NIC on 172.x.x.x

    What should be done to make the web page accessible?
    Thx.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

  • #2
    Re: 2 NICs. Connection to http...

    Can you post an IPCONFIG/ALL from the PC?

    I suspect the solution will be to add a static route to the 10.x.x.x network, something like:

    ROUTE ADD 10.0.0.0 MASK 255.0.0.0 10.0.0.11 -P

    (run this at an admin command prompt. The exact mask will depend on your IPCONFIG results)

    This should route traffic to the 10 network through the appropriate gateway -- in this case the device.
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      Re: 2 NICs. Connection to http...

      Thanks Ossian.
      I cannot check it right now. Will do it in one week after all tests...
      Currently, to make it work one card is used.
      So, both PC with the AD NIC and the NIC from the device are connected to the same core switch.
      My goal is to isolate communication between PC and the device from the LAN.
      But have available access to the pc from LAN. Basically it's not just web page (configuration). There is a soft that shoud talk to device. And in the soft I can declare IP of the device.
      I guess your ADD ROUTE is the right answer.

      Thanks again.
      "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

      Comment


      • #4
        Re: 2 NICs. Connection to http...

        Hello,

        Request should be sent to preferred nic card. Depending upon nic provider order.

        however in any condition both nic cards will be accessed.

        Comment


        • #5
          Re: 2 NICs. Connection to http...

          drage is correct - if it's a directly connected network via NIC, it should route over that nic as it has the lowest cost.
          Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

          Comment


          • #6
            Re: 2 NICs. Connection to http...

            drage, tehcamel you are right it works without any add route.
            It didn't work for me from the first hit just because the DEVICE in question didn't have a static address shown in manual. So the http:\\address wasn't right and couldn't access the web page.

            Now it is clean ... One card is connected to the AD LAN for remote access.
            Second card is connected to the device with web server. The second card and device has static addresses.
            I remotely access the pc on 172.x.x.x and then type the 192.x.x.x of the device in IE.

            THANKS!
            "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

            Comment

            Working...
            X