How to set NIC to be default

M

Miha

Hi



Have a problem with setting one of two Ethernet adapters to default.

Win2003 Web Server, 2 NICs are connected to a switch which has two firewalls
connected to it.



1 NIC 190.191.0.18/16 GW 190.191.2.1

2 NIC 190.191.0.17/16 GW 190.191.0.1



First NIC routes through a firewall that has access to the internet, second
NIC routers through a firewall that has access to LAN and Internet.

But after restarting server, or disabling/enabling second NIC, default
traffic is always routed through second NIC through GW 190.191.0.1, but I
want that internet traffic is always routed through the first NIC that has
GW 190.191.2.1?

So in other words I want to achieve that first NIC will be default adapter.

How can this be done?

Thank you in advance



Regards,Miha
 
C

Cris Hanna [SBS-MVP]

Think you're probably in the wrong Newsgroup for this one
Hi



Have a problem with setting one of two Ethernet adapters to default.

Win2003 Web Server, 2 NICs are connected to a switch which has two firewalls
connected to it.



1 NIC 190.191.0.18/16 GW 190.191.2.1

2 NIC 190.191.0.17/16 GW 190.191.0.1



First NIC routes through a firewall that has access to the internet, second
NIC routers through a firewall that has access to LAN and Internet.

But after restarting server, or disabling/enabling second NIC, default
traffic is always routed through second NIC through GW 190.191.0.1, but I
want that internet traffic is always routed through the first NIC that has
GW 190.191.2.1?

So in other words I want to achieve that first NIC will be default adapter.

How can this be done?

Thank you in advance



Regards,Miha
 
B

Bill Grant

You should not have two NICs enabled which are in the same IP subnet,
unless they are teamed. You can only have one gateway per machine, not one
per interface.
 
C

Claus

What is the purpose for this unsupported configuration? It doesn't make much
sense. And why are you using a class B network mask?

If you want it to work you need to create a routing table on your server and
tell it which addresses to use with which interface. In order to do that you
first need to define the traffic that you want to see over the 0.17
interface. What is the subnet range that you want to use via 0.17? After you
have done that, you send the rest through 0.18.
 
M

Miha

Yes that was the problem. I deleted gw on the second nic and now it works
like we wanted.
Thanks!
Regards,
Miha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top