Two IP addresses on one IF

Chris Johns chrisj at rtems.org
Sun Oct 4 21:44:03 UTC 2009


Leon Pollak wrote:
> 
> How (if ever) can one assign two different IP addresses (from different 
> subnets) to one Ethernet interface?
> 

Have you tried aliasing the interface ? The networking supplement has an 
example:

http://www.rtems.org/onlinedocs/doc-current/share/rtems/html/networking/networking00030.html

I cannot remember if it handles different subnets or not. You may need 
to play with the routine tables as well.

Regards
Chris



More information about the users mailing list