ifconfig ethx:y down

x, in this case, is the number of your ethernet interface...if you only 
have one, it'll be eth0.  y is the number of the virtual interface.  If 
you know which virtual interface the virtual IP is on, you can down it, 
directly.

ie: if you want to take down 192.168.100.150, and that IP happens to be 
the 150th virtual address on that interface (remembering that the 
main/primary address on that interface will always just be eth0, and that 
the virtuals always start with eth0:0), the command to bring that virtual 
IP/interface down would be:

ifconfig eth0:149 down

Clear as mud, right? <G>

On Tue, 24 Oct 2000, Todd A. Jacobs wrote:

> I have kind of a strange requirement. I need to define a range of 250
> virtual IP addresses, and selectively bring down only one of them at a
> time. As far as I can tell, I have to bring down the main interface, and
> have no ability to down just one of the aliases. Am I missing something?
> 
> -- 
> Todd A. Jacobs
> Senior Network Consultant
> 
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to