Network selection problem

G

Guest

Greets.

Just set myself up with a private network, 192.168.42.0 named 'NO CARRIER'

I'm trying to concurrently use 'NO CARRIER' and the public Internet, by having 2 NIC's in the box that's connected to the net. The Internet connection requires DHCP and typically assigns me an address in the 64.0.0.0 or 24.0.0.0 networks (if that makes any difference)

Without further ado, the problem I'm encountering is this: When I start up, windows assumes that 'NO CARRIER' is the primary network (or it assumes NO CARRIER's NIC is the primary interface) so my primary default gateway is set as 192.168.42.1 instead of my Internet gateway. Consequently, I'm essentially cut off from the Internet as no pings will go out and no clients will connect to their respective servers

If I open my network & dial-up connections and disable NO CARRIER, the Internet immediately works perfectly - my primary default gateway is set back to the internet gateway and all the routes pertaining to NO CARRIER are removed from my routing tables

I can get around the problem by disabling the TCP/IP protocol over the NO CARRIER network, as it's mainly NetBios-based, but I'd also like to set up routing between the two machines so all the machines on the NO CARRIER network can access the net through the one machine with the uplink

Does anyone have any suggestions as to how I can
A) Make sure the dual-NIC machine always uses the 'Internet' network as its primary interface and keeps 'NO CARRIER' as a secondary interface? (I've tried messing with the Metric settings but apparently windows isn't smart enough to consider the shortest metric to be the fastest and thus default interface..
:: and/or :
B) Set up a static route between NO CARRIER and the Internet to allow the NO CARRIER machines to access the net through the dual-NIC machine. (I've tried simply setting the route to 0.0.0.0 to the Internet gateway, which seems like the logical solution, but that doesn't get the results I want

Thanks in advance if you can help, and if you can't thanks for taking the time to read my woes ;)
 
M

Marina Roos

Is this a workstation or a server?
Anyway, check the bindingorder (Network Connections, Advanced, advanced) and
make sure the internal nic is on top.
The internal nic should have a blank gateway. The external nic should only
have TCP/IP bound to it.

--
Regards,

Marina

inhaler said:
Greets..

Just set myself up with a private network, 192.168.42.0 named 'NO CARRIER'.

I'm trying to concurrently use 'NO CARRIER' and the public Internet, by
having 2 NIC's in the box that's connected to the net. The Internet
connection requires DHCP and typically assigns me an address in the 64.0.0.0
or 24.0.0.0 networks (if that makes any difference).
Without further ado, the problem I'm encountering is this: When I start
up, windows assumes that 'NO CARRIER' is the primary network (or it assumes
NO CARRIER's NIC is the primary interface) so my primary default gateway is
set as 192.168.42.1 instead of my Internet gateway. Consequently, I'm
essentially cut off from the Internet as no pings will go out and no clients
will connect to their respective servers.
If I open my network & dial-up connections and disable NO CARRIER, the
Internet immediately works perfectly - my primary default gateway is set
back to the internet gateway and all the routes pertaining to NO CARRIER are
removed from my routing tables.
I can get around the problem by disabling the TCP/IP protocol over the NO
CARRIER network, as it's mainly NetBios-based, but I'd also like to set up
routing between the two machines so all the machines on the NO CARRIER
network can access the net through the one machine with the uplink.
Does anyone have any suggestions as to how I can
A) Make sure the dual-NIC machine always uses the 'Internet' network as
its primary interface and keeps 'NO CARRIER' as a secondary interface? (I've
tried messing with the Metric settings but apparently windows isn't smart
enough to consider the shortest metric to be the fastest and thus default
interface..)
:: and/or ::
B) Set up a static route between NO CARRIER and the Internet to allow the
NO CARRIER machines to access the net through the dual-NIC machine. (I've
tried simply setting the route to 0.0.0.0 to the Internet gateway, which
seems like the logical solution, but that doesn't get the results I want)
Thanks in advance if you can help, and if you can't thanks for taking the
time to read my woes ;)
 
G

Guest

It's a workstation. The binding order fixed the problem of the NO CARRIER nic assuming control of default routing, thanks muchly! :D
 
M

Marina Roos

Great! Thanks for reporting back.

--
Regards,

Marina

inhaler said:
It's a workstation. The binding order fixed the problem of the NO CARRIER
nic assuming control of default routing, thanks muchly! :D
 

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