From owner-freebsd-questions Sat Aug 31 21: 5: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 948C137B400 for ; Sat, 31 Aug 2002 21:05:00 -0700 (PDT) Received: from c001.snv.cp.net (h005.c001.snv.cp.net [209.228.32.119]) by mx1.FreeBSD.org (Postfix) with SMTP id 6CC8B43E81 for ; Sat, 31 Aug 2002 21:04:51 -0700 (PDT) (envelope-from ken@justken.net) Received: (cpmta 8274 invoked from network); 31 Aug 2002 21:04:50 -0700 Received: from 24.222.137.247 (HELO justken.justken.net) by smtp.register-admin.com (209.228.32.119) with SMTP; 31 Aug 2002 21:04:50 -0700 X-Sent: 1 Sep 2002 04:04:50 GMT Message-Id: <5.1.1.6.0.20020831235303.03e0d770@mail.justken.net> X-Sender: ken@justken.net@mail.justken.net X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sun, 01 Sep 2002 01:01:00 -0300 To: FreeBSD-questions@FreeBSD.ORG From: Ken Easson Subject: cannot connect to network, with 2 nic's. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello, i hope this is the right forum for this quesion... i am setting up a freebsd system and have been unable to connect to any network. i have a system with 2 nic cards, xl0 and vr0. My cable modem is connected to xl0 and hub and windows pc's will be connected to vr0. i've disregarded vr0 as i hope to install the dhcp server to connect through this nic, once i have a network connection. xl0 has been configured using DHCP. my /etc/rc.config has the following line from /stand/sysinstall: ifconfig_xl0="DHCP" /etc/dhclient.conf is empty. but no "send host-name "your-host-name" line: (if i need a hostname - i'm not clear on what that should be? i have used my domain name www.justken.net but this should be served through this gateway!) and /var/db/dhclient.leases looks like this: (times 4) lease { interface "xl0"; fixed-address 192.168.241.30; filename "docsis.cfg"; option subnet-mask 255.255.255.0; option time-offset -14400; option routers 192.168.241.1; option dhcp-lease-time 600; option dhcp-message-type 5; option domain-name-servers 24.222.0.13; option domain-name-servers 24.222.0.33; option broadcast-address 192.168.241.255; renew 6 2002/8/31 22:38:07; renew 6 2002/8/31 22:42:58; renew 6 2002/8/31 22:44:13; } FYI: looking at the ipconfig in win2k the dns info comes back as: 24.222.0.75 and 24.138.0.7 with this i cannot ping or traceroute to anything but localhost. localhost resolves correctly. when i ping i get the following results: # ping www.google.com PING www.google.com (216.239.51.101): 56 data bytes ^C --- www.google.com ping statistics --- 38 packets transmitted, 0 packets received, 100% packet loss traceroute provides the following: #traceroute www.google.com traceroute to www.google.com (216.239.51.101), 64 hops max, 40 byte packets 1 u128n1.hfx.eastling.ca (24.222.128.1) 24.962 ms 12.933 ms 7.673 ms 2 v183.hlfx-dr2.eastlink.ca (24.222.79.129) 27.051 ms 35.163 ms 13.143 ms 3 vl154.hlfx-dr1.eastlink.ca (24.222.79.125) 12.265 ms 10.265 ms 32.177 ms 4 ge1-2.hlfx-br1.eastlink.ca (24.222.79.205) 8.391 ms 11.315 ms 9.497 ms 5 * * * 6 * * * ... 11 * * * ^C some final diagnostics that may help someone who knows what they are doing: #netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.241.1 UGSc 2 0 xl0 127.0.0.1 127.0.0.1 UH 1 0 lo0 192.168.241 link#2 UC 1 0 xl0 192.168.241.1 00:02:fc:83:84:85 UHLW 3 0 xl0 1015 192.168.241.30 127.0.0.1 UGHS 0 0 lo0 looks to me that all outbound calls are being routed to localhost? why am i getting 4 hops in my traceroute? and the man page and unix reference i'm using said that i man not expect the results i get... anyone? ifconfig: (xl0 results only) xl0: flags=9943 mtu 1500 option=3 inet6 fe80::210:4bff:fe8f:f912%xl0 prefixlen 64 scopeid 0x2 inet 192.168.241.30 netmask 0xffffff00 broadcast 192.168.241.255 ether 00:10:4b:8f:f9:12 media: Ethernet autoselect (10bastT/UTP) status:active It seems to be that i've got a lease, but i can't seem to get past the gateway router at the isp. DNS is working as expected, but my packets arn't getting to their destination... i'm not a net guru yet... but ive tried to read all man pages, and follow the setup's - i had this system working with the @home before installing the second nic, and trying to configure as a router. If this helps - i did a reinstall from cd, installed the second nic card - turns out it was defective - and replaced it with this one. I have tried connecting to the host isp with both nic's and have not gotten past this point. hope someone can help me out! would be greatly appreciated. ken easson justken.net ken@justken.net justken web programming and technical support. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message