[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Additional IP on interface



Kevin Quinn wrote:
> 
> Does anyone know how to put two IP addresses on one interface?

/sbin/ifconfig eth0 63.194.244.xxx
/sbin/ifconfig eth0 up

/sbin/ifconfig eth0:0 192.168.7.1
/sbin/ifconfig eth0:0 up


................will configure the number 1 card with the two IP's. I
gave an example of a dedicated IP address of eth0 and the internal IP
for eth0:0 for all the internal boxes on a lan to look to on a IP Masq
setup I did for a friend. All the internal boxes point to eth0:0 as
their gateway to the outside, they know no better. :)

-- 


                    " saevis tranquillus in undis "
                                   
                  Linuxcare, At the center of Linux.
                      http://www.linuxcare.com                    
  
             Bill Schoolcraft    http://www.wiliweld.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]