I don't know why this is posted to the security mailing list. Anyway.
Yes it is possible to assign multiple IP addresses to a single network card.
You must enable "IP aliasing" in the kernel. Once you do this you can then
assign an address to eth0, as well as eth0:0, eth0:1, eth:2, etc etc etc.
As our SuSE friend has stated, this is a common practice for firewalls and
routers. It's also common for webservers with many virtual hosts.
Regards,
kw
/* Keith Warno
** Developer & Sys Admin
** http://www.HaggleWare.com/
*/
----- Original Message -----
From: "Thomas Biege"
1) Is it possible to assign multiple ip adresses to a single network adapter?
This questions had been posted here some month ago. So, please check the mailinglist archive for more informations. wintermute:~ # ifconfig eth0:0 10.0.0.100 wintermute:~ # ifconfig eth0:0 eth0:0 Link encap:Ethernet HWaddr 00:80:48:AF:6E:FC inet addr:10.0.0.100 Bcast:10.255.255.255 Mask:255.0.0.0 Interrupt:5 Base address:0x220
listening to the same port? Maybe I should ask if it is possible to have different (ip-based) "port spaces" where different processes listen to the same port but for a different ip address?
sure, it's common practice for sshd on firewalls/routers and alike. Bye, Thomas -- Thomas Biege, SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg E@mail: thomas@suse.de Function: Security Support & Auditing "lynx -source http://www.suse.de/~thomas/thomas.pgp | pgp -fka" Key fingerprint = 09 48 F2 FD 81 F7 E7 98 6D C7 36 F1 96 6A 12 47 --------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com