Date: Thu, 3 Jun 1999 18:46:53 -0700 (PDT) From: Brad Tucker <zvi@zvi.t-networking.com> To: freebsd-questions@freebsd.org Subject: Re: 2 ethernet cards (fwd) Message-ID: <Pine.BSF.4.05.9906031846370.260-100000@zvi.t-networking.com>
next in thread | raw e-mail | index | archive | help
---------- Forwarded message ----------
Date: Thu, 3 Jun 1999 18:32:33 -0700 (PDT)
From: Brad Tucker <zvi@zvi.t-networking.com>
To: Dan Busarow <dan@dpcsys.com>
Subject: Re: 2 ethernet cards
Ok,
I disabled netatalk all together to just see if I could get the TCP/IP to
work right. It still will not work. I disable routed by changinging the
statement router enable="no" if you specify yes it tries to launch routed.
while on the server with the two ethernet cards I can ping the upper block
of IP address (64-127) and the lower block of ips (1-63). the lower block
is used for all virtual domains, and they all work fine. when on the
upper block of ip (64-127) the machines will not look past itself. so,
say i was on 206.117.19.125. when i run a traceroute from that machine,
that is as far as it gets. it should go to 206.117.19.2, and then onto
the other router, but it is not. It just stays on 206.117.19.125 and does
nothing else. Like wise if im on a machine compleatly off the network i
can ping address 206.117.19.0 - 206.117.19.63. 64-127 cannot be pinged
from another network.
The setups on the mac is this:
IP ADDRESS 206.117.19.125
SUBNETMASK 255.255.255.192
ROUTER ADDRESS 206.117.19.64
NAMESERVER 206.117.19.2
zvi: {101} % netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default 206.117.19.1 UGSc 16 250 ed0
127.0.0.1 127.0.0.1 UH 0 0 lo0
206.117.19/26 link#1 UC 0 0
206.117.19.1 0:0:c:38:91:d2 UHLW 15 0 ed0
196
206.117.19.2 0:0:21:61:be:16 UHLW 1 20 lo0
206.117.19.8 link#1 UHLW 0 10
206.117.19.64/26 link#2 UC 0 0
206.117.19.124 0:40:5:69:59:3 UHLW 0 13 ed1
244
206.117.19.125 0:5:2:cd:ef:6b UHLW 2 96 ed1
1136
206.117.19.126 0:0:21:cf:9:d2 UHLW 0 4 lo0
AppleTalk:
Destination Gateway Flags Refs Use Netif
Expire
zvi: {102} % netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs
Coll
ed0 1500 <Link> 00.00.21.61.be.16 424 0 255 0
12
ed0 1500 206.117.19/26 206.117.19.2 424 0 255 0
12
ed1 1500 <Link> 00.00.21.cf.09.d2 281 0 308 26
423
ed1 1500 206.117.19.64 206.117.19.126 281 0 308 26
423
lo0 16384 <Link> 24 0 24 0
0
lo0 16384 127 127.0.0.1 24 0 24 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"
# default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias
entry.
### 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="" # Set to YES to enable a routing daemon.
router="" # Name of routing daemon to use if
enabled.
router_flags="" # 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="" # do source routing (only if gateway_enable is set
to "Y
ES")
accept_sourceroute="" # 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=""
zvi: {105} % ifconfig -a
ed0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
inet 206.117.19.2 netmask 0xffffffc0 broadcast 206.117.19.63
ether 00:00:21:61:be:16
ed1: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
inet 206.117.19.126 netmask 0xffffffc0 broadcast 206.117.19.127
ether 00:00:21:cf:09:d2
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
Hopefully this is all the info you need.
Thanks again for all your help
Thanks,
Brad
On Thu, 3 Jun 1999, Dan Busarow wrote:
> On Thu, 3 Jun 1999, Brad Tucker wrote:
> > zvi: {115} % netstat -rn
> > Routing tables
>
> Looks good. You only have one Mac using TCP/IP and all the rest are
> just Appletalk?
>
> > 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
>
> Good
>
> > 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
>
> Hmmm, not good.
>
> > 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
>
> You need to change the subnet masks on the hosts in the .0/26 subnet.
> They're still using a /25
>
>
> > ### 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.
>
> Disable routed.
>
> 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.9906031846370.260-100000>
