Date: Thu, 6 Dec 2001 16:27:36 +0100 (CET) From: Alexander Leidinger <Alexander@Leidinger.net> To: ru@FreeBSD.ORG Cc: brian@freebsd-services.com, brian@FreeBSD.ORG, current@FreeBSD.ORG, isdn@FreeBSD.ORG Subject: Re: rev 1.61 of /sys/netinet/in.c breaks ISDN Message-ID: <200112061527.fB6FRbL01758@Magelan.Leidinger.net> In-Reply-To: <20011206162840.C82299@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6 Dez, Ruslan Ermilov wrote:
>> > with rev 1.61 of in.c I4B directly hangs up after dialing out. At the
>> > moment I run a current kernel as of yesterday with a netinet directory
>> > as of today except for in.c (which is at rev 1.60 here) and everything
>> > works fine.
>> Can you give me more details about the failure - error messages, your
>> configuration, what you're using (sppp?), that sort of stuff ?
- isppp
- No error messages, just normal call clearing, but immediatly after
dialing out.
---snip---
(1) root@ttyp1 # </etc/start_if.isp1
ifconfig isp1 link1 0.0.0.0 0.0.0.1 netmask 255.255.0.0
ispppcontrol isp1 $(cat /etc/isdn/connect-CBC.parameters) enable-vj
ifconfig isp1 down
---snip---
Do you need more? What else?
>> The change makes the kernel fail attempts to add POINTOPOINT
>> interfaces with conflicting IPv4 destination addresses.
>>
>> Are you in a situation where you're expecting this to be possible ?
Yes.
>> If so, can you explain more about why it's required ?
>>
> ISTR that I4B uses some special magical destination address for some
> purpose (0.0.0.0 or something). Sorry, don't recall the details.
> But I bet Alexander knows, as we already hit this once, with my
> routing changes, some time ago...
Online:
---snip---
(4) netchild@ttyp1 % ifconfig isp1
isp1: flags=a051<UP,POINTOPOINT,RUNNING,LINK1,MULTICAST> mtu 1500
inet 213.6.44.137 --> 0.0.0.1 netmask 0xffff0000
ether 00:00:00:00:00:00
---snip---
While offline, the interface has a local address of 0.0.0.0. It changes
to the official IP after getting it via pap, and it changes back to
0.0.0.0 after a hang up.
Online:
---snip---
(6) netchild@ttyp1 % netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 0:0:0:0:0:0 USc 34 0 isp1
0.0.0.1 213.6.44.137 UH 0 0 isp1
[...]
---snip---
For more internals you better ask someone with in deep knowledge, e.g.
{hm,isdn,joerg}@freebsd.org.
Bye,
Alexander.
--
Intel: where Quality is job number 0.9998782345!
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112061527.fB6FRbL01758>
