Networking Forums

Networking Forums > Computer Networking > Windows Networking > How to set NIC to be default

Reply
Thread Tools Display Modes

How to set NIC to be default

 
 
Miha
Guest
Posts: n/a

 
      09-18-2007, 10:10 PM
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


 
Reply With Quote
 
 
 
 
Cris Hanna [SBS-MVP]
Guest
Posts: n/a

 
      09-18-2007, 10:22 PM
Think you're probably in the wrong Newsgroup for this one
"Miha" <(E-Mail Removed)> wrote in message news:uQQgTDk%(E-Mail Removed)...
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


 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      09-18-2007, 11:22 PM
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.

"Miha" <(E-Mail Removed)> wrote in message
news:uQQgTDk%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Claus
Guest
Posts: n/a

 
      09-19-2007, 03:11 AM
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.

--
Claus
"Miha" <(E-Mail Removed)> wrote in message
news:uQQgTDk%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Miha
Guest
Posts: n/a

 
      09-19-2007, 03:40 PM
Yes that was the problem. I deleted gw on the second nic and now it works
like we wanted.
Thanks!
Regards,
Miha

"Bill Grant" <not.available@online> je napisal v sporoèilo
news:uAYBErk%(E-Mail Removed) ...
> 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.
>
> "Miha" <(E-Mail Removed)> wrote in message
> news:uQQgTDk%(E-Mail Removed)...
>> 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
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC9 and default GW Jørn Dahl-Stamnes Linux Networking 11 11-29-2008 01:55 PM
Linux: Default gateway fails, must use local IP for default gw instead John Sasso Wireless Internet 2 07-08-2004 08:30 AM
need default AP usr and pwd settings athegates Wireless Internet 8 06-15-2004 04:32 AM
What's the default PW for the MN-500 -A Broadband Hardware 2 05-28-2004 05:06 AM
Why no default connection? Mike Broadband Hardware 1 05-07-2004 04:22 AM



1 2 3 4 5 6 7 8 9 10 11