On Sat, Dec 08, 2001 at 11:44:47PM +0100, Joerg Wunsch wrote:
> As Ruslan Ermilov wrote:
> > > You need to configure /some/ interface address for the remote end
> > > anyway, and it must not clash with any other routing table entry,
> > > since "ifconfig ... up" always adds an entry for the remote IP address
> > > for p2p interfaces.
> > Only if you have INET address configured on an interface.
> That's the purpose of an sppp interface.  You can't do anything with
> it unless an INET address has been configured to it.  (In the case of
> an automatic dialer -- which is what many ISDN users are using -- you
> need the IP traffic generated by normal routing in order to trigger
> the ISDN dialout.)
ifconfig isp0 up
route add default -iface isp0

Won't this work, without prior configuring any INET addresses?
This will definitely trigger a traffic through the interface.

> > Why not just bring the interface up first, then negotiate an address,
> > then add it to interface?
> Because it'll become a chicken-and-egg problem: the interface would
> never start negotiating PPP in that case.
Still don't get it, sorry.  :-)

Ruslan Ermilov          Oracle Developer/DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to