Downtown WiFi DHCP (WAS: Re: [wplug] More on downtown WiFi (fwd))

Brian A. Seklecki lavalamp at spiritual-machines.org
Wed Feb 21 09:18:04 EST 2007


They must have some windows admins running this operation (well, the 
payment system is PHP, but...)

Check this: the DHCP server servicing the APs providing service to Oxford 
Center Atrium/Arboretum gives out a /32 subnet mask on lease offers, so 
the default gateway they offer is unreachable.  Very cute.  Amature.

[seklecki at ingress ~]$ sudo dhclient eth0
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.

Listening on LPF/eth0/00:12:f0:19:82:72
Sending on   LPF/eth0/00:12:f0:19:82:72
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.100.1.32
>>>>>>> SIOCADDRT: Network is unreachable
bound to 10.100.8.241 -- renewal in 38764 seconds.

[seklecki at ingress ~]$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:12:F0:19:82:72
           inet addr:10.100.8.241  Bcast:10.100.8.241  Mask:255.255.255.255
           inet6 addr: fe80::212:f0ff:fe19:8272/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1073 errors:0 dropped:444 overruns:0 frame:0
           TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:341442 (333.4 KiB)  TX bytes:4200 (4.1 KiB)
           Interrupt:7 Base address:0x2000 Memory:fcffe000-fcffe

[seklecki at ingress ~]$ ping 10.100.8.1
connect: Network is unreachable

$ more /var/lib/dhcp/dhclient.leases
lease {
   interface "eth0";
   fixed-address 10.100.8.241;
   option subnet-mask 255.255.255.255;
   option routers 10.100.0.1;
   option dhcp-lease-time 86400;
   option dhcp-message-type 5;
   option domain-name-servers 10.100.0.1;
   option dhcp-server-identifier 10.100.0.1;
   renew 4 2007/2/22 00:01:31;
   rebind 4 2007/2/22 10:59:31;
   expire 4 2007/2/22 13:59:31;
}
lease {
   interface "eth0";
   fixed-address 10.100.8.241;
   option subnet-mask 255.255.255.255;
   option routers 10.100.0.1;
   option dhcp-lease-time 86400;
   option dhcp-message-type 5;
   option domain-name-servers 10.100.0.1;
   option dhcp-server-identifier 10.100.0.1;
   renew 4 2007/2/22 00:49:00;
   rebind 4 2007/2/22 11:02:56;
   expire 4 2007/2/22 14:02:56;
}


[seklecki at ingress ~]$ sudo ifconfig eth0 netmask 255.255.0.0


[seklecki at ingress ~]$ sudo route add default gw 10.100.1.32
sudo route add default gw 10.100.1.32


[seklecki at ingress ~]$ sudo route add default gw 10.100.1.32
ping 10.100.1.32

[seklecki at ingress ~]$ ping 10.100.1.32
PING 10.100.1.32 (10.100.1.32) 56(84) bytes of data.
64 bytes from 10.100.1.32: icmp_seq=1 ttl=64 time=11.1 ms
64 bytes from 10.100.1.32: icmp_seq=2 ttl=64 time=3.51 ms

--- 10.100.1.32 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 3.511/7.308/11.106/3.798 ms

[seklecki at ingress ~]$ traceroute -n 1.2.3.4
traceroute to 1.2.3.4 (1.2.3.4), 30 hops max, 38 byte packets
  1  10.100.1.32  2.814 ms  1.933 ms  1.963 ms
  2  10.100.1.30  12.836 ms  21.223 ms  4.184 ms
  3  10.100.1.29  6.847 ms  12.772 ms  19.456 ms



l8*
 	-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
 	       http://www.spiritual-machines.org/

---------- Forwarded message ----------
Date: Fri, 15 Sep 2006 22:47:15 -0400
From: Christopher DeMarco <cmd at alephant.net>
Reply-To: General user list <wplug at wplug.org>
To: General user list <wplug at wplug.org>
Subject: Re: [wplug] More on downtown WiFi

On Fri, Sep 15, 2006 at 10:44:16PM -0400, Patrick Wagstrom wrote:

> It's a simple value proposition.  Go home to dialup and a leaky


More information about the wplug mailing list