From owner-freebsd-questions Mon Oct 16 10:48:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from labna.itmerida.mx (labna.itmerida.mx [200.34.128.2]) by hub.freebsd.org (Postfix) with ESMTP id B36D637B503 for ; Mon, 16 Oct 2000 10:48:32 -0700 (PDT) Received: from localhost (xavier@localhost) by labna.itmerida.mx (8.9.3/8.9.3) with SMTP id NAA11502; Mon, 16 Oct 2000 13:03:15 -0500 Date: Mon, 16 Oct 2000 13:03:15 -0500 (CDT) From: "Xavier Alfeirán S." To: Volker Stolz Cc: questions@FreeBSD.ORG Subject: Re: trouble when doing telnet... In-Reply-To: <20001016192606.A12726@agamemnon.informatik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG my resolv.conf files goes like this: bash-2.03$ cat resolv.conf domain itmerida.mx nameserver 200.34.128.1 nameserver 200.34.128.2 nameserver 127.0.0.1 =20 the netstat -rn output: bash-2.03$ cat net Routing tables =20 Internet: Destination Gateway Flags Netif Expire default 200.34.128.62 UGSc fxp0 127.0.0.1 127.0.0.1 UH lo0 192.168 link#2 UC vx0 =3D> 192.168.0.5 0:a0:24:54:4f:2c UHLW vx0 701 192.168.0.7 0:c0:df:42:88:69 UHLW vx0 588 192.168.0.11 0:6:29:85:18:8d UHLW vx0 1045 192.168.0.12 0:d0:9:16:75:0 UHLW vx0 415 192.168.0.13 0:e0:7d:2:59:7 UHLW vx0 837 192.168.0.15 52:54:0:e7:75:c5 UHLW vx0 1027 192.168.0.17 0:40:33:e0:21:de UHLW vx0 995 192.168.0.22 0:6:29:f9:6d:eb UHLW vx0 537 192.168.0.23 0:d0:9:1c:20:b8 UHLW vx0 828 192.168.0.26 52:54:4c:4:ce:b8 UHLW vx0 1098 192.168.0.29 0:d0:9:17:38:b6 UHLW vx0 787 192.168.0.30 0:a0:24:54:49:c3 UHLW vx0 328 192.168.0.31 0:50:da:60:a4:a7 UHLW vx0 396 192.168.0.34 0:6:29:85:95:49 UHLW vx0 769 192.168.0.36 0:6:29:f9:72:b9 UHLW vx0 533 192.168.0.37 0:40:33:e0:1f:b3 UHLW vx0 605 192.168.0.40 0:4:ac:66:d6:cb UHLW vx0 412 192.168.0.44 0:a0:24:54:4f:6 UHLW vx0 658 192.168.0.52 0:a0:24:54:39:cd UHLW vx0 629 192.168.0.53 0:a0:24:59:f3:7f UHLW vx0 766 192.168.0.56 0:a0:24:54:4f:83 UHLW vx0 897 192.168.0.57 0:a0:24:5b:29:9 UHLW vx0 654 192.168.0.58 0:a0:24:5b:2c:96 UHLW vx0 537 192.168.0.59 0:a0:24:59:e8:e2 UHLW vx0 521 192.168.0.61 0:a0:24:54:4f:6c UHLW vx0 570 192.168.0.62 0:48:54:3a:b9:12 UHLW vx0 524 192.168.0.63 0:a0:24:5b:2b:fe UHLW vx0 486 192.168.0.65 0:0:21:44:dc:7b UHLW vx0 1100 192.168.0.68 0:a0:24:5b:23:5f UHLW vx0 883 192.168.0.69 0:a0:24:54:5c:32 UHLW vx0 463 192.168.0.71 0:50:da:60:93:82 UHLW vx0 386 192.168.0.72 0:a0:24:5b:3f:fe UHLW vx0 569 192.168.0.76 0:d0:9:4c:ee:78 UHLW vx0 627 192.168.0.77 0:6:29:5:a9:6e UHLW vx0 995 192.168.0.78 0:d0:9:17:2c:ea UHLW vx0 1151 192.168.0.79 0:4:ac:98:60:f1 UHLW vx0 1121 192.168.0.80 0:4:ac:98:41:16 UHLW vx0 535 192.168.0.81 0:d0:9:16:7b:bd UHLW vx0 1161 192.168.0.88 0:d0:9:17:ca:ed UHLW vx0 1042 192.168.0.89 0:a0:24:54:4f:75 UHLW vx0 542 192.168.0.91 0:a0:24:5b:2b:90 UHLW vx0 578 192.168.0.93 0:a0:24:54:5b:fb UHLW vx0 473 192.168.0.94 0:d0:9:16:71:67 UHLW vx0 1130 192.168.0.96 0:e0:7d:72:d7:45 UHLW vx0 1147 192.168.0.124 0:d0:9:17:38:b5 UHLW vx0 1098 192.168.0.125 0:a0:24:5b:2c:76 UHLW vx0 330 192.168.0.127 0:80:ad:7c:48:9 UHLW vx0 446 192.168.0.131 0:a0:24:54:49:bd UHLW vx0 816 192.168.0.132 0:a0:24:59:f2:d2 UHLW vx0 539 192.168.0.133 0:10:5a:14:3e:69 UHLW vx0 562 192.168.0.134 0:c0:df:47:39:49 UHLW vx0 781 192.168.0.135 0:a0:24:59:f2:c4 UHLW vx0 1059 192.168.0.136 0:a0:24:54:36:37 UHLW vx0 1156 192.168.0.138 0:a0:24:54:4a:89 UHLW vx0 641 192.168.0.139 0:a0:24:54:4a:78 UHLW vx0 469 192.168.0.141 0:6:29:5:ba:16 UHLW vx0 41 192.168.0.142 0:40:33:a0:98:6c UHLW vx0 252 192.168.0.144 0:20:18:70:4c:70 UHLW vx0 962 192.168.0.149 0:d0:9:17:c7:85 UHLW vx0 465 192.168.0.152 0:e0:7d:72:d7:47 UHLW vx0 1083 192.168.0.153 0:c0:df:42:82:a4 UHLW vx0 752 192.168.0.154 0:a0:24:5b:3f:fa UHLW vx0 1182 192.168.0.157 0:a0:24:54:49:f1 UHLW vx0 1110 192.168.0.159 0:6:29:5:85:cd UHLW vx0 1130 192.168.0.161 0:40:33:e0:3c:ed UHLW vx0 1002 192.168.0.163 0:d0:9:17:30:7 UHLW vx0 965 192.168.0.164 52:54:0:e9:13:e4 UHLW vx0 700 192.168.0.165 0:d0:9:23:e3:de UHLW vx0 1112 192.168.0.166 0:c0:df:46:a1:4b UHLW vx0 1172 192.168.0.167 0:a0:24:54:4a:7d UHLW vx0 848 192.168.0.168 0:a0:24:59:ef:e9 UHLW vx0 862 192.168.0.169 0:4:ac:66:dc:4d UHLW vx0 1173 192.168.0.171 0:a0:24:54:4a:7b UHLW vx0 1101 192.168.0.175 0:6:29:5:a8:d1 UHLW vx0 534 192.168.0.176 0:a0:24:54:49:c5 UHLW vx0 1095 192.168.0.181 0:a0:24:54:4f:2b UHLW vx0 1131 192.168.0.183 0:a0:24:22:fd:5a UHLW vx0 883 192.168.0.184 0:0:21:c1:f8:98 UHLW vx0 1156 192.168.0.186 0:a0:24:5b:40:20 UHLW vx0 495 192.168.0.189 0:e0:7d:70:21:1e UHLW vx0 1008 192.168.0.192 0:a0:24:5b:2c:bb UHLW vx0 852 192.168.0.199 0:a0:24:5b:2c:7d UHLW vx0 836 192.168.0.200 0:a0:24:59:ef:dc UHLW vx0 1192 192.168.0.201 0:6:29:5:a8:a4 UHLW vx0 841 192.168.0.202 0:0:21:44:dd:2d UHLW vx0 667 192.168.0.206 0:c0:df:46:9c:ad UHLW vx0 1116 192.168.0.207 0:a0:24:59:e8:f0 UHLW vx0 995 192.168.0.209 0:6:29:85:95:f4 UHLW vx0 669 192.168.0.213 0:a0:24:54:4a:72 UHLW vx0 984 192.168.0.216 0:a0:24:54:4a:80 UHLW vx0 990 192.168.0.218 0:a0:24:54:69:fb UHLW vx0 969 192.168.0.224 0:4:ac:e8:4:5 UHLW vx0 730 192.168.0.251 link#2 UHLW vx0 =3D> 192.168.0.252 0:60:97:a5:8d:fe UHLW vx0 1146 192.168.1 link#2 UC vx0 =3D> 192.168.1.10 0:a0:c9:b1:2e:c6 UHLW vx0 343 192.168.1.36 0:6:29:5:ba:21 UHLW vx0 863 192.168.1.38 0:6:29:85:8f:81 UHLW vx0 1001 192.168.1.39 0:80:ad:7b:81:f4 UHLW vx0 1037 192.168.1.206 0:6:29:5:ba:0 UHLW vx0 1134 192.168.1.210 0:d0:9:17:37:1c UHLW vx0 930 192.168.1.242 0:d0:9:17:31:a8 UHLW vx0 1047 192.168.1.246 0:10:5a:16:55:d9 UHLW vx0 781 192.168.2 link#2 UC vx0 =3D> 192.168.2.13 0:6:29:5:bd:a9 UHLW vx0 763 192.168.2.32 0:60:97:22:30:81 UHLW vx0 189 192.168.2.35 0:40:33:a0:99:e UHLW vx0 202 200.34.128/26 link#1 UC fxp0 =3D> 200.34.128.1 8:0:20:82:f6:ae UHLW fxp0 1190 200.34.128.2 8:0:5a:fc:94:db UHLW fxp0 944 200.34.128.7 0:4:ac:e6:1f:bf UHLW lo0 200.34.128.11 0:4:ac:e8:8:ed UHLW fxp0 1090 200.34.128.12 0:a0:24:5b:39:c2 UHLW fxp0 955 200.34.128.30 0:10:30:0:8:49 UHLW fxp0 655 200.34.128.31 0:10:30:0:8:35 UHLW fxp0 655 200.34.128.50 0:c0:49:12:ee:8a UHLW fxp0 983 200.34.128.62 0:b0:4a:9c:74:0 UHLW fxp0 984 =20 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%fxp0/64 link#1 UC fxp0 fe80::%vx0/64 link#2 UC vx0 fe80::%lo0/64 fe80::1%lo0 Uc lo0 fe80::%gif0/64 fe80::204:acff:fee6:1fbf%gif0 Uc gif0 fe80::204:acff:fee6:1fbf%gif0 ::1 UH lo0 fe80::%gif1/64 fe80::204:acff:fee6:1fbf%gif1 Uc gif1 fe80::204:acff:fee6:1fbf%gif1 ::1 UH lo0 fe80::%gif2/64 fe80::204:acff:fee6:1fbf%gif2 Uc gif2 fe80::204:acff:fee6:1fbf%gif2 ::1 UH lo0 fe80::%gif3/64 fe80::204:acff:fee6:1fbf%gif3 Uc gif3 fe80::204:acff:fee6:1fbf%gif3 ::1 UH lo0 fe80::%stf0/64 fe80::204:acff:fee6:1fbf%stf0 Uc stf0 fe80::204:acff:fee6:1fbf%stf0 ::1 UH lo0 ff01::/32 ::1 U lo0 ff02::%fxp0/32 link#1 UC fxp0 ff02::%vx0/32 link#2 UC vx0 ff02::%lo0/32 fe80::1%lo0 UC lo0 ff02::%gif0/32 fe80::204:acff:fee6:1fbf%gif0 UC gif0 ff02::%gif1/32 fe80::204:acff:fee6:1fbf%gif1 UC gif1 ff02::%gif2/32 fe80::204:acff:fee6:1fbf%gif2 UC gif2 ff02::%gif3/32 fe80::204:acff:fee6:1fbf%gif3 UC gif3 ff02::%stf0/32 fe80::204:acff:fee6:1fbf%stf0 UC stf0 the natd.conf file: bash-2.03$ cat natd.conf interface fxp0 use_sockets yes same_ports yes #dynamic yes=20 and the rc.conf file: ifconfig_fxp0=3D"inet 200.34.128.7 netmask 255.255.255.192" hostname=3D"chichen.itmerida.mx" linux_enable=3D"YES" moused_enable=3D"YES" saver=3D"fire" keymap=3D"spanish.iso.acc" defaultrouter=3D"200.34.128.62" ifconfig_vx0=3D"inet 192.168.0.254 netmask 255.255.255.0" #defaultrouter=3D"192.168.0.1" # -- sysinstall generated deltas -- # check_quotas=3D"NO" keymap=3D"spanish.iso" firewall_enable=3D"YES" firewall_type=3D"open" gateway_enable=3D"YES" natd_enable=3D"YES" natd_interface=3D"fxp0" natd_flags=3D"-f /etc/natd.conf" #ifconfig_vx0=3D"DHCP" I hope all of this helps ---------------------------------------------------------------------------= ---- Xavier alfeiran Sainz la_mente@yahoo.com xavier@labna.itmerida.mx xavier@chichen.itmerida.mx (99) 9468925 On Mon, 16 Oct 2000, Volker Stolz wrote: > On Mon, Oct 16, 2000 at 12:02:10PM -0500, Xavier Alfeir=E1n S. wrote: > > Hi, I have a question, when I connect via Telnet to the Freebsd server, > > i got connection normaly, but the login question takes a long time to > > appear.=20 > > I checked the resolv.conf file, and it looks fine to me, but as root I > > receive a lot of messages of error from natd (the server is used to do > > nat to a LAN). The messages are these: > > Oct 16 11:35:32 chichen natd[125]: failed to write packet back(Host is= =20 > > down) > > But everything works fine, just that thing about the login message, th= at > > I thought that was because the DNS but i repeat, is well configured. >=20 > Nope, seems you=B4ve really got a problem doing reverse lookups. Let > me guess: When you=B4re finally connected and do a "who" you only get the > IP from the host you=B4re connected from. Can you give the contents of > your resolv.conf and netstat -rn, together with any natd-related stuff > you=B4re doing? > --=20 > Volker Stolz * stolz@i2.informatik.rwth-aachen.de * PGP + S/MIME >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message