What does just ifconfig (by itself) say?  And route by itself?  What's
your /etc/network/interfaces file like?

I think the 69.254.163.253 is the IP assigned dynamically by your
router.  Or it's your router's IP.  But I think 69.254.163.x is your
outside IP.

I'm not familiar with ip.  Route shows me:
upstairs# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         phone           0.0.0.0         UG    0      0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.43.0    0.0.0.0         255.255.255.0   U     0      0        0 wlan0
upstairs#

Where phone (in my hosts file as 192.168.43.1) is my default gateway,
I think DHCP ,makes that the default route, maybe I set it manually
(not in a year or more).

You can play with the metric numbers too if you want to assign
priorities.  I'm procrastinating trying to get wifi, dialup and an
ethernet printer working on an XP box.  It thinks the internet is the
printer, it goes nowhere until I disable that interface.

Ah, OK, I cheated and looked it up:
route add default gw {IP-ADDRESS} {INTERFACE-NAME}
from 
https://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/

You need both "default and "gw" in there.



On 6/15/19, Gene Heskett <ghesk...@shentel.net> wrote:
> Greetings;
>
> I am about to install a stretch on an r-pi-3b. Then let it update to the
> latest, with an eye toward a buster update when its released.
>
> But this will be driving a lathe, so it needs the best latency figures
> that can be obtained by later linux-rt kernels, prefereably in the
> 4.19.whatever category.  I have some debs already built that once
> installed, should handle that.
>
> Some later:
>
> armhf Stretch is now installed but host file style networking is not
> making the transition from local domain to outside network because any
> ping to an outside address such as yahoo.com IS NOT coming from the
> local domain address, but the avahi-daemon returned address. I my
> networking scheme there is no such machine defined anyplace.
> Only "localhost" defined anyplace is 127.0.0.1 in the /etc/hosts file
>
> A sudo grep -R 169. * returns only those lines I commented out. and
> restarted networking each time.
>
> Where the heck is machinename.local, defined as 169.254.x.x coming from,
> and more importantly how do I get rid of it once and forever?
>
> ip a shows duplicate inet lines for eth0 and I can't get rid of this one:
>
>    inet 169.254.163.253/16 brd 169.254.255.255 scope global eth0
>        valid_lft forever preferred_lft forever
>
> ip r returns this:
>
> default dev eth0 proto kernel scope link src 169.254.163.253 metric 202
> 169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.163.253
> metric 202
> 192.168.71.0/24 dev eth0 proto kernel scope link src 192.168.71.12
>
> And obviously I need to make the 3rd line the default.
>
> How do I fix this?
>
> Thanks all.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
>


-- 
-------------
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Cities are cages built to contain excess people and keep them from
cluttering up nature.
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach

Reply via email to