Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 15:03:21 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        guru@unixarea.de
Cc:        freebsd-ports@freebsd.org
Subject:   Re: cannot ssh into a box with DHCP assigned IP address
Message-ID:  <201302201503.r1KF3L5v063274@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20130220144343.GA9073@tiny.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
	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

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

fuck.. This is the first thing I should've checked.
Sorry for wasting everybody's time.
The irony is that I know very little about
networking, but the three private IP ranges
is something I actually knew about.

Thanks

Anton



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