On Tue, 2003-11-11 at 16:18, Jason Holt wrote: > On Tue, 11 Nov 2003, Galen wrote: > > > On Solaris it is fairly easy to assign multiple IPs to the same NIC. I > > assume this is also possible in Linux, since, well, you can do anything > > in Linux. Would someone please give me the low down on how to do this? > > ifconfig eth0:0 ... > ifconfig eth0:1 ...
Strangely enough, there's also another way to do it. The method discussed here actually gives you additional full ethernet interfaces, the kind you could do IPX or AppleTalk on. The ip command allows you to add normal IP-level ip aliases to a particular interface. This is rarely used (or so I gather) but it's technically more appropriate since what you want is an IP alias not an ethernet alias. It may even be more efficient. I don't know more than that though. If someone else wants to elaborate on it for me please do so. ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
