Re: route(1): add an address family validation

2021-09-03 Thread morimoto
> I don't think the entry is pointless. There are setups where nexthop of > different address family do make sense. Things like rfc5549 can do > IPv4 over IPv6 Core. In some cases this is used for network autodiscovery > (using IPv6 link-local addresses as nexthops). I didn't understand them. As

Re: route(1): add an address family validation

2021-08-27 Thread Claudio Jeker
On Fri, Aug 27, 2021 at 03:58:23PM +0900, morimoto wrote: > hi, > I found an interesting issue while toying routing. > route(1) accepts IPv4 destination and IPv6 gateway entry. > command is as below: > route add 192.0.2.1 2001:db8::1 > > Curiously it has no error. > The entry is pointless, I

route(1): add an address family validation

2021-08-27 Thread morimoto
hi, I found an interesting issue while toying routing. route(1) accepts IPv4 destination and IPv6 gateway entry. command is as below: route add 192.0.2.1 2001:db8::1 Curiously it has no error. The entry is pointless, I think it should teach a mistake. If destination and gateway address family