Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 12:23:43 +0200
From:      "Leon Botes" <leon@trusc.net>
To:        <freebsd-questions@FreeBSD.org>
Subject:   RE: Help with a routing issue 
Message-ID:  <E1BSvZc-0000nL-Qx@gladiator.trusc.net>
In-Reply-To: <20040526120944.M38027@gaff.hhhr.ision.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Could you provide the output of ifconfig -a of the gateway box?

Should shed some more light about the issues, also the parts of
/etc/rc.conf, where the cards are configured, could be interesting.


Olaf
-- 
Olaf Hoyer        ohoyer@gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht
etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)

FROM THE GATEWAY:
ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 196.25.37.18 netmask 0xfffffff8 broadcast 196.25.37.23
        inet 196.25.37.19 netmask 0xffffffff broadcast 196.25.37.19
        ether 00:20:ed:11:00:e8
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.254.1 netmask 0xffffff00 broadcast 192.168.254.255
        ether 00:20:ed:11:00:e9
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
rc.conf
ifconfig_fxp0="inet 196.25.37.18  netmask 255.255.255.248"
ifconfig_fxp0_alias0="inet 196.25.37.19  netmask 255.255.255.255"
ifconfig_fxp1="inet 192.168.254.1  netmask 255.255.255.0"
natd_enable="YES"
natd_interface="fxp0"
natd_flags=""
gateway_enable="YES"
defaultrouter="196.25.37.17"
Ipfw show
00300  22467  1425741 fwd 196.25.37.20 tcp from any to any 80 out xmit fxp0
01000  64432 13724943 divert 8668 ip from any to any via fxp0
01100  11754  6690334 allow ip from any to any via lo0
01200      0        0 deny ip from any to 127.0.0.0/8
01300      0        0 deny ip from 127.0.0.0/8 to any
01400   5223   533128 fwd 196.25.37.22 tcp from any to any 443 out xmit fxp0
01500      0        0 fwd 196.25.37.22 tcp from any to any 3306 out xmit
fxp0
01600    500    27082 fwd 196.25.37.22 tcp from any to any 22 out xmit fxp0
01700    193     9455 fwd 196.25.37.22 tcp from any to any 110 out xmit fxp0
01800      0        0 fwd 196.25.37.22 tcp from any to any 119 out xmit fxp0
01900      0        0 deny log logamount 20000 tcp from any to any
445,2556,9996,5554 in recv fxp1
65000 171424 31989301 allow ip from any to any
65535      0        0 deny ip from any to any

FROM THE CLIENT BOX:
Ifconfig
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.254.22 netmask 0xffffff00 broadcast 192.168.254.255
        ether 00:50:bf:97:e8:83
        media: Ethernet autoselect (10baseT/UTP)
        status: active
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.60.2 netmask 0xffffff00 broadcast 192.168.60.255
        ether 00:50:bf:43:37:c1
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
rc.conf
ifconfig_rl0="inet 192.168.60.2  netmask 255.255.255.0"
ifconfig_dc0="inet 192.168.254.22  netmask 255.255.255.0"
gateway_enable="YES"
defaultrouter="192.168.254.1"
nfs_client_enable="YES"
firewall_enable="YES"
firewall_type="open"
natd_enable="YES"
natd_interface="dc0"
natd_flags=""

Ipfw show
00050  8360  3676585 divert 8668 ip from any to any via dc0
00100     0        0 allow ip from any to any via lo0
00200     0        0 deny ip from any to 127.0.0.0/8
00300     0        0 deny ip from 127.0.0.0/8 to any
65000 44744 16464427 allow ip from any to any
65535     0        0 deny ip from any to any





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BSvZc-0000nL-Qx>