Routing problem with 2 network cards


  1. Posts : 3
    Windows 7 Home Premium 64bits
       #1

    Routing problem with 2 network cards


    Hello,

    I have some difficulties managing routes for my network cards. I have 2 network cards, one I use for internet, the other for multicast. Apparently, the current behaviour is that Windows chooses the first card he founds for multicast, and that will be the internet one.

    So, my cards are configured like this :

    . internet :
    IP : 192.168.1.66
    mask : 255.255.255.0
    gateway : 192.168.1.1 (this is my router)
    dns : 192.168.1.1

    . multicast :
    IP : 192.168.0.2
    mask : 255.255.255.0
    gateway : empty
    dns : empty

    The "route print" command shows this :
    Code:
    224.0.0.0        240.0.0.0         On-link      192.168.1.66    276
    224.0.0.0        240.0.0.0         On-link       192.168.0.2    276
    and interface number for internet card is 11 and 17 for the multicast one.

    By doing a simple "route delete 224.0.0.0 if 11", I have the behaviour I want. Both internet and multicast. The problem is that this route comes back after reboot.

    I tried adding this route :
    Code:
    route add 224.0.0.0 mask 240.0.0.0 192.168.1.66 metric 300 if 11 -p
    But after a reboot, the "route print" command shows this :
    Code:
    224.0.0.0        240.0.0.0         On-link      192.168.1.66    276
    224.0.0.0        240.0.0.0     192.168.1.66     192.168.1.66    320
    224.0.0.0        240.0.0.0         On-link       192.168.0.2    276
    My question is how can I get rid of this route in red that keeps coming back ? And why didn't the added route replace it ?

    Thanks for your help !

    PS : Every route command has been executed in an elevated command prompt.
      My Computer


  2. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #2

    It might help to list those routes in the advanced TCP/IP settings window.
      My Computer


  3. Posts : 3
    Windows 7 Home Premium 64bits
    Thread Starter
       #3

    I tried to search for what you said, but I can't figure where to do that. I saw I could change the metric for the card, but it changes it for every routes related to the card.
      My Computer


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #4

    This is mostly for using different subnets but it may work better for what you are trying to do. In the right TCP/ip window you can list the different subnets,IP,default gateway and metric that you want to connect with.
    Attached Thumbnails Attached Thumbnails Routing problem with 2 network cards-tcp-ip-advanced-settings.png  
      My Computer


  5. Posts : 3
    Windows 7 Home Premium 64bits
    Thread Starter
       #5

    I don't see what to fill in those field that would help my case. Maybe I'm missing something
    Anyway, I had the idea of increasing the priority of the multicast card instead of lowering the internet one. And now it works like a charm, yay !
    Thanks for your time !
      My Computer


  6. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #6

    It's easy when you hit the "add" button although it's for adding more than one subnet to a single adaptor so may not work in your case with your two adaptors.

    Glad you got it working.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:24.
Find Us