Subject: Re: SO_DONTROUTE clashes with arpresolve(9)
To: None <tech-net@netbsd.org>
From: David Young <dyoung@ojctech.com>
List: tech-net
Date: 11/19/2002 23:21:40
Paul is correct.  They are on the same subnet.

The -r flag skips routing. Since 63.146.38.211 is one hop away, I should
be able to ping it with -r. I cannot.

Dave

On Tue, Nov 19, 2002 at 08:06:39PM -0800, Paul Goyette wrote:
> By my calculations, it _is_ within the /27:
> 
>                             /27 = 0b11100000
> 214 = 0xd6 = 0b11010110  masked = 0b11000000
> 208 = 0xd0 = 0b11010000  masked = 0b11000000
> 
> Since both the destination and the gateway, when masked with /27, have
> the same value, they're both on the same subnet.
> 
> Unless I'm missing something very basic....
> 
> On Wed, 20 Nov 2002 itojun@iijlab.net wrote:
> 
> > >  # warning: do not run this before you read the whole e-mail
> > >  ifconfig tlp0 inet 63.146.38.214/27
> > >  route add -host 63.146.38.211 63.146.38.208
> > >  ping -rn 63.146.38.211
> >
> > 	gateway field in the routing table has to be reachable directly
> > 	(= has to be within 63.146.38.214/27), if i understand correctly.
> >
> > itojun
> >
> 
> ----------------------------------------------------------------------
> |   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
> | Network Engineer | 9DC5 05CF 1AE7 DC42 CCC6 |  paul@whooppee.com   |
> |  & World Cruiser | 6858 051E 7AD2 A6B2 4954 | pgoyette@juniper.net |
> ----------------------------------------------------------------------

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Engineering from the Right Brain
                        Urbana, IL * (217) 278-3933