Y
Hacker News
new
|
ask
|
show
|
jobs
by
mb0
3962 days ago
hostname -i on cb.vu says the IP address is 78.31.70.238, but if you ping a host from the interface, the pings originate from 178.33.34.4 (according to tcpdump).
3 comments
samstave
3962 days ago
I love the "why not try this" attitude of your comment.
Is this due to an LB fronting?
link
c22
3962 days ago
On this system hostname -i says 127.0.1.1, despite this address not being set on any of my interfaces (lo0 is 127.0.0.1).
link
c22
3962 days ago
It looks like hostname -i is getting its value from /etc/hosts. hostname --all-ip-addresses returns the correct result.
link
collinmanderson
3959 days ago
ip route get 8.8.8.8 | head -1 | cut -d' ' -f8
link
Is this due to an LB fronting?