Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 11:44:24 -0500 (EST)
From:      "Questions" <questions@totaldiver.net>
To:        questions@freebsd.org
Subject:   ping: sendto: Can't assign requested address
Message-ID:  <53833.71.122.228.226.1169138664.squirrel@mail.totaldiver.net>

next in thread | raw e-mail | index | archive | help

Hello,


Let me preface this mail by saying:  I'm an idiot.


Now that we've gotten that out of the way, you don't have to say it!


I have a piece of networking equipment that does not have a "factory
defaults" button on it.   it has to be RMA'd and returned to the
manufacturer if you can't remember login credentials (forgot
username,pass/IP, etc)

I was assigning the unit an IP address of 172.20.1.x but I typod it.   
127.20.1.x and as you can guess,  I can't connect to the unit from any
other device now.   127.x is loopback.

I have tried assigning a 127.20.1.x address to an ethernet interface in a
FreeBSD box,  and removinging the 127.0.0.1/8 on localhost.   I've also
gone into the routing table,  and removed all traces of routes for 127.x 
and finally,  *tried* creating a route for 127.20.1.x to go out the
ethernet interface (link #2)

The problem with everything above is:  no matter what ip/subnet
combination I use, I get a message (when adding the route) that the
network is unreachable.   Then,  when I try to ping the device from the
fbsd box,  I get "ping: sendto: Can't assign requested address"

My question is:  Is it possible in any way, to change the 127 routing to
pass out my ethernet card long enough to re-ip this device?  I haven't yet
come up with a decent solution.

Thanks for any thoughts,

Jeff





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53833.71.122.228.226.1169138664.squirrel>