[Rack] default gw doesn't work

Jonathan Lassoff jof at thejof.com
Tue Mar 2 04:25:26 UTC 2010


Excerpts from Ian Atha's message of Mon Mar 01 20:14:05 -0800 2010:
> Here's what happens from my machine, connected to noisebridge-a.
> At least two other folks have experienced this.
> 
> joinglossary-lm:~ thatha$ uname -a
> Darwin joinglossary-lm 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
> 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
> joinglossary-lm:~ thatha$ /sbin/route get 172.30.0.2
>    route to: 172.30.0.2
> destination: 172.30.0.2
>   interface: en1
>       flags: <UP,HOST,DONE,LLINFO,WASCLONED>
>  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
>        0         0         0         0         0         0      1500      1177
> joinglossary-lm:~ thatha$ ping 172.30.0.2
> PING 172.30.0.2 (172.30.0.2): 56 data bytes
> ^C
> --- 172.30.0.2 ping statistics ---
> 10 packets transmitted, 0 packets received, 100% packet loss
> joinglossary-lm:~ thatha$ arp -a | grep "(172.30.0.2)"
> ? (172.30.0.2) at 0:0:24:c0:fd:48 on en1 [ethernet]
> 
> Also, ping -r 172.30.0.2 (bypasses routing tables and sends directly
> to a host on an attached network)
> joinglossary-lm:~ thatha$ sudo ping -r 172.30.0.2
> PING 172.30.0.2 (172.30.0.2): 56 data bytes
> ^C
> --- 172.30.0.2 ping statistics ---
> 5 packets transmitted, 0 packets received, 100% packet loss

Ok, you're not crazy, I just experienced this too. I think it will
depend on which IP the DHCP daemon hands out to you.  The netmask on the
"inside" interface on gorilla was misconfigured, so hosts with IPs
inside 172.30.0.0/24 would have worked, but .1.0/24 and above (the
proper subnet is /22) will break.

About to fix this in a moment...

--j



More information about the Rack mailing list