Hi. /31 on ethernet links
Sebastian Hyrwall
sh at keff.org
Sat Oct 31 13:35:17 UTC 2009
Nikos Vassiliadis skrev:
> Sebastian Hyrwall wrote:
>> Chuck Swiger skrev:
>>> inside, or using a /32 and an explicit default route via your
>>> ethernet interface.
>>>
>> Unfortunetly that doesn't work. It just sets 192.1.1.2 as broadcast.
>>
>> Well wrapping a /31 inside of a /30 kinda defeats the purpose :)
>>
>
> You could still use a /32 and then add a route for the other IP via
> the ethernet interface. This is effectively the same with a /31.
>
Does not work,
# ifconfig re0.212 172.16.25.10 netmask 255.255.255.255
# route add 172.16.25.11 -iface re0.212
add host 172.16.25.11: gateway re0.212
# ping 172.16.25.11
36 bytes from 172.16.25.10: Redirect Host(New addr: 172.16.25.11)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 bdbb 0 0000 40 01 0000 172.16.25.10 172.16.25.11
More information about the freebsd-net
mailing list