[mpls-linux-general] Problems with networking
Status: Beta
Brought to you by:
jleu
From: Daniel G. C. <da...@on...> - 2002-03-11 22:21:26
|
Hi! I'm Daniel and I'm making a network with some PCs with Linux-MPLS 0.996. First of all, sorry for my english.I have 6 PCs with Linux-MPLS working on them, the 6 PCs have similar hardware. I'm using 3com and Realtek ethernet cards, and I have no problems configuring them on Linux. Initially they are disabled and I activate them with ' ifconfig ', I have made the basic example with two hosts that is in the /mpls-linux-1.0/utils/ directory and I have no problems. But when I try to make a net with 3 hosts it doesn't work. The scenario is: ------147.156.163.194 ---- 147.156.163.198 --------- | 4 |------------------------| 8 |------------------------| 7 | ----------- 147.156.163.199 ---- 147.156.163.197 ----- And the configuration is as follows: On 4: (ethernet card configuration) ifconfig eth0 147.156.163.194 netmask 255.255.252.0 up (mpls configuration) route add -host 147.156.163.199 gw 147.156.163.199 mplsadm -A -B -O gen:16:eth0:ipv4:147.156.163.199 -f 147.156.163.199/32 mplsadm -A -I gen:17:0 mplsadm -L eth0:0 On 7: (ethernet card configuration) ifconfig eth0 147.156.163.197 netmask 255.255.252.0 up (mpls configuration) route add -host 147.156.163.198 gw 147.156.163.198 mplsadm -A -B -O gen:18:eth0:ipv4:147.156.163.198 -f 147.156.163.198/32 mplsadm -A -I gen:17:0 mplsadm -L eth0:0 On 8: (ethernet card configuration) ifconfig eth0 147.156.163.198 netmask 255.255.252.0 up ifconfig eth1 147.156.163.199 netmask 255.255.252.0 up (mpls configuration) route add -host 147.156.163.194 gw 147.156.163.194 dev eth1 route add -host 147.156.163.197 gw 147.156.163.197 dev eth0 mplsadm -A -B -O gen:19:eth0:ipv4:147.156.163.197 -f 147.156.163.197/32 mplsadm -A -B -O gen:17:eth1:ipv4:147.156.163.194 -f 147.156.163.194/32 mplsadm -A -I gen:19:0 mplsadm -L eth0:0 mplsadm -L eth1:0 When I try to make ping between 4 and 8 or between 7 and 8 I have no problems, but when I try ping between 4 and 7 Linux hangs and I don't understand what is wrong with it, can someone help me? I have the PCs connected via cross-connect cables that are tested and works properly, on 4 I have a Realtek RTL 8139 (A) PCI Fast Ethernet card, on 7 and on 8 I have two ethernet cards, a Realtek one and a 3Com 3c905c Tornado card. On 7 I use the 3Com card and on 8 I use the 3Com to connect with 7 (that uses the same kind of card) and the Realtek to connect with 4 (that uses the same kind of card) Thanks in advance! Dani |