RE: noarp question
"Shi, Josh (Unix Admin - PCS)" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <284CD042B4ACD4118EAE0008C786DC512443246A@cc02-exchange.systemax.com> |
I run multiple web servers on a system. Each web server listens to port 80. So they have to bind to their own IPs. For instance, 1st real web server: 192.168.6.2:80 for the site VIP: 192.168.6.240 2nd real web server: 192.168.2.4:80 for the site VIP: 192.168.6.242 arp should be dropped for both 192.168.6.240 and 192.168.6.242, right ? What's a way to do it in the case ? Thanks -----Original Message----- From: Horms [mailto:[email protected]] Sent: Saturday, October 15, 2005 12:38 AM To: [email protected] Subject: Re: noarp question On Fri, Oct 14, 2005 at 01:29:51PM -0400, Shi, Josh (Unix Admin - PCS) wrote: > On real servers, noarp is required. an example is as follows: > > #/sbin/arptables -A IN -j DROP -d 192.168.6.240 > #/sbin/arptables -A OUT -j mangle -o eth0 -s 192.168.6.240 --mangle-ip-s > 192.168.6.2 > > Then for the secord, the following works ? > #/sbin/arptables -A IN -j DROP -d 192.168.6.242 > #/sbin/arptables -A OUT -j mangle -o eth0 -s 192.168.6.242 --mangle-ip-s > 192.168.6.4 Basically yes, though I'm not sure why .240 changed to .242 -- Horms -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address. -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.