View Single Post
Old 10th November 2010
SlyM SlyM is offline
Port Guard
 
Join Date: Nov 2010
Posts: 21
Default

Quote:
Originally Posted by jggimi View Post
OK. There are a few possibilities for misconfiguration, such as a manual sysctl(8) command but a forgotten edit of sysctl.conf(5) and then a reboot. But just to be sure, post the outputs of:
  • ifconfig -A
  • route -n show -inet
Also post the contents of your hostname.* files
Here is $ifconfig -A


lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
priority: 0
groups: lo
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
re0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,S IMPLEX,MULTICAST> mtu 1500
lladdr 00:14:d1:1c:ee:a8
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::214:d1ff:fe1c:eea8%re0 prefixlen 64 scopeid 0x1
re1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,S IMPLEX,MULTICAST> mtu 1500
lladdr 00:14:d1:1c:f3:f7
priority: 0
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
inet 192.168.xxx.yyy netmask 0xfffffe00 broadcast 192.168.xxx.255
inet6 fe80::214:d1ff:fe1c:f3f7%re1 prefixlen 64 scopeid 0x2
msk0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MU LTICAST> mtu 1500
lladdr 00:1b:b9:b0:07:80
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::21b:b9ff:feb0:780%msk0 prefixlen 64 scopeid 0x3
enc0: flags=0<>
priority: 0
groups: enc
status: active
pfsync0: flags=41<UP,RUNNING> mtu 1500
priority: 0
pfsync: syncdev: re1 maxupd: 128 defer: off
groups: carp pfsync
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200
priority: 0
groups: pflog
carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:5e:00:01:02
priority: 0
carp: MASTER carpdev re0 vhid 2 advbase 1 advskew 0
groups: carp egress
status: master
inet6 fe80::200:5eff:fe00:102%carp0 prefixlen 64 scopeid 0x6
inet 97.67.xxx.yyy netmask 0xfffffff8 broadcast 97.67.xxx.yyy
carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:5e:00:01:01
priority: 0
carp: MASTER carpdev re1 vhid 1 advbase 1 advskew 0
groups: carp
status: master
inet6 fe80::200:5eff:fe00:101%carp1 prefixlen 64 scopeid 0x7
inet 192.168.xxx.yyy netmask 0xfffffe00 broadcast 192.168.xxx.255
carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:5e:00:01:03
priority: 0
carp: MASTER carpdev msk0 vhid 3 advbase 1 advskew 0
groups: carp egress
status: master
inet6 fe80::200:5eff:fe00:103%carp2 prefixlen 64 scopeid 0x8
inet 68.213.xxx.yyy netmask 0xfffffff8 broadcast 68.213.xxx.yyy

Here is $route -n show -inet

Routing tables

Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default 68.213.xxx.yyy UGSP 0 17 - 8 carp2
default 97.67.xxx.yyy UGSP 0 9 - 8 carp0
68.213.xxx.yyy/29 link#8 UC 1 0 - 4 carp2
68.213.xxx.yyy 00:22:10:a3:22:e0 UHLc 1 0 - 4 carp2
97.67.xxx.yyy/29 link#6 UC 1 0 - 4 carp0
97.67.xxx.yyy 00:a0:c8:5b:1c:bb UHLc 1 0 - 4 carp0
127/8 127.0.0.1 UGRS 0 0 33200 8 lo0
127.0.0.1 127.0.0.1 UH 1 60 33200 4 lo0
192.168.xxx/23 link#2 UC 9 0 - 4 re1
192.168.xxx.yyy 192.168.xxx.yyy UH 0 0 - 4 carp1
224/4 127.0.0.1 URS 0 0 33200 8 lo0

Here are the /etc/hostnames.*


/etc/hostname.carp0
inet 97.67.xxx.yyy 255.255.255.248 97.67.xxx.yyy vhid 2 pass password1 carpdev re0
!route add -mpath default 97.67.37.89

/etc/hostname.carp1
inet 192.168.xxx.1 255.255.254.0 192.168.xxx.255 vhid 1 pass password2 carpdev re1

/etc/hostname.carp2
inet 68.213.xxx.yyy 255.255.255.248 68.213.xxx.yyy vhid 3 pass password3 carpdev msk0
!route add -mpath default 68.213.215.9

/etc/hostname.msk0
up

/etc/hostname.pfsync0
up syncdev re1

/etc/hostname.re0
up

/etc/hostname.re1
inet 192.168.xxx.11 255.255.254.0 192.168.xxx.255
up
rtsol

I changed the IP addresses for the usual privacy reasons.
Reply With Quote