Re: Virtual Web Hosting on 2.0.29

David Woodhouse (D.W.Woodhouse@nortel.co.uk)
Mon, 28 Jul 1997 15:45:11 +0100


kurt@huwig.de said:
> Why doesn't the modules usage of 'ip_alias' goes to zero after I
> down the alias-device?

You need to remove the device, not just turn it off.

# ifconfig eth0:0- 0

It's nasty, but the aliasing works by checking whenever you use an invalid
device name. xxx:0 will add the alias, and xxx:0- will delete it.

You can have numerous aliases, but in my experience you must number them
sequentially - if I try using an alias eth0:1 when eth0:0 is not present, it
won't work.

-- 
David Woodhouse,	CB3 9AN		http://dwmw2.robinson.cam.ac.uk/
	dwmw2@cam.ac.uk 		 Tel: 0976 658355        
	D.W.Woodhouse@nortel.co.uk	 Tel: 01279 402332