Multiple IP addresses

Multiple IP addresses

Post by Steven Vele » Sun, 05 Apr 1998 04:00:00



Can multiple IP addresses be assigned to one ethernet device in linux?  If so,
how?  Most ways I've seen of doing it requires using ifconfig, buit my version
if config doesn't  seem to support this.

Thanks
--
Steven Velez                             Web Page: I'll get one eventually
----- BEGIN GEEK CODE BLOCK -----
Version: 3.12


r-- y-(+)
------ END GEEK CODE BLOCK ------

 
 
 

Multiple IP addresses

Post by Steeve Junea » Sun, 05 Apr 1998 04:00:00



> Can multiple IP addresses be assigned to one ethernet device in linux?  If so,
> how?  Most ways I've seen of doing it requires using ifconfig, buit my version
> if config doesn't  seem to support this.

man ifconfig

but briefly

ifconfig ethX:Y ${IP_Address}

--
Steeve Juneau

 
 
 

Multiple IP addresses

Post by Martin J. Man » Sun, 05 Apr 1998 04:00:00



Quote:> Can multiple IP addresses be assigned to one ethernet device in linux?  If so,
> how?  Most ways I've seen of doing it requires using ifconfig, buit my version
> if config doesn't  seem to support this.

It's more likely that your kernel doesn't have support for this
configured.  The syntax used is eth0:0, eth0:1, etc.  See the IP-Alias
mini-HOWTO for more discussion and examples.

Luck!

 
 
 

1. multiple NICs, multiple IP addresses?

(This is related to my problem titled "need help w/ 2 NICs and - ping,
portmap, NFS, ...")

If a machine has more than one NIC, must they be on different subnets?
 Say,
192.168.10.x  and  192.168.11.x  and so forth?  Or can they be on the
same
subnet (192.168.10.1  and 192.168.10.2)?

Is it possible for them to share a single IP address????

TIA, -bob,mon.

2. X3.1.2g to 3.2 upgrade and lost RED HAT desktop

3. IP Masquerade & Multiple IP addresses

4. unresolved symbols... - weird problem

5. IP Aliaseing (Multiple IP address to one interface)

6. HP J- or C-class as compute servers

7. How to listen to multiple IP addresses

8. Help: Glibc2 and Slackware linux (2.0.36)

9. Assigning Multiple IP addresses question

10. Multiple IP addresses on 1 Machine

11. Help: How to setup multiple IP addresses for a network interface?

12. Multiple IP Address.

13. Shutting down a port for the outside world on multiple IP-addresses