Subject: Re: "connect: Can't assign requested address" using netbsd1.5 when going off-subnet
To: Dave Christiansen <cheddardeity@hotmail.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 01/14/2001 14:30:16
On Sat, Jan 13, 2001 at 11:33:13PM -0800, Dave Christiansen wrote:
> >From: Manuel Bouyer <bouyer@antioche.lip6.fr>
> >Date: Fri, 12 Jan 2001 11:14:06 +0100
>
> > > The problem: I can't ftp or sup out to get the packages I want to
> >install.
> > > I get "connect: can't assign requested address".
> >
> >What host are you trying to use ?
>
> I've tried sup.netbsd.org and other hosts, but the host isn't the problem--
> tcpdump sees no traffic generated on the wire using most applications. Ping
> works, as does traceroute (so long as I turn off name resolution-- see
> below).
>
> I've tried a number of hosts to make sure this wasn't an issue of routing
> wierdness-- the only problems (possibly unrelated) I see are with my ISP's
> nameservers. The route taken to get there goes bad a few hops into their
> space. I'd suspect *THEIR* configuration (they've messed up plenty in the
> past) but all of my other DHCP-configured machines seem fine (as was this
> one when it ran 1.2).
>
> >Can you give the output of 'ifconfig -a' and 'netstat -rn' ?
>
> ------------ifconfig-------------
>
> sip0:
> flags=fbff<UP,BROADCAST,DEBUG,LOOPBACK,POINTOPOINT,NOTRAILERS,RUNNING,NOARP,PROMISC,ALLMULTI,SIMPLEX,LINK0,LINK1,LINK2,MULTICAST>
> mtu 1500
> address: 0a:67:3b:e0:98:a8
> media: Ethernet autoselect (10baseT)
> status: active
> inet 4.33.181.11 -> 4.33.183.255 netmask 0xfffff800 broadcast 4.33.183.255
> inet6 fe80::867:3bff:fee0:98a8%sip0 -> :: prefixlen 64 scopeid 0x1
> inet6 ::1 -> ::1 prefixlen 128
This is strange. How does it come the ethernet interface uis point to point ?
Are you using ADSL or something like this ?
> ------------netstat------------
>
> Routing tables
>
> Internet:
> Destination Gateway Flags Refs Use Mtu
> Interface
> 0 0.0.0.0 U 0 0 1100 strip1
> =>
> default 4.33.176.1 UGS 0 59 1500 sip0
> 4.33.176/21 link#1 UC 0 0 1500 sip0
> 4.33.176.1 00:10:67:00:3c:2a UHL 1 0 1500 sip0
> 4.33.181.11 127.0.0.1 UGHS 0 0 33228 lo0
> 127 127.0.0.1 UGRS 0 0 33228 lo0
> 127.0.0.1 127.0.0.1 UH 2 0 33228 lo0
>
Looks fine. I guess
ping -n 4.33.176.1
works ?
What does your /etc/resolv.conf looks like ? Can you ping the nameservers ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
--