Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 12:44:02 +0100
From:      Chris Nicholls <n00dles@neocyber.info>
To:        freebsd-questions@freebsd.org
Subject:   Routing issues?
Message-ID:  <483AA282.1090007@neocyber.info>

next in thread | raw e-mail | index | archive | help
Hello all,

I seem to have stumbled on problem and I just can't see a reason for it. 
One of my FreeBSD 7.0 machines stops responding on the network, the 
strange thing is you could set your watch by it. approx every 5 minutes 
for 5 minutes it will not respond on any interface.

I've googled around but not having a clear idea of what is going on its 
hard to narrow down the search and the only two things I have in 
/var/log/messages are as follows:

    May 26 11:49:14 zeus kernel: arplookup 192.168.0.1 failed: host is
    not on local network
    May 26 11:49:14 zeus kernel: arpresolve: can't allocate route for
    192.168.0.1
    May 26 11:49:14 zeus named[686]:
    /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179:
    unexpected error:
    May 26 11:49:14 zeus named[686]: internal_send: 192.36.148.17#53:
    Invalid argument

The machine has two internal NIC's setup like so, with the second 
address on both cards being an alias.

    fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0
    mtu 1500
        options=8<VLAN_MTU>
        ether 00:06:29:1f:72:6d
        inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255
        inet 192.168.0.13 netmask 0xffffffff broadcast 192.168.0.13
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
    fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0
    mtu 1500
        options=8<VLAN_MTU>
        ether 00:06:29:1f:72:6e
        inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
        inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

also my routing table:

    Internet:
    Destination        Gateway            Flags    Refs      Use  Netif
    Expire
    default            192.168.0.1        UGS         0    40160   fxp0
    10.0.0.0/8         link#2             UC          0        0   fxp1
    92.0.0.0/8         192.168.0.1        UG          0        0   fxp0
    127.0.0.1          127.0.0.1          UH          0      137    lo0
    172.16.0.0/16      link#2             UC          0        0   fxp1
    192.168.0.0/24     link#1             UC          0        0   fxp0
    192.168.0.1        00:0c:30:5a:79:76  UHLW        3        0  
    fxp0    908
    192.168.0.10       00:11:2f:06:f1:fe  UHLW        1        8  
    fxp0    917
    192.168.0.11       00:40:d0:5e:42:d0  UHLW        1       16  
    fxp0    908
    192.168.0.12       00:06:29:1f:72:6d  UHLS        1    57676    lo0
    192.168.0.13       00:06:29:1f:72:6d  UHLS        1   156441    lo0 =>
    192.168.0.13/32    link#1             UC          0        0   fxp0
    192.168.0.44       00:16:cb:cb:6e:db  UHLW        2     1154  
    fxp0   1022
    192.168.0.56       00:18:f3:42:a1:0a  UHLW        1        2  
    fxp0   1197

The machine is acting as a router/gateway between 192.168.0.0/24 and 
10.0.0.0/8 running routed -s and gateway_enable="yes"

Regards

-- 

/*********               _                             *
* ASCII ribbon campaign ( )             Chris Nicholls *
* against HTML e-mail    X          http://n00dles.net *
* www.asciiribbon.org   / \        (PGP key available) *
* n00dles@n00dles.net            n00dles@neocyber.info *
*                                              ********/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?483AA282.1090007>