* Namespaces and pppd
@ 2018-04-30 12:08 Goran
2018-04-30 15:15 ` Michael Richardson
0 siblings, 1 reply; 2+ messages in thread
From: Goran @ 2018-04-30 12:08 UTC (permalink / raw)
To: linux-ppp
I'm trying to get pppd to create a ppp0 device inside a namespace.
I've tried something like this
ip netns add physical
ip link set enp5s0f0 netns physical
ip netns exec physical pppd call my-isp
pppd starts, I can see it in the process-list, but no ppp0 device is created.
Is there a solution?
Regards
Goran
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Namespaces and pppd
2018-04-30 12:08 Namespaces and pppd Goran
@ 2018-04-30 15:15 ` Michael Richardson
0 siblings, 0 replies; 2+ messages in thread
From: Michael Richardson @ 2018-04-30 15:15 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
Goran <sendmailtogoran@gmail.com> wrote:
> I've tried something like this
> ip netns add physical
> ip link set enp5s0f0 netns physical
> ip netns exec physical pppd call my-isp
> pppd starts, I can see it in the process-list, but no ppp0 device is created.
> Is there a solution?
I assume that you read the log and you can see it connect successfully?
I was just thinking if one could test this by creating a ppp device manually
with ip link add, but I thnk we can only create one with an ioctl().
And you looked within that netns for the ppp interface??
(I'd expect it to show up inside)
I also want to do what you just described.
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | network architect [
] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 464 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-30 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-30 12:08 Namespaces and pppd Goran
2018-04-30 15:15 ` Michael Richardson
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).