Subject: Re: "connect: Can't assign requested address" using netbsd1.5 when going off-subnet
To: None <bouyer@antioche.lip6.fr>
From: Dave Christiansen <cheddardeity@hotmail.com>
List: netbsd-help
Date: 01/13/2001 23:33:13
>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
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33228
	inet 127.0.0.1 netmask 0xff000000
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
	inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
strip0: flags=0<> mtu 1100
	inet 0.0.0.0 netmask 0xff000000
strip1: flags=0<> mtu 1100
	inet 0.0.0.0 netmask 0xff000000
tun0: flags=10<POINTOPOINT> mtu 1500
tun1: flags=10<POINTOPOINT> mtu 1500
gre0: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
gre1: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
ipip0: flags=8010<POINTOPOINT,MULTICAST>
ipip1: flags=8010<POINTOPOINT,MULTICAST>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280

------------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

XNS:
Destination        Gateway            Flags     Refs     Use    Mtu  
Interface

ISO:
Destination        Gateway            Flags     Refs     Use    Mtu  
Interface

X.25:
Destination        Gateway            Flags     Refs     Use    Mtu  
Interface

AppleTalk:
Destination        Gateway            Flags     Refs     Use    Mtu  
Interface

Internet6:
Destination                   Gateway                   Flags     Refs     
Use    Mtu  Interface
::1                           ::1                       UH          0        
0  33228  lo0
fe80::%sip0/64                link#1                    UC          0        
0   1500  sip0
fe80::867:3bff:fee0:98a8%sip0 ::1                       UH          0        
0  33228  lo0
fe80::%lo0/64                 fe80::1%lo0               U           0        
0  33228  lo0
ff01::/32                     ::1                       U           0        
0  33228  lo0
ff02::%sip0/32                link#1                    UC          0        
0   1500  sip0
ff02::%lo0/32                 fe80::1%lo0               UC          0        
0  33228  lo0


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com