Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 15:43:43 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: cannot ssh into a box with DHCP assigned IP address
Message-ID:  <20130220144343.GA9073@tiny.Sisis.de>
In-Reply-To: <685C610D-D19A-46FE-851F-3A00EACF3AE3@my.gd>
References:  <201302201355.r1KDt8Lt063091@mech-cluster241.men.bris.ac.uk> <685C610D-D19A-46FE-851F-3A00EACF3AE3@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Wednesday, February 20, 2013 a las 03:18:47PM +0100, Fleuriot Damien escribió:

> > Well.. what should it be?
> > I have on the problem box (ssh server):
> > 
> > wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1
> > 500
> >        ether 00:21:5c:50:68:c3
> >        inet 172.21.220.12 netmask 0xfffffc00 broadcast 255.255.255.255
> >        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> >        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
> >        status: associated
> >        ssid eduroam channel 1 (2412 MHz 11g) bssid 00:3a:98:62:cd:a0
> >        country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
> >        AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 14 bmiss 10 scanvalid 450
> >        bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
> >        protmode CTS wme roaming MANUAL
> > 
> > I'm trying to ssh from 137.222.187.241.

The class B network 172.16.0.0 to 172.31.255.255 is not routed in
Internet (see RFC1918). This is a so called "private addr" you get from
your Access Point. It is hided by the AP (or by some other router more
far away) behind a real IP addr. You can check what this addr is by
going to the page http://myip.nl/

And you can not SSH to the addr shown there, at least normally it would not
be NAT'ed to your addr you got by DHCP.

No way.

	matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz               |  - No system with backdoors like Apple/Android
E-mail: guru@unixarea.de     |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211       |  - Respect for open standards



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