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

Re: [Q] Virtual hosts and routing...



On Thu, Jun 17, 1999 at 04:57:30PM -0500, The Doctor What wrote:
> I have a network,  216.178.140.xxx, which my box is part of.  My box,
> bunny, has a main ethernet (eth0) ip as 216.178.140.4.  It's gateway is
> 216.178.140.1, This is all class C of course.
> 
> In addition, I have the whole block of IPs from 216.178.140.240 to
> 216.178.140.255 all assigned as virtual ethernet devices: eth0:0 thru
> eth0:15.

You can't use last (and first) adress in your newtork

> 
> However, if I log into the system (usually at 216.178.140.240, eth0:0) and
> try to ping any of my other virtual ips, I get no response.  I hav
> included the route -n and ifconfig output as an attachment.  

Try add routes for your ip-aliases:

route add -host 216.178.140.240 eth0:0
...
route add -host 216.178.140.224 eth0:14

Mirek


Reply to: