From owner-freebsd-questions@FreeBSD.ORG Fri Sep 15 12:01:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4969E16A494 for ; Fri, 15 Sep 2006 12:01:23 +0000 (UTC) (envelope-from arindam.mukerjee@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A0B343D73 for ; Fri, 15 Sep 2006 12:01:15 +0000 (GMT) (envelope-from arindam.mukerjee@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so3736558pye for ; Fri, 15 Sep 2006 05:01:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e/uZ7exreJNOMUV9rBESmyN11iA5OMvs4VNFsdFzyqACXMIFXAp1hmhNmt+7Claau7yuVogGaJ2IGBxeu3arbxFPyRh6VwxA35oZQ+PU8M+rs65xBCK5MKAhUfbCd/BZ3kNRx6t2ANjgt8l+yhAiBtBZau09s5o6KsU0w3ug+Z4= Received: by 10.35.53.18 with SMTP id f18mr17130101pyk; Fri, 15 Sep 2006 05:01:14 -0700 (PDT) Received: by 10.35.13.20 with HTTP; Fri, 15 Sep 2006 05:01:14 -0700 (PDT) Message-ID: Date: Fri, 15 Sep 2006 17:31:14 +0530 From: Arindam To: bob.middaugh@comcast.net In-Reply-To: <1158320583.25573.9.camel@freebsd> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3748E46A-16BD-4AD9-8EC3-84B10538F2BB@u.washington.edu> <49B0565D-2C10-43CF-AB15-9CD712EFC074@u.washington.edu> <1158320583.25573.9.camel@freebsd> Cc: Garrett Cooper , freebsd-questions@freebsd.org Subject: Re: Network connectivity between FreeBSD and Linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 12:01:23 -0000 > > > >> > > > >> > I have FreeBSD 6.1 installed on one machine and Fedora Core 2 on > > > >> > another. I dual boot the FreeBSD 6.1 machine with a RedHat EL 4.3 > > > >> > installation. I have assigned the same static IP address and > > > >> hostname > > > >> > to this machine for both the FreeBSD and RHEL installations. > > > >> > > > > >> > While my RHEL installation is running, I am able to communicate > > > >> with > > > >> > the FC2 installation over the network. When FreeBSD is running, all > > > >> > pings from either side fail. I have no clue if I need to look at > > > >> some > > > >> > special configuration, or is it a problem with the basics. > > > >> > > > > >> > Wond'ring what to do. > > > >> > > > > >> > Cheers, > > > >> > Andy > > > >> > -- > > > >> > > > >> /sbin/ifconfig output? Also, do you happen to have a firewall in your > > > >> FreeBSD OS setup :)? > > > > 1. No firewall running. > > 2. Here is the output: > > > > pcn0: flags=8843 mtu 1500 > > inet6 fe80::260:b0ff:fe87:42ca%pcn0 prefixlen 64 scopeid 0x1 > > inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255 > > ether 00:60:b0:87:42:ca > > media: Ethernet autoselect (100baseTX ) > > status: active > > plip0: flags=108810 mtu 1500 > > lo0: flags=8049 mtu 16384 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > > inet 127.0.0.1 netmask 0xff000000 > > > > > > What I have noticed is that when I ping from the other machine (FC2) > > then at least the two lights corresponding to these two machines > > blink. > > > > When I ping from my FreeBSD to the FC2 box, then the switch lights do > > not blink. This leads me to suspect that the packets from the BSD host > > are never making it to the network cable - is my network card > > supported I wonder. > > > > What I have seen is that this same network card works when I boot to > > RHEL4.3 which is the other OS on this box and it does ping alright > > between the two boxes. > > > > On FreeBSD, this NIC is detected as AMD 79c79x - I could do ifconfig > > to set the IP and netmask - no errors were reported. However it does > > not look like I am at all getting on the network with this. > > > > Cheers, > > Andy > > >From the FreeBSD box, can you ping the loopback address: 127.0.0.1, if > so, can you ping your ip address: 10.0.0.101. If so, can you ping your > gateway? Did you set a gateway in /etc/rc.conf? loopback: Yes I can ping it. 10.0.0.101: Yes again I can ping it. But I set this as the gateway. I just got two home PCs connected to each other over a 5-port switch with. 10.0.0.100 and 10.0.0.101 (this one). I set this as the gateway because a while later when I hook this to the web, this will be the box. And I might add a couple of more boxes to this network at best. I did not set a gateway in /etc/rc.conf. I configured the whole thing using sysinstall and a couple of times after that using ifconfig (ip addr and netmask). > > defaultrouter="your gateway ip address" # Set to default > gateway (or NO). But I guess whatever the method, such an entry would have been written to rc.conf. > > Since you set it statically, is your netmask correct? From the FreeBSD > box, when you boot to linux, is the duplex setting for you network card > the same as when you boot FreeBSD? This is strange, needless to say. My netmask is 255.255.255.0. That's a choice ... I am not sure I can offhand say if that's the correct choice or not. With the eventual size of my network that I can anticipate, I could even set it to 255.255.255.192 may be. How do you find out the duplex setting :P (terribly ashamed of my newbiness). I guess it is full duplex under both. > > Bob > > Cheers, Andy