Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2006 07:43:03 -0400
From:      "Bob M." <bob.middaugh@comcast.net>
To:        Arindam <arindam.mukerjee@gmail.com>
Cc:        Garrett Cooper <youshi10@u.washington.edu>, freebsd-questions@freebsd.org
Subject:   Re: Network connectivity between FreeBSD and Linux
Message-ID:  <1158320583.25573.9.camel@freebsd>
In-Reply-To: <d85a51ff0609142217o4101f1dahb3b4f41302153347@mail.gmail.com>
References:  <d85a51ff0609140349p54bb3c6ud9b578791b7fbf1@mail.gmail.com> <3748E46A-16BD-4AD9-8EC3-84B10538F2BB@u.washington.edu> <d85a51ff0609140415t575ed7a6w75ba70335381e028@mail.gmail.com> <49B0565D-2C10-43CF-AB15-9CD712EFC074@u.washington.edu> <d85a51ff0609142217o4101f1dahb3b4f41302153347@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2006-09-15 at 10:47 +0530, Arindam wrote:
> > >>
> > >> > 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
> 	status: active
> plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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?  

defaultrouter="your gateway ip address"              # Set to default
gateway (or NO).

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.

Bob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1158320583.25573.9.camel>