Linux and Cisco switch 2950
Hi,
I have a questions on Linux-- I will be happy if you can answer. I am trying to connect a Linux machine to Network. I am positive the network card is fine as I tested it to connect another PC via cross-over cable. Now I want to connect that PC to a Cisco switch 2950. I was not able to connect it. The switch have no configuration at all except Vlan 1. With the same IP addressing I was able to connect a Windows PC to network not a Linux PC. Is there any necessary thing I am missing out? I can connect a windows PC but I want to connect Linux so I can learn it Better. By the way, I am using KDE for X window. I have configured eth0 IP address and Default-gateway as same like the Windows XP and activate it even though it is not working. Thanks. Regards, Fazlur. |
Are you using a known good straight through cable between the linux system and the switch? A cross over cable will not work.
If yes, connect the linux system. Look at the lights for the lan card. Are they normal when connected? Open a konsole and run the command /sbin/ifconfig and post the results. |
Problem Solved
Hi,
I have configured the Cisco switch 2950 to speed Auto and duplex auto and it is working fine now. By the way, is there any command in Linux I can use to Fix up my NIC to run Full duplex and Speed 100? thanks. Regards, Fazlur. |
If the switch and NIC are both set to auto-negotiate (which IS the default setting for both), they should automatically negotiate FULL Duplex @ 100Mb/s .
|
Farslayer,
I like to make it hard coded. Speed 100 and Duplex full. Can I configure my NIC card in linux? Thanks. |
I know you want to set em manually, but I'll give these resources anyways. I see no good reason to force settings when auto-negotiation is working, it will usually just cause problems down the road if you move the host to a different switch port or network..
Cisco: Why do Autonegotiation Ethernet Auto-negotiation Duplex Mismatch Having said that... You can use ethtool or mii-tool to check or change the settings of your card. For a more permanent solution that will work at boot time, maybe your NIC supports something like the following options: i.e. the Intel Pro 1000 card allows you to put the settings in the modules.conf.. http://downloadmirror.intel.com/df-s...htm#add_config Code:
As an example, if you install the e1000 driver for two PRO/1000 adapters (eth0 and eth1) http://support.3com.com/infodeli/too...90fxreadme.txt Code:
The 3C990 driver supports the following options, which can be Best of luck to ya. |
Farslayer,
Thanks for the info. mii-tool works fine for me. Even though auto-negotiation is not a problem Just want to learn it works or not. Appreciate the time you have taken to increase my knowledge. Regards, Fazlur. |
All times are GMT -5. The time now is 01:04 AM. |