Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 12:55:31 -0500 (EST)
From:      Eric Dedrick <dedrick@dsl-146-127.resnet.purdue.edu>
To:        Kent Stewart <kstewart@owt.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: another question
Message-ID:  <20020725124719.Q96489-100000@dsl-146-127.resnet.purdue.edu>
In-Reply-To: <3D403861.8050904@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> It usually occurs when you have them all plugged into the same
> circuit. My natd connection is connected to a switch connected to my
> DSL modem. My internal NIC is connected to a switch where all of my
> computers are connected. Natd works just fine.
>
> The messages with lo0 makes me wonder if you have a network_interfaces
> line in your /etc/rc.conf for your NICs.

network_interfaces="ep0 xl0 lo0"
ifconfig_ep0="inet 128.211.146.127  netmask 255.255.255.0"
ifconfig_xl0="inet 192.168.0.1 netmask 255.255.255.0"

I checked and I did have one extra wire that was making them all one
circuit.  With that removed I don't get any more problems.

Something is still not right, though.  xl0 is internal, ep0 is external.
My internal network machines can connect ping xl0 but not ep0 or any other
external ip's.

Gateway is enabled, running /sbin/natd -n ep0,
$ ipfw show
00100 205618 118632642 divert 8668 ip from any to any via ep0
00200      0         0 allow tcp from me to me 515
00300      0         0 allow udp from me to me 515
00400      0         0 deny tcp from any to me 515
00500      0         0 deny udp from any to me 515
00600      0         0 allow tcp from me to me 3306
00700      0         0 allow udp from me to me 3306
00800      0         0 deny tcp from any to me 3306
00900      1       108 deny udp from any to me 3306
01000 235306 124127773 allow ip from any to any
65535      0         0 allow ip from any to any

and I've just restarted the daemons.


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?20020725124719.Q96489-100000>