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

1999-06-19 Thread David H. Silber
On Fri, Jun 18, 1999 at 09:17:56AM -0400, David H. Silber wrote: > # Set up a virtual interface. > # > # Usage: > #virtualif [reset] > virtualif() { I didn't like that my previous solution, because it only dealt reasonably with one physical interface at a time. By making a virtual varia

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

1999-06-18 Thread The Doctor What
Since we are trading scripts, here is mine. I'd kinda like it if there were some functions like this in, or better yet, included from the network script. Ciao! -- "Baldrick, you wouldn't see a subtle plan if it painted itself purple and danced naked on top of a harpsichord, singing 'Subtle Plan

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

1999-06-18 Thread David H. Silber
On Fri, Jun 18, 1999 at 09:17:56AM -0400, David H. Silber wrote: > Since I have a large number of virtual addresses, I wrote a little > function to perform the ifconfig & route operations together. As a > bonus side benefit, I no longer have to manually number the virtual > interfaces. I'm postin

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

1999-06-18 Thread David H. Silber
On Fri, Jun 18, 1999 at 12:28:37PM +0200, Mirek Kwasniak wrote: > On Thu, Jun 17, 1999 at 04:57:30PM -0500, The Doctor What wrote: > > 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 r

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

1999-06-18 Thread Mirek Kwasniak
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

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

1999-06-18 Thread Jens B. Jorgensen
Well, I wouldn't worry about this. I also use an IP alias and I can't ping it from the machine it's on either but I can ping it from any other machine. I won't even venture to guess why this is. BTW, you shouldn't assign 216.178.140.255 as an address since this is the broadcast address. The Doc

[Q] Virtual hosts and routing...

1999-06-17 Thread The Doctor What
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 eth