Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Apr 1999 02:59:46 +0200
From:      Roelof Osinga <roelof@eboa.com>
To:        Jeff Fisher <a03572@opus.ies-energy.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Routing probs.
Message-ID:  <3702C502.4BB53D29@eboa.com>
References:  <Pine.BSF.3.96.990331115052.5722D-100000@opus.ies-energy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Fisher wrote:
> 
> Ok, I know I've made some stupid mistake, but I can't figure it out.
> 
> I have two interfaces in a box.  One is on the internal network, and
> ...
> When I try to ping from the external interface, I get host down messages.  When I
> try to ping from an external box to the external interface, I get the same messages.
> I doubt it's the interface, since I used ed0 as the only interface when I first set
> up the box.

Alas, no help. Instead I got the very same problem you do. I even swapped
NICs to eliminate hardware problems.

n669:~$ uname -a
FreeBSD n669.telekabel.euronet.nl 3.1-STABLE FreeBSD 3.1-STABLE #3: Thu Apr  1
0
2:03:17 CEST 1999    
toor@n669.telekabel.euronet.nl:/usr/src/sys/compile/FORSET
I  i386

rc.conf:
gateway_enable="YES"
network_interfaces="ep0 ep1 lo0"
#network_interfaces="ep0 le0 lo0"
ifconfig_ep0="inet 10.0.0.55  netmask 255.255.255.0"
ifconfig_ep1="inet 194.134.130.170 netmask 255.255.252.0"
#ifconfig_le0="inet 194.134.130.170 netmask 255.255.252.0"
#defaultrouter="10.0.0.10"
defaultrouter="194.134.128.1"
#hostname="forseti.eboa.com"
hostname="n669.telekabel.euronet.nl"

n669:~$ ifconfig -a
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.55 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:60:97:14:31:a7
ep1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.134.130.170 netmask 0xfffffc00 broadcast 194.134.131.255
        ether 00:60:97:e4:98:db
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

n669:~$ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
10/24              link#1             UC          0        0      ep0
10.0.0.2           0:80:1e:0:1:68     UHLW        4      432      ep0   1172
127.0.0.1          127.0.0.1          UH          0        0      lo0
194.134.128        194.134.128.1      UGSc        0        0      ep1 =>
194.134.128/22     link#2             UC          0        0      ep1
194.134.128.1      link#2             UHLW        1        4      ep1

IPX:
Destination        Gateway            Flags     Refs     Use     Netif Expire

In my case it's the ep1 that's the NIC to the outside. Though I have
compiled with firewalling enabled, I did gave:

options         IPFIREWALL              #firewall
options         IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options         IPDIVERT                #divert sockets
options         IPFILTER                #kernel ipfilter support

and have disabled the rc.conf.local and with natd et al. The NIC is
up and the cablemodem it's attached to shows the correct LEDs. Also

n669:~$ route get gate.way
   route to: gate.way
destination: gate.way
  interface: ep1
      flags: <UP,HOST,DONE,LLINFO,WASCLONED>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu    
expire
       0         0         0         0         0         0      1500      -586

the routing seems to be in order. Still it refuses to do anything
useful.

> Help!!!!

Ditto.

Roelof

-- 
Home is where the (@) http://eboa.com/ is.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3702C502.4BB53D29>