Hi,

My interface has a /32 IP address and the gateway is .254.  Obviously I
need to do something special with the routing table because the router
is not accessible.

Until 5.7 I used to add a direct route to the router and then add a
default route as usual:

# ifconfig em0 inet a.b.c.d/32
# route add -llinfo -iface -host a.b.c.254 a.b.c.254 -ifp em0
# route add dfault a.b.c.254


Then it broke on 5.8 and I had to switch to:

# ifconfig em0 inet a.b.c.d/32
# route add -llinfo -iface -net default a.b.c.254 -ifp em0


But on 5.9, boths setups don't work:

# ping a.b.c.254
PING a.b.c.254 (a.b.c.254): 56 data bytes
ping: sendto: Invalid argument
ping: wrote a.b.c.254 64 chars, ret=-1


Can anyone advise the proper way to do this please?
Thanks!
-- 
Jeremie Le Hen

My PIN is the last four digits of Pi.

Reply via email to