Date: Thu, 19 Jun 2008 11:30:02 +0100 From: "Primeroz lists" <primeroz.lists@googlemail.com> To: "Giulio Ferro" <auryn@zirakzigil.org> Cc: freebsd-net@freebsd.org, Han Hwei Woo <hhw@pce-net.com> Subject: Re: Problems with vlan + carp + alias Message-ID: <55b8c6fe0806190330p225ec6d1g65f8424efeab9b41@mail.gmail.com> In-Reply-To: <485A28ED.9020103@zirakzigil.org> References: <4859877A.3020300@zirakzigil.org> <4859A3A1.6070105@pce-net.com> <485A28ED.9020103@zirakzigil.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi , I think you should setup ALL the carp address as alias/32 , like this: ifconfig_carp10="vhid 10 pass qweq 192.168.10.10 netmask 255.255.255.255<http://255.255.255.0/> " ifconfig_carp10_alias0="192.168.10.11 netmask 255.255.255.255<http://255.255.255.0/> " ... ifconfig_carp10_aliasN="192.168.10.N netmask 255.255.255.255" and then please verify your routing table for everythin on 192.168.10 netstat -rn | grep 192.168.10 What you should have is 192.168.10/24 ...... vlan10 192.168.10.10 .... carp10 ... 192.168.10.N .... carp10 this is because the NETWORK range should be routed always through the parent interface (vlan10 in this case) while all the carp addresses has to be threated as alias. if you check now probably you will find that the 192.168.10/24 is routed through your carp interface ... and that's wrong. Ciao Francesco On Thu, Jun 19, 2008 at 10:37 AM, Giulio Ferro <auryn@zirakzigil.org> wrote: > Han Hwei Woo wrote: > >> Hi Giulio, >> >> Since the IP's are on the same subnet, you should try using a netmask of >> 255.255.255.255 on the aliases. >> >> > Hi Han, > Sorry no, changing the mask to 255.255.255.255 of the aliases doesn't > change the situation. > Anyway exactly the same configuration works with non-vlan physical > interfaces. > > Note: I can ping the aliased addresses on the local machine; I can't ping > those addresses from > other machine on the same vlan. > > > Giulio. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55b8c6fe0806190330p225ec6d1g65f8424efeab9b41>