Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6907127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:23:47+00:00 2026-05-27T08:23:47+00:00

I have trouble to configure my network to access my device with a friendly

  • 0

I have trouble to configure my network to access my device with a friendly name. Here is my situation:

   LAN
    ^
----¦----  USB/ETH   ------------------
¦  PC   ¦ ---------> ¦ Embedded device¦
---------            ------------------

What I’d like to do is using a friendly DNS name to access my device, for example opening a webrowser, typing “mydevice” and acces the web page of my device. I use dnsmasq as DNS/DHCP server.

It didn’t work because after configuring my USB network adapter, my PC always use the USB/ETH as default route and the outside world is not reachable (Under Linux and Windows).

Solution 1 : Removing default route from the DHCP server.

This worked fine under Linux but my Windows 7 doesn’t want to set the IP address and shows a very clear error message:

Your computer was not assigned an address from the network (by the
DHCP Server) for the Network Card with network address 0x001830000000.
The following error occurred: 0x79. Your computer will continue to try
and obtain an address on its own from the network address (DHCP)
server.

Solution 2: Changing the metric of the USB/ETH interface

I got this solution from there: http://support.microsoft.com/kb/894564

This worked fine under Windows however, I’d like to make things “automagic” and avoid the need to go into Windows configuration! On my Linux host, as the default route is now configured, I’m back to the first situation.

As the metric is computed locally I was wondering if it is really possible to change this value from the DHCP server (probably not!)? Do you have any suggestion to make this weird network configuration to work in any case with both operating systems? Or is it possible to “fake” a slow connection on my embedded device to force the operating system putting a higher metric?

Thanks for your suggestions!

EDIT 1

I’d like to avoid any manipulation from the PC …

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:23:48+00:00Added an answer on May 27, 2026 at 8:23 am

    If this were my problem to solve, I’d use different RFC 1918 address blocks for the two different networks: I’d use e.g 192.168.0.0/16 for the LAN and 10.0.0.0/8 for the device connected over the USB-mounted Ethernet device. (Yes, 16 million IPs are way more than it needs, but I prefer the 192.168.0.0/16 range for my own network. 10.0.0.0/8 never felt right.)

    ip route add 192.168.0.0/16 dev eth0
    ip route add 10.0.0.0/8 dev <name of usb eth device> src 10.0.0.1
    ip route add default via <router> dev eth0
    

    You’ll have to configure your device to have the corresponding address in 10.0.0.0/8 — not 10.0.0.1 — and make sure your device knows how to route to 10.0.0.0/8 over its interface too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have trouble figuring out why a simple division like this one always returns
I'm trying to configure my application in facebook but I have a trouble. My
Here's the situation: I'm working on an application which allows automated management of network
We have trouble implementing a nice session mechanism in JSP. One of our requirement
I have trouble with strange behavior of for..in cycle in JavaScript. I have the
I have trouble doing this... You may want to get the same result as
I have trouble shooting at file download problem. In Chrome, the download works fine.
I have trouble accessing filestream via SqlFileStream. Sql server and IIS7 are on different
I have trouble where, for some reason, SVN would only merge the newly generated
I have trouble launching Glassfish v3 on Mac In Windows, after installation of Glassfish

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.