Hi, This is a question for the guys at Princeton. Can you please briefly describe your hardware setup? I mean 1. what cable (cross-over/straight-thru) you use to connect the ethernet ports on the IXP1200 to the outside world. 2. if you always use a switch/hub between a host and the ixp1200 ethernet ports. 3. what ethernet card and driver do you use on the machines that you connect to the IXP1200 for the IPmm experiment. 4. if you force the speed on any of these ports to 10 Mbps etc. Contrary to some advice on this list for my question on cabling, it seems that the ethernet ports on the IXP1200 behave like ports on hubs. This means that straight-thru cables have to be used to connect an IXP1200 port to a PC's ethernet card. When I do this, the yellow LED on the IXP1200 port blinks and the LED in the LED bank in the middle of the two quad connectors does not come on. If I force the speed on the linux PC's interface to 10 Mbps (using mii-diag), the link LED (in the LED bank) comes on, but when I try to send traffic, there is some debug output on the IXP1200's serial port (indicating packet reception) initially. After some time, there is no further output and I get carrier errors on the PC (found from ifconfig). The only configuration in which I have been able to make the IXP1200 ports receive packets is this Linux PC's eth1 <--- STRAIGHT-THRU ----> 10 Mbps ONLY HUB <----- CROSS-OVER ----> 1XP1200 ETH port Consequently, I am confused. Thanks, Magesh
Magesh, 1) I think the evaluation board ports do the crossover function, so if you are connecting directly to a PC, then use a straight cable. I guess this is also consistent with your previous mail in which you said that when you used a straight cable, the led lights came up on both the IXP port and the pc network card. I would advise you to forget the hub for now, just connect a straight cable between your src and dst linux pc's and IXP ports and see if the ipmm app works for you. Look at the rcv microcode source code and the corresponding debug output on the console to see how far packet reception works. If you get that working, you can always figure out the exact hardware setup (whether through switch/hub etc) later. -Abhijeet On Tue, 1 Oct 2002, Magesh Kannan wrote:
Hi,
This is a question for the guys at Princeton. Can you please briefly describe your hardware setup? I mean
1. what cable (cross-over/straight-thru) you use to connect the ethernet ports on the IXP1200 to the outside world. 2. if you always use a switch/hub between a host and the ixp1200 ethernet ports. 3. what ethernet card and driver do you use on the machines that you connect to the IXP1200 for the IPmm experiment. 4. if you force the speed on any of these ports to 10 Mbps etc.
Contrary to some advice on this list for my question on cabling, it seems that the ethernet ports on the IXP1200 behave like ports on hubs. This means that straight-thru cables have to be used to connect an IXP1200 port to a PC's ethernet card. When I do this, the yellow LED on the IXP1200 port blinks and the LED in the LED bank in the middle of the two quad connectors does not come on.
If I force the speed on the linux PC's interface to 10 Mbps (using mii-diag), the link LED (in the LED bank) comes on, but when I try to send traffic, there is some debug output on the IXP1200's serial port (indicating packet reception) initially. After some time, there is no further output and I get carrier errors on the PC (found from ifconfig).
The only configuration in which I have been able to make the IXP1200 ports receive packets is this
Linux PC's eth1 <--- STRAIGHT-THRU ----> 10 Mbps ONLY HUB <----- CROSS-OVER ----> 1XP1200 ETH port
Consequently, I am confused.
Thanks, Magesh
Hi,
1) I think the evaluation board ports do the crossover function, so if you are connecting directly to a PC, then use a straight cable. I guess this is also consistent with your previous mail in which you said that when you used a straight cable, the led lights came up on both the IXP port and the pc network card.
I would advise you to forget the hub for now, just connect a straight cable between your src and dst linux pc's and IXP ports and see if the ipmm app works for you. Look at the rcv microcode source code and the corresponding debug output on the console to see how far packet reception works.
If you get that working, you can always figure out the exact hardware setup (whether through switch/hub etc) later.
I started off with just that. Two PCs connected to two IXP1200 ports using straight-thru cables. The yellow LEDs on the IXP1200 ports blink, the LINK LED on the IXP1200 (one of those eight LEDs in the middle) does not come on. When I run 'mii-diag' on the linux PCs, the tool says that the autonegotiated speed is 100baseT Full-Duplex. The tool also says that the link is not established. The LEDs on the ethernet card of the PCs also blink (and not remain solid as is the normal case). When I run ping from one of the PCs, there is no reply, there is no indication in the IXP1200's serial port of packets being received and the no. of carrier errors in the PC's interface increases. Then I connected an IXP1200 port to a 10/100Mbps hub using a crossover cable. Now the three LEDs on the IXP1200 (yellow and green LEDs on the port (which I think are FDX and Activity) and one of the eight LEDs in the middle) blink and the two LEDs on the hub port also blink (which I think is abnormal). Then I replaced the 10/100 Mbps hub with a 10Mbps only hub. Now the LINK LED (one of the eight LEDs in the middle) comes on. This is the only case when it came on (other than forcing the ethernet card on the linux PCs to 10 Mbps in step 1). Then I connected the PCs to the same hub and now the IPmm application works. I do not understand why the IXP1200 ports cannot work at 100 Mbps and without a hub in between. Magesh
On Tue, 1 Oct 2002, Magesh Kannan wrote:
Hi,
This is a question for the guys at Princeton. Can you please briefly describe your hardware setup? I mean
1. what cable (cross-over/straight-thru) you use to connect the ethernet ports on the IXP1200 to the outside world.
It depends. If we are connecting to a PC with an ethernet card, we use a standard cable. If we are connecting it to another IXP, we use a cross-over cable.
2. if you always use a switch/hub between a host and the ixp1200 ethernet ports.
We haven't used a switch or a hub.
3. what ethernet card and driver do you use on the machines that you connect to the IXP1200 for the IPmm experiment.
Our cards are Kingston cards (DEC Tulip based). We use the standard Linux driver (included in the Red Hat distribution).
4. if you force the speed on any of these ports to 10 Mbps etc.
We don't force the speed on the ports.
If I force the speed on the linux PC's interface to 10 Mbps (using mii-diag), the link LED (in the LED bank) comes on, but when I try to send traffic, there is some debug output on the IXP1200's serial port (indicating packet reception) initially. After some time, there is no further output and I get carrier errors on the PC (found from ifconfig).
I don't think I've seen this before.
The only configuration in which I have been able to make the IXP1200 ports receive packets is this
Linux PC's eth1 <--- STRAIGHT-THRU ----> 10 Mbps ONLY HUB <----- CROSS-OVER ----> 1XP1200 ETH port
This makes sense: the IXP port and the hub's ports are both crossover ports (meaning they expect to connect to a PC with a straight-through cable). Since they are of the same type, they need a cross-over cable to connect them. Zuki -- Yitzchak Gottlieb zuki@CS.Princeton.EDU
participants (3)
-
Abhijeet Joglekar
-
Magesh Kannan
-
Yitzchak M. Gottlieb