Re: Network connectivity between FreeBSD and Linux

2006-09-18 Thread Arindam

 In response to Arindam [EMAIL PROTECTED]:

 [snip]

   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.

 Don't do that.  It may be the cause of your problem -- in any case,
 it's incorrect.  Leave the system without a gateway if you don't have
 one.

  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).

 If you did it via sysinstall, then it was written to rc.conf.

   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.

 Yes.


The output of ifconfig shows the duplex setting, you're set to 100 full
right now.  Can you set the switch port to 100 full, if it's not
already.  We have issues with our cisco switches being set to auto, they
have to be forced to 100 full or we get 0 connectivity between broadcom
cards and cisco 4500's.

Trying a different card is a good idea if you have one.  Helps rule some
things out at least.


It did work out that way and I am too tired to find out why. So, it
works now. Just that AMD PcNet 97c79x did not work.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Bob M.
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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::260:b0ff:fe87:42ca%pcn0 prefixlen 64 scopeid 0x1
   inet 10.0.0.101 netmask 0xff00 broadcast 10.0.0.255
   ether 00:60:b0:87:42:ca
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet 127.0.0.1 netmask 0xff00
 
 
 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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Arindam

  
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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::260:b0ff:fe87:42ca%pcn0 prefixlen 64 scopeid 0x1
   inet 10.0.0.101 netmask 0xff00 broadcast 10.0.0.255
   ether 00:60:b0:87:42:ca
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet 127.0.0.1 netmask 0xff00


 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Bill Moran
In response to Arindam [EMAIL PROTECTED]:

[snip]

  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.

Don't do that.  It may be the cause of your problem -- in any case,
it's incorrect.  Leave the system without a gateway if you don't have
one.

 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).

If you did it via sysinstall, then it was written to rc.conf.

  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.

Yes.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Arindam

In response to Arindam [EMAIL PROTECTED]:

[snip]

  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.

Don't do that.  It may be the cause of your problem -- in any case,
it's incorrect.  Leave the system without a gateway if you don't have
one.


I tried once without setting a gateway also. It did not make a
difference. I should have mentioned that.



 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).

If you did it via sysinstall, then it was written to rc.conf.

  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.

Yes.

--
Bill Moran
Collaborative Fusion Inc.



I came across this post. Seems like there is a problem with the
drivers for this particular device.

http://www.archivesat.com/New_Zealand_FreeBSD_Users_group/thread440374.htm

The poster here seems to have had a similar ethernet card as I do. May
be I should try swapping the ethernet cards of the FC2 and FreeBSD
boxes. I am sure the FC2 box has a different network card.

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-15 Thread Bob M.
On Fri, 2006-09-15 at 08:31 -0400, Bill Moran wrote:
 In response to Arindam [EMAIL PROTECTED]:
 
 [snip]
 
   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.
 
 Don't do that.  It may be the cause of your problem -- in any case,
 it's incorrect.  Leave the system without a gateway if you don't have
 one.
 
  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).
 
 If you did it via sysinstall, then it was written to rc.conf.
 
   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.
 
 Yes.
 

The output of ifconfig shows the duplex setting, you're set to 100 full
right now.  Can you set the switch port to 100 full, if it's not
already.  We have issues with our cisco switches being set to auto, they
have to be forced to 100 full or we get 0 connectivity between broadcom
cards and cisco 4500's.  

Trying a different card is a good idea if you have one.  Helps rule some
things out at least.

Bob  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network connectivity between FreeBSD and Linux

2006-09-14 Thread Arindam

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
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-14 Thread Garrett Cooper

On Sep 14, 2006, at 7:49 PM, 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 :)?

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-14 Thread Arindam


 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. It will take me a while to get the ifconfig output. Will post it in
a few hours may be.
2. I am FreeBSD newbie. I am not sure how to check if a firewall is
running. I doubt if there is ... I don't remember installing one. Can
please you tell me how to look?


-Garrett


Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-14 Thread Garrett Cooper

On Sep 14, 2006, at 8:15 PM, 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. It will take me a while to get the ifconfig output. Will post it in
a few hours may be.
2. I am FreeBSD newbie. I am not sure how to check if a firewall is
running. I doubt if there is ... I don't remember installing one. Can
please you tell me how to look?


-Garrett


Cheers,
Andy


If you didn't compile it into the kernel, there should be a directive  
in /etc/rc.conf with the term firewall or pf for example if you  
have one running.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network connectivity between FreeBSD and Linux

2006-09-14 Thread Arindam


  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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::260:b0ff:fe87:42ca%pcn0 prefixlen 64 scopeid 0x1
inet 10.0.0.101 netmask 0xff00 broadcast 10.0.0.255
ether 00:60:b0:87:42:ca
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00


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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]