Spruell, Darren-Perot wrote:
From: [EMAIL PROTECTED]
Dag Richards wrote:
Am I correct in inferring ( not assuming no! ) that once a
carp iface is
created we can not add aliases to them?
#ifconfig carp1 alias 123.32.217.21 netmask
255.255.255.0
ifconfig: SIOCAIFADDR: Can't assign requested address
Wouldn't the netmask have to be a full 255.255.255.255?
DS
I must be missing something VERY obvious and basic
The device this carp is on is:
===============================
fw1:root:/etc #ifconfig vlan6
vlan6: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0d:60:19:3a:62
vlan: 6 priority: 0 parent interface: em0
groups: vlan
inet6 fe80::20d:60ff:fe19:3a62%vlan6 prefixlen 64 scopeid 0x9
inet 192.168.6.103 netmask 0xffffff00 broadcast 192.168.6.255
inet 123.32.217.3 netmask 0xffffff00 broadcast 123.32.217.255
===============================
which sits on
===============================
fw1:root:/etc #ifconfig em0
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0d:60:19:3a:62
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::20d:60ff:fe19:3a62%em0 prefixlen 64 scopeid 0x1
===============================
I find that I can add any 198.160.35.x addr to the device after
creation, but I can not add 123.32.217.x. Even when ...
=============================
fw1:root:/etc #cat hostname.carp1
inet 198.160.35.1 255.255.255.0 198.160.35.255 vhid 15 pass
sekretword advskew 100 description "virtual if for all internal traffic "
inet alias 198.160.35.24 255.255.255.0
inet alias 198.160.35.25 255.255.255.0
inet alias 198.160.35.30 255.255.255.0
inet alias 123.32.217.4 255.255.255.0
===============================
the alias refuses to stick.
I can make this work with a separate carp iface for the 123.32. series
of addresses, but that makes my rules more complicated.