Date: Sat, 2 Dec 2000 14:56:55 -0500 (EST) From: Jim Freeze <jim@freeze.org> To: questions@freebsd.org Subject: natd, DHCP and W98 on LAN: The saga continues Message-ID: <Pine.BSF.4.21.0012021447330.60021-100000@www.bellnetworks.net>
next in thread | raw e-mail | index | archive | help
Well, after much searching and reading and trial and error,
I still cannot get my LAN working.
Here is the situation:
1. Dual Homed FreeBSD gateway machine. vx0=public, al0=LAN
2. Win98 connected to FBSD machine with x-over cable
3. FreeBSD can ping W98 machine
4. W98 machine CANNOT ping FreeBSD machine - gives 'request timed out'.
I have tried to verify that I am not doing anything stupid, but
that remains a possbility. Right now, I think the solution is
going to need another set of eyes and someone who knows alot
more about this than me.
Please, please, please help! :)
Also, I noticed during bootup that TCP extensions=NO was set.
What is this and does it matter?
Here is my current setup:
% cat /etc/rc.conf
ifconfig_ppp0="inet netmask 255.255.255.0"
defaultrouter="44.55.66.1" #names have been changed to protect the
innocent
network_interfaces="lo0 vx0 al0"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_vx0="inet netmask 255.255.255.0"
ifconfig_vx0="DHCP"
ifconfig_al0="inet 192.168.0.1 netmask 255.255.255.0"
gateway_enable="YES"
hostname="eeyore1"
firewall_enable="YES" # Set YES to enable firewall functionality
firewall_type="open" # Firewall type (see /etc/rc.firewall)
firewall_quiet="NO" # Set to YES to supress rule display
natd_enable="YES" # Enable natd (if firewall_enable == YES)
natd_interface="vx0" # Public interface or IPaddress to use
natd_flags="-l -d -s -m -u -dynamic -n vx0"
%
% cat /etc/dhclient.conf
interface "vx0" {
send host-name "CI555555-B";
request subnet-mask, broadcast-address, routers,
domain-name-servers, domain-name, time-servers;
require domain-name-servers;
}
%
% ifconfig -a
vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 44.55.66.77 netmask 0xffffff00 broadcast 44.55.66.255
ether 00:60:97:4f:aa:a0
al0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
ether ff:ff:ff:ff:ff:ff
media: 100baseTX <full-duplex>
supported media: autoselect 100baseTX <full-duplex> 100baseTX
<half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 10baseT/UTP
<half-duplex>
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
%
% ipfw -a l
00100 5 1677 divert 8668 ip from any to any via vx0
00100 0 0 allow ip from any to any via lo0
00200 0 0 deny ip from any to 127.0.0.0/8
65000 57 4746 allow ip from any to any
65535 0 0 deny ip from any to any
%
% ps -waux | grep natd
root 103 0.0 0.4 440 240 ?? Is 2:24PM 0:00.00 /sbin/natd
-l -d -s -m -u -dynamic -n vx0 -n vx0
%
Pinging W98 machine from FBSD
% tcpdump -eni al0
tcpdump: listening on al0
14:39:44.424547 ff:ff:ff:ff:ff:ff 0:a0:cc:78:23:95 0800 98: 192.168.0.1 >
192.168.0.2: icmp: echo request
14:39:44.424722 0:a0:cc:78:23:95 ff:ff:ff:ff:ff:ff 0806 60: arp who-has
192.168.0.1 tell 192.168.0.2
14:39:44.424748 ff:ff:ff:ff:ff:ff 0:a0:cc:78:23:95 0806 60: arp reply
192.168.0.1 is-at ff:ff:ff:ff:ff:ff
14:39:44.424843 0:a0:cc:78:23:95 ff:ff:ff:ff:ff:ff 0800 98: 192.168.0.2 >
192.168.0.1: icmp: echo reply
14:39:45.430746 ff:ff:ff:ff:ff:ff 0:a0:cc:78:23:95 0800 98: 192.168.0.1 >
192.168.0.2: icmp: echo request
Pinging FBSD machine from W98
% tcpdump -eni al0
tcpdump: listening on al0
14:41:11.339891 0:a0:cc:78:23:95 ff:ff:ff:ff:ff:ff 0800 74: 192.168.0.2 >
192.168.0.1: icmp: echo request
14:41:15.442787 0:a0:cc:78:23:95 ff:ff:ff:ff:ff:ff 0800 74: 192.168.0.2 >
192.168.0.1: icmp: echo request
14:41:19.942176 0:a0:cc:78:23:95 ff:ff:ff:ff:ff:ff 0800 74: 192.168.0.2 >
192.168.0.1: icmp: echo request
14:41:24.441446 0:a0:cc:78:23:95 ff:ff:ff:ff:ff:ff 0800 74: 192.168.0.2 >
192.168.0.1: icmp: echo request
Thanks
====================================================
Jim Freeze
jim@freeze.org
** http://www.freeze.org **
====================================================
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.21.0012021447330.60021-100000>
