Multiple IPv4 addresses per NIC (w/o aliases, VLANs, etc.)
warlord at MIT.EDU
Tue Sep 18 10:24:00 EDT 2018
Kyle Smith <askreet at gmail.com> writes:
> Totally legitimate feature/functionality. I never understood why ifconfig
> doesn't seem to support the full feature set of the kernel, probably just to
> maintain legacy compatibility. IIRC it dates back to at least 2.2 and predates
> IPv6 being compiled into most distros.
> Having multi IP addresses on a single device is pretty critical to having
> Linux act as a reasonably complex router, gateway, NAT gateway, etc.
It really only needs multiple addresses on a single physical device.
It doesn't really matter if they are the same logical device or if they
are virtual. I.e., it doesn't matter if it's eth0 or eth0:0.
This is from personal experience.
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnhlug-discuss