tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Static interface routes for IP address on different subnet doesn't send an ARP who-has

Using -net and -cloning together does the trick:

# route add -net -link -cloning -iface vioif0

Destination Gateway Flags Refs Use Mtu Interface 52:54:00:40:aa:16 UHLc 0 8 - lo0 => link#1 UC 1 0 - vioif0 52:54:00:07:a6:f6 UHLc 0 3 - vioif0 => link#1 UCS 1 0 - vioif0


On 2013-08-22 10:15 AM, David Young wrote:
On Thu, Aug 22, 2013 at 10:04:48AM -0700, Peter Kieser wrote:
I tried the route cloning suggestion to see if it would work for the
/32, on NetBSD 6.1:

# ifconfig vioif0 inet netmask
# route add -host -link -cloning -iface vioif0
add host gateway vioif0
What's the routing table in NetBSD look like at each step?

Hmm, -host doesn't make sense with -cloning.  Perhaps you will get a
different result from 'add -net' instead of 'add -host'?


Peter Kieser <> / 604.338.9294

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Home | Main Index | Thread Index | Old Index