LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-16-2018, 09:42 PM   #1
rksyeung
Member
 
Registered: Feb 2018
Posts: 71

Rep: Reputation: Disabled
Where does this IP address come from?


I used a prebuilt tarball from Yocto to boot up an evaluation board (a brand new one with no persistent IP address configuration).

In my dmesg or messages, I don't have any DHCP logs. I also couldn't find any dhcp client in "ps" output. Instead, I got something about avahi daemon. I did some googling, and found that if an IP address was allocated by avahi, it'd be IPv4LL (local-link) with 169.x.x.x subnet. Instead, I'm getting a "proper" IP address of 10.3.x.x that is in range of my lab subnet.

While things seem to be working, I'd like to understand this, and avoid possible conflicts. Logs fragment below.

Thanks,
Raymond

root@intel-corei7-64:/var/volatile/log# grep -i 10.3 log-r2
May 4 02:22:00 intel-corei7-64 daemon.info avahi-daemon[974]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.3.116.211.
May 4 02:22:00 intel-corei7-64 daemon.info avahi-daemon[974]: Registering new address record for 10.3.116.211 on eth0.IPv4.
May 4 02:22:00 intel-corei7-64 daemon.info connmand[923]: eth0 {add} address 10.3.116.211/24 label eth0 family 2
May 4 02:22:00 intel-corei7-64 daemon.info connmand[923]: eth0 {add} route 10.3.116.0 gw 0.0.0.0 scope 253 <LINK>
May 4 02:22:00 intel-corei7-64 daemon.info connmand[923]: eth0 {add} route 10.3.116.1 gw 0.0.0.0 scope 253 <LINK>
May 4 02:22:00 intel-corei7-64 daemon.info connmand[923]: eth0 {add} route 10.3.254.200 gw 10.3.116.1 scope 0 <UNIVERSE>
May 4 02:22:00 intel-corei7-64 daemon.info connmand[923]: eth0 {add} route 10.1.11.200 gw 10.3.116.1 scope 0 <UNIVERSE>
May 4 02:22:00 intel-corei7-64 daemon.info connmand[923]: eth0 {add} route 0.0.0.0 gw 10.3.116.1 scope 0 <UNIVERSE>
May 4 02:22:01 intel-corei7-64 daemon.info connmand[923]: eth0 {add} route 212.227.81.55 gw 10.3.116.1 scope 0 <UNIVERSE>
May 4 02:22:01 intel-corei7-64 daemon.info connmand[923]: eth0 {del} route 212.227.81.55 gw 10.3.116.1 scope 0 <UNIVERSE>
 
Old 03-17-2018, 09:24 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,088
Blog Entries: 28

Rep: Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087
It would help to know a little more about your network configuration to do more than theorize. Generally, ip address of 10.xxx.xxx.xxx are used in local networks. If you set up a virtual machine with a NAT connection, the ip address normally is within that range. My best guess is that prebuilt tarball you refer to is set up to use NAT, but that is only a guess.

You could try a whois or traceroote to find out more about this address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using arp for converting ip address to mac address in kernel module programing in c karan2386 Linux - Kernel 1 03-31-2012 06:02 AM
Program to assign globa lIPv6 address and bind() to the previously assigned address. mwnn Linux - Networking 2 10-07-2010 03:29 AM
Address Space Randomization on 2.6.28-15-generic ubuntu 9.04. Finding base address nullprocess Linux - Security 1 09-15-2009 01:56 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration