RE: carp not setting interfaces
- From: "Michael K. Smith - Adhost" <mksmith@xxxxxxxxxx>
- Date: Mon, 16 Apr 2007 14:38:13 -0700
Ahh. See below.
-----Original Message-----
From: owner-freebsd-net@xxxxxxxxxxx [mailto:owner-freebsd-
net@xxxxxxxxxxx] On Behalf Of Steven Stremciuc
Sent: Monday, April 16, 2007 2:20 PM
To: Max Laier
Cc: freebsd-net@xxxxxxxxxxx
Subject: Re: carp not setting interfaces
Hi Max,
ifconfig?
You didn't say, can you configure the carp interfaces by manual
That would indicate a problem in the netstart/rc.d part. Maybe
mergemaster again?
I get an error when trying to configure it manually via ifconfig. I
don't know what this means.
test# ifconfig carp0 create
test# ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet 10.1.0.201 netmask 0xffffff00 broadcast 10.1.0.255
ether 00:30:48:11:64:85
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
fxp1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
ether 00:30:48:11:6f:68
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
carp0: flags=8<LOOPBACK> mtu 1500
and then:
test# ifconfig carp0 vhid 801 pass mekmitasdigoat 10.1.0.101/24
ifconfig: SIOCSVH: Invalid argument
is probably what's breaking it.From 'man ifconfig' - Looks like your vhid must be from 1 to 255, so 801
The following parameters are specific to carp(4) interfaces:
advbase seconds
Specifies the base of the advertisement interval in
seconds. The
acceptable values are 1 to 255. The default value is 1.
advskew interval
Specifies the skew to add to the base advertisement
interval to
make one host advertise slower than another host. It is
speci-
fied in 1/256 of seconds. The acceptable values are 1 to
254.
The default value is 0.
pass phrase
Set the authentication key to phrase.
vhid n Set the virtual host ID. This is a required setting.
Acceptable
values are 1 to 255.
Regards,
Mike
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: carp not setting interfaces
- From: Steven Stremciuc
- Re: carp not setting interfaces
- References:
- carp not setting interfaces
- From: Steven Stremciuc
- Re: carp not setting interfaces
- From: Max Laier
- Re: carp not setting interfaces
- From: Steven Stremciuc
- carp not setting interfaces
- Prev by Date: Re: carp not setting interfaces
- Next by Date: Re: carp not setting interfaces
- Previous by thread: Re: carp not setting interfaces
- Next by thread: Re: carp not setting interfaces
- Index(es):
Relevant Pages
- RE: ipconfig No RUNNING message
... show RUNNING in the stdout when I run the ifconfig. ... > PB> both of
these interfaces show RUNNING. ... > PB> Brian Pyle ... > PB>
327 N. Wenatchee Ave. ... (RedHat) - IPMP help on Solaris 10
... if the interfaces arent plumb then do: ... ifconfig e1000g0 plumb ...
ifconfig e1000g0 group prod-ipmp ... (SunManagers) - Re: AIX networking problem
... HACMP can run ifconfig delete. ... > down to the network interfaces.
... > interfaces are deleted, ... > The interfaces are brought back up and
the inetd deamon is restarted. ... (comp.unix.aix) - Re: confusing network interface problems
... one pci IF (posssibly realtek 8139) ... the disk and trying to use on an identical
machine (except possibly the pci ... lspci shows the interfaces ... also
ifconfig shows only lo ... (Ubuntu) - suse 10.1 on Dell lattitude D505 - I do not see wlan0
... other such commands I am finding out that the interfaces that ifconfig
... I have tried playing with it in yast and some command line, ... (alt.os.linux.suse)