[Openswan Users] routing problem with netmask 255.255.255.255

Ted Kaczmarek tedkaz at optonline.net
Tue Sep 7 06:39:56 CEST 2004


On Sun, 2004-09-05 at 12:03, Paul Wouters wrote:
> On Sun, 5 Sep 2004, Alex, Wheeler wrote:
> 
> > Problem: ipsec0 routes do not appear in IP routing table
> >
> > I have the following ipconfiguration:
> >
> > Machine A
> > ifconfig eth0 w.x.y.z broadcast w.x.y.z netmask 255.255.255.255
> > route add 10.255.255.1 dev eth0
> > route add default gw 10.255.255.1
> 
> That's a pretty bogus network configuration. Assuming "w.x.y.z" is
> something your isp gave you, and you don't care for the machines
> at z+1 or z-1, you could change this to:
> 
> ifconfig eth0 w.x.y.z netmask 255.255.255.252
> 
> >
> > conn machineA-to-machineB
> >       auto=start
> >       left=w.x.y.z
> >       rightid=@machineB
> >       right=a.b.c.d
> >       rightrsasigkey=posidcpsodicpsodicpsocipsodicposdicfoobar
> 
> Since it is so weird, I'd put a leftnexthop=10.255.255.1 in there.
> 
> Paul
> _______________________________________________

Why is that config bogus?
/32 is valid, and as long as the broadcast and interface ip are the same
it should not cause any issue.


I only interject as the ability to source dummy interfaces for HA is
something that is of great interest to me, and they are /32's as well.



Ted









More information about the Users mailing list