Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 1999 13:27:01 -0700 (PDT)
From:      Brad Tucker <zvi@zvi.t-networking.com>
To:        Dan Busarow <dan@dpcsys.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 2 ethernet cards
Message-ID:  <Pine.BSF.4.05.9906031324320.384-100000@zvi.t-networking.com>
In-Reply-To: <Pine.BSF.3.96.990603131614.18320A-100000@java.dpcsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
zvi: {115} % netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            206.117.19.1       UGSc       54       69       ed0
127.0.0.1          127.0.0.1          UH          0        2       lo0
206.117.19/26      link#1             UC          0        0
206.117.19.1       0:0:c:38:91:d2     UHLW       52        0       ed0
916
206.117.19.2       0:0:21:61:be:16    UHLW        0      250       lo0
206.117.19.8       8:0:9:ac:4d:98     UHLW        0        5       ed0
1181
206.117.19.16      206.117.19.16      UH          0        0       lo0
206.117.19.16      0:0:21:61:be:16    UHLS2       0        0       ed0
206.117.19.17      206.117.19.17      UH          0        0       lo0
206.117.19.17      0:0:21:61:be:16    UHLS2       0        0       ed0
206.117.19.18      206.117.19.18      UH          0        0       lo0
206.117.19.18      0:0:21:61:be:16    UHLS2       0        0       ed0
206.117.19.21      206.117.19.21      UH          0        0       lo0
206.117.19.21      0:0:21:61:be:16    UHLS2       0        0       ed0
206.117.19.22      206.117.19.22      UH          0        0       lo0
206.117.19.22      0:0:21:61:be:16    UHLS2       0        0       ed0
206.117.19.23      206.117.19.23      UH          0        0       lo0
206.117.19.23      0:0:21:61:be:16    UHLS2       0        0       ed0
206.117.19.64/26   link#2             UC          0        0
206.117.19.124     0:5:2:78:65:82     UHLW        2     1020       ed1
1145
206.117.19.126     0:0:21:cf:9:d2     UHLW        0        6       lo0

AppleTalk:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
0                  0.0                U           0        9       lo0 =>
0-32767            65280.146          U           0        0       ed1
32768-49151        65280.146          U           0        0       ed1
49152-57343        65280.146          U           0        0       ed1
57344-61439        65280.146          U           0        0       ed1
61440-63487        65280.146          U           0        0       ed1
63488-64511        65280.146          U           0        0       ed1
64512-65023        65280.146          U           0        0       ed1
65024-65279        65280.146          U           0        0       ed1
65280-65407        65280.146          U           3    27841       ed1
65280.146          0.0                UH          1        3       ed1
65408-65471        65280.146          U           0        0       ed1
65472-65503        65280.146          U           0        0       ed1
65504-65519        65280.146          U           0        0       ed1
65520-65527        65280.146          U           0        0       ed1
65528-65531        65280.146          U           0        0       ed1
65532-65533        65280.146          U           0        0       ed1
65534              65280.146          U           0        0       ed1


zvi: {116} % netstat -in
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs
Coll
ed0   1500  <Link>      00.00.21.61.be.16     1971     0     2078     0
24
ed0   1500  206.117.19/26 206.117.19.2        1971     0     2078     0
24
ed1   1500  <Link>      00.00.21.cf.09.d2     9474     0    29077     0
0
ed1   1500  206.117.19.64 206.117.19.126      9474     0    29077     0
0
ed1   1500  atalk:0-65534      65280.146      9474     0    29077     0
0
lo0   16384 <Link>                             267     0      267     0
0
lo0   16384 127           127.0.0.1            267     0      267     0
0
lo0   16384 atalk:0            0.0             267     0      267     0
0
lo0   16384 206.117.19/25 206.117.19.16        267     0      267     0
0
lo0   16384 206.117.19/25 206.117.19.17        267     0      267     0
0
lo0   16384 206.117.19/25 206.117.19.18        267     0      267     0
0
lo0   16384 206.117.19/25 206.117.19.21        267     0      267     0
0
lo0   16384 206.117.19/25 206.117.19.22        267     0      267     0
0
lo0   16384 206.117.19/25 206.117.19.23        267     0      267     0
0


rc.conf:
##############################################################
###  Network configuration sub-section  ######################
##############################################################

### Basic network options: ###
hostname="zvi.t-networking.com" # Set this!
nisdomainname="NO"              # Set to NIS domain if using NIS (or NO).
firewall_enable="NO"            # Set to YES to enable firewall
functionality
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
firewall_quiet="NO"             # Set to YES to suppress rule display
tcp_extensions="YES"            # Allow RFC1323 & RFC1644 extensions (or
NO).
network_interfaces="ed0 ed1 lo0"        # List of network interfaces (lo0
is loo
pback).
ifconfig_ed0="inet 206.117.19.2  netmask 255.255.255.192"
ifconfig_ed1="inet 206.117.19.126 netmask 255.255.255.192"
ifconfig_lo0="inet 127.0.0.1"

### Network routing options: ###
defaultrouter="206.117.19.1"            # Set to default gateway (or NO).
static_routes="" # Set to static route list (or leave empty).
gateway_enable="YES"            # Set to YES if this host will be a
gateway.
router_enable="YES"             # Set to YES to enable a routing daemon.
router="routed"                 # Name of routing daemon to use if
enabled.
router_flags="-q"               # Flags for routing daemon.
mrouted_enable="NO"             # Do multicast routing (see
/etc/mrouted.conf).
mrouted_flags=""                # Flags for multicast routing daemon.
ipxgateway_enable="NO"          # Set to YES to enable IPX routing.
ipxrouted_enable="NO"           # Set to YES to run the IPX routing
daemon.
ipxrouted_flags=""              # Flags for IPX routing daemon.
arpproxy_all=""                 # replaces obsolete kernel option
ARP_PROXYALL.
forward_sourceroute="NO"        # do source routing (only if
gateway_enable is s
et to "YES")
accept_sourceroute="NO"         # accept source routed packets to us
natd_enable="NO"                # Enable natd if firewall_enable.
natd_interface="fxp0"           # Public interface to use with natd if
natd_enab
le.
natd_flags=""                   # Additional flags for natd.

Thanks Again, 
Brad





On Thu, 3 Jun 1999, Dan Busarow wrote:

> On Thu, 3 Jun 1999, Brad Tucker wrote:
> > Ok this all works good, but its not there yet.  I used the statements and
> > now the two networks are sperated, but from the outside world ed1 is not
> > reachable.  I have the gateway enabled in rc.conf, routing is on.  when I
> > try and ping my machine froma machine outside the network it wont work.
> > Also if i try an use one of the macs to browse the internet it wont work.
> > do i need to add a route statement to connect ed0 and ed1.  Im really lost
> > now.  please help.
> 
> What do you get from netstat -in and netstat -rn ?
> 
> Include the networking part of your rc.conf too.  If you have the
> netmasks right things should "just work"
> 
> Dan
> -- 
>  Dan Busarow                                                  949 443 4172
>  Dana Point Communications, Inc.                            dan@dpcsys.com
>  Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82
> 
> 



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?Pine.BSF.4.05.9906031324320.384-100000>