Has anyone successfully set up a dual home (two IP addresses and subnets)
on an Ethernet interface?

Each network device has only a couple of IP address (well, a single IPv4 address and a single IPv6 address) and a router IP address.  But think that the functionality can be supported, but I have never personally tested such a configuration.   There are really to sides to be discussed.

For output going packets, you can use the NuttX routing tables to direct any subnet traffic to an network device.  the form of the routing table entry is:  Destination subnet (IP address and network mask) and the router IP address.  Anything matching the subnet will go to the router IP address.

So I think that does the job.

For incoming messages, the filter is, of course, done by MAC address so we only need to make sure that remote peers get the right MAC address from an ECHO request via ARP or IPv6 neighbor logic.  Here things get sketchy for me.  I suspect everything is in place.. These lookups would also have to go through the routing table.  But I would have to actually look at the code to say more.

Maybe someone else has worked more in that configuration and can offer better insight.

Greg

Reply via email to