On 4/19/06, Lars Weste <[EMAIL PROTECTED]> wrote:

> hostname.carp2
> !ifconfig bge0 up
> !ifconfig vlan0 create
> !ifconfig vlan0 vlan 3 vlandev bge0 up
> vhid 1 carpdev vlan0 192.168.0.1 192.168.1.255 netmask 255.255.254.0

I use the seperate hostname.if files instead of loading raw ifconfig
commands. /etc/netstart does start physical interfaces, then vlans and
finally carp. From memory:

hostname.em0
up

hostname.em2
inet 10.0.0.1 255.255.255.0 NONE

hostname.vlan100
vlan 100 vlandev em0 up

hostname.carp100
vhid 100 carpdev vlan100
inet 192.168.1.254 255.255.255.0 NONE

hostname.carp204
vhid 204 carpdev em2
inet 10.0.0.100 255.255.255.0 NONE

> Can someone clarify if it will work with 3.9 without ifstated?

I'm running my routers from a 3.9 snapshot generated a couple days
before 3.9 was tagged in CVS, and I've had no problems with carp on
vlan on em. Did the failover tests and everything worked extremely
well. One of the coworkers was online from home and didn't notice that
I had pulled cables.

I have had some network issues with bge interfaces, but I only have
those in an NFS server so it's quite a different traffic pattern. You
may want to try forcing speed and duplex, that fixed one of my bge
problems.

--
Jon Simola
Systems Administrator
ABC Communications

Reply via email to