Mailinglist Archive: opensuse-security (192 mails)

< Previous Next >
Re: [suse-security] multiple ip adresses per network adapter?
  • From: "Keith Warno" <keith@xxxxxxxxxxxxxx>
  • Date: Tue, 9 May 2000 09:52:56 -0400
  • Message-id: <000401bfb9bd$e17d3560$9e0a010a@xxxxxxxxxxx>
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.

/* Keith Warno
** Developer & Sys Admin

----- Original Message -----
From: "Thomas Biege" <thomas@xxxxxxx>
To: "Heiko Nardmann" <h.nardmann@xxxxxxxxxx>
Cc: <suse-security@xxxxxxxx>
Sent: 09 May 2000, Tuesday 09:26
Subject: Re: [suse-security] multiple ip adresses per network adapter?


> 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
wintermute:~ # ifconfig eth0:0
eth0:0 Link encap:Ethernet HWaddr 00:80:48:AF:6E:FC
inet addr: Bcast: Mask:
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.

Thomas Biege, SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg
E@mail: thomas@xxxxxxx Function: Security Support & Auditing
"lynx -source | 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@xxxxxxxx
For additional commands, e-mail: suse-security-help@xxxxxxxx

< Previous Next >