Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Routing problem with 2 network cards

30 Sep 2010   #1
Tsuioku

Windows 7 Home Premium 64bits
 
 
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 System SpecsSystem Spec
.
30 Sep 2010   #2
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

It might help to list those routes in the advanced TCP/IP settings window.
My System SpecsSystem Spec
30 Sep 2010   #3
Tsuioku

Windows 7 Home Premium 64bits
 
 

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 System SpecsSystem Spec
.

30 Sep 2010   #4
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

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
Routing problem with 2 network cards-tcp-ip-advanced-settings.png  
My System SpecsSystem Spec
30 Sep 2010   #5
Tsuioku

Windows 7 Home Premium 64bits
 
 

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 System SpecsSystem Spec
30 Sep 2010   #6
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

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 System SpecsSystem Spec
Reply

 Routing problem with 2 network cards




Thread Tools




Similar help and support threads
Thread Forum
Routing Help for 2 network interfaces
I am on windows 7 Professional Edition. My PC has 2 x Network cards which are connected to two different routers. One of the interface which is 1 Gbps is connected to router which does not has internet connectivity and other connected to 1 Mbps interface has an internet connectivity. When both...
Network & Sharing
Network cards
Hello, Anyone can give me the links to download the latest drivers for Atheros AR5B91 Wireless Network Adapter and Broadcom NetXtreme Gigabit Ethernet? I tried to search on google for them but i didn't found any link for them, please help me.
Drivers
2 Network cards
Hey guys, I got a tower and its running 7ultamat 32bit, and I have a wireless and wired network card, they are useing the same network G and 100mb/lan I have some file servers on the lan part that are on the same hub, Is there a way I could bridge both connections so when I upload data it...
Network & Sharing
Routing Problem Win7 and XP
I am connecting several Windows 7 laptops via wireless to a wired network of XP machines. After several frustrating days trying to figure out why I couldn't see shares on the network I think I've finally caught the culprit: the netbios master browser. Can anyone shed some insight into what's going...
Network & Sharing
Strange routing problem on VPN
Hi, Situation is as follows. Home computer running Windows 7 Ultimate x64, sets up VPN connection (LT2P + IPSec, "use remote gateway" disabled) to office. Subnet is 192.168.64.x Office has Draytek Vigor 2920 router, subnet is 192.168.32.x The VPN connection is established, but...
Network & Sharing
Network cards
I need an explanation about PCI Network Cards with antenna. Are they universal to work with all routers, Looking at this one from Novatech.... Novatech 54Mbps 802.11g Wireless LAN PCI Card : novatech.co.uk : NOV-54GPCI My router is a Netgear DG834v3, which doesn't have a USB...
Network & Sharing


Our Sites

Site Links

About Us

Find 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 10:25.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App