I have a ethernet port connected to the LAN of my company. I have a Broad Band connection to the USB port. But If I have to connect to the company LAN, I have to disable the the USB port network connectivity and vice versa.

Is there any provision to route the LAN related IPs to the ethernet and other IPs to the USB Port.

Dani AI

Generated

A short, practical explanation and set of fixes to let both links coexist (based on the exchange between and ).

The usual cause is routing — both interfaces install a default route and the OS sends most traffic out whatever default it prefers. Local/intranet addresses need explicit routes that point at the LAN interface; general Internet traffic should use the other link. Two reliable approaches are: remove the unwanted default gateway and add explicit routes for intranet subnets, or leave both gateways but add static routes and/or change adapter metrics so the LAN is chosen for local addresses.

Suggested steps (high level):

  • Identify the intranet subnets and the correct next-hop for the LAN interface (ask IT or inspect the adapter settings).
  • Remove the default gateway from the interface that should not be the global default, or keep the ISP gateway and add routes for intranet subnets that point to the LAN next-hop.
  • Add persistent static routes so they survive reboots. Example syntax (replace placeholders):
route -p ADD <intranet-network> MASK <netmask> <next-hop-ip> METRIC <n>
  • Verify the routing table and trace a problematic destination to see which gateway is used (use the OS routing/trace tools).

Notes and cautions: static routes are precise and preferred for intranet traffic. Changing adapter metrics can help but is less explicit. If the company enforces specific DNS/proxy/VPN policies, follow those rules — some environments block split-tunneling or require proxies for intranet access. If DHCP keeps restoring an unwanted gateway, talk to the network admin or use a startup script that reapplies the persistent routes.

For reference on persistent route syntax and the role of the default gateway see the Microsoft route command documentation and a short primer on default gateways:

Default gateway (Wikipedia)

Just a question , Why do you have to disable the USB port to connect to your company's network ?
The two should be able to run together surely !
think i'll need some more info if we're going to figure out this connundrum
yours sincerely
the gagman

I am using WinXP. My company Intranet uses the IP range to with the subnet 255.255.255.128.

I use browsers both IE & Mozilla for browing the company resource and Internet resource. When both Ethernet & USB are enabled I am neither able to connect the company resource nor the resource in Internet. I get the error The page cannot be displayed in IE and Time Out error in Mozilla.

Kindly help me overcome the above problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.