From: Michael Richardson <mcr@sandelman.ca>
To: Devesh Chipade <devesh@in-unison.com>
Cc: Paul Mackerras <paulus@ozlabs.org>, linux-ppp@vger.kernel.org
Subject: Re: PPP Modem Hangup
Date: Fri, 13 Sep 2024 14:00:42 -0400 [thread overview]
Message-ID: <539828.1726250442@dyas> (raw)
In-Reply-To: <CAPKvdWf=Ey-XFvsF=bsZPgsE-Jgf5abspukPWCGh-oR9GSQWEw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]
Devesh Chipade <devesh@in-unison.com> wrote:
> I am still not able to ping into ubuntu/linux or into my aosp target
> device without explicitly mentioning -I ppp0 interface. ping -I ppp0
> 10.0.0.1 / ping -I ppp0 10.0.0.2 works but ping 10.0.0.1 / ping
> 10.0.0.2 does not work,
Android does stuff with the networking stack so that it can live in multiple
provider domains. So the default route (if it exists) often lives in a
alternate routing table.
> I have verified the ip route, ip tables, ip addr show as well as
> ifconfig (both on linux and aosp target). Seems to be all good in it.
> Any suggestions?
you didn't post details, but..
if you tcpdump on your Ubuntu side, you'll probably see that AOSP side has
picked some other IP address as the source. If you really want to fix that,
then add a route back to the ppp0 device on the ubuntu side, but probably you
just need to make sure that the Android side always uses the right source IP.
--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
-= IPv6 IoT consulting =- *I*LIKE*TRAINS*
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2024-09-13 18:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 22:55 PPP Modem Hangup Devesh Chipade
2024-09-10 12:39 ` Michael Richardson
2024-09-10 16:42 ` Devesh Chipade
2024-09-10 18:23 ` Michael Richardson
2024-09-10 18:30 ` Devesh Chipade
2024-09-10 23:53 ` Paul Mackerras
2024-09-11 0:10 ` Devesh Chipade
2024-09-13 1:43 ` Devesh Chipade
2024-09-13 18:00 ` Michael Richardson [this message]
2024-09-13 18:33 ` Devesh Chipade
2024-09-13 20:33 ` Devesh Chipade
2024-09-13 23:03 ` Michael Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=539828.1726250442@dyas \
--to=mcr@sandelman.ca \
--cc=devesh@in-unison.com \
--cc=linux-ppp@vger.kernel.org \
--cc=paulus@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).