I have a server running FreeBSD 9.0. It has two NICs using the igb network drivers. I was given a range of IPs, for example's sake I'm just going to make up some IP addresses, so let's say 192.168.0.24/29 with a broadcast ip of 192.168.0.31. The gateway is at 192.168.0.25.
I have the rc.conf
setup as follows:
defaultrouter="192.168.0.25"
hostname="web01.dev.example.com"
ifconfig_igb0="up"
ifconfig_igb1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport igb0 laggport igb1 192.168.0.24/29"
When I enter ifconfig
I get
igb0: flags=8843<UP,BROADCST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=401bb<RXCSUM, TXCSUM, VLAN_MTU, VLAN_HWTAGGING, JUMBO_MTU, VLAN_HWCSUM, TSO4, VLAN_HWTSO>
ether XX:XX:XX:XX:XX:XX
inet6 XXXX::XXX:XXXX:XXXX:XXXX%igb0 prefixlen 64 scopeid 0x1
nd6 options=29<PERFORMNUD. IFDISABLED< AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
igb1: flags=8843<UP,BROADCST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=401bb<RXCSUM, TXCSUM, VLAN_MTU, VLAN_HWTAGGING, JUMBO_MTU, VLAN_HWCSUM, TSO4, VLAN_HWTSO>
ether XX:XX:XX:XX:XX:XX
inet6 XXXX::XXX:XXXX:XXXX:XXXX%igb0 prefixlen 64 scopeid 0x1
nd6 options=29<PERFORMNUD. IFDISABLED< AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options = 600003<RXCSUM, TXCSUM, RXCSUM_IPV6, TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 XXXX:XXXXX prefixlen 62 scipeid 0x5
inet 127.0.0.1 netmask 0xff000000
lagg0 flags=8843<UP,BROADCST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=401bb<RXCSUM, TXCSUM, VLAN_MTU, VLAN_HWTAGGING, JUMBO_MTU, VLAN_HWCSUM, TSO4, VLAN_HWTSO>
ether XX:XX:XX:XX:XX:XX
inet6: XXXX::XXX:XXXX:XXXX:XXXX%lagg0 prefixlen64 scopeid 0x6
inet 192.168.0.24 netmask 0xffffffff8 broadcast 192.168.0.31
nd6 options=29 <PERFORMNUM IFDISABLED AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
laggproto failover lagghash 12,13,14
laggport: igb1 flags=0<>
laggport: igb0 flags=5<MASTER,ACTIVE>
Which looks great, interfaces are up - and active. I go to ping the gateway and get 100% packet loss. I've tried service netif restart and it is pretty unremarkable, although as
ifconfig: create: bad value
shows up under lagg0, igb1 and igb0 and it shows status: no carrier
but if I type in ifconfig again after the restart it shows status: active
, however still with no internet connection and still without the ability to ping the gateway.
I've referenced several sites, but very few reference the dual nic, lagg setup with ipv4 and ipv6 and I'm pretty much at a loss on how to go about fixing/troubleshooting the issue. Any ideas on where to start would be great.