Thread: [mpls-linux-general] Problems with networking
Status: Beta
Brought to you by:
jleu
From: Daniel G. C. <da...@on...> - 2002-03-10 18:08:28
|
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 =20 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 |
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 |
From: Brij K. R. <bk...@ua...> - 2002-03-15 11:42:55
|
Hi, I am working on MPLS. I have a very basic question how I can make sure of that my routers are doing label switching??? Best regards, --Brij Kishore |
From: Radu D. <dr...@ee...> - 2002-03-15 11:54:42
|
Hi. 1. check the files within the /proc/net/mpls* # watch -n1 cat /proc/net/mpls* And you will see changes in the number of packets using an output label or having an input label 2. turn on debug # ./mplsadm2 -d than if the router is "doing label switching" you will see a lot of messages in /var/log/messages #tail -f /var/log/messages Radu ----- Original Message ----- From: Brij Kishore Rai <bk...@ua...> To: <mpl...@li...> Sent: Friday, March 15, 2002 11:41 AM Subject: [mpls-linux-general] generic querry > Hi, > I am working on MPLS. I have a very basic question how I can make > sure of that my routers are doing label switching??? > > Best regards, > --Brij Kishore > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |
From: Abhijit G. <gab...@ee...> - 2002-03-15 12:03:08
|
and to see the packets urself, you can use ethereal. ;-) -abhijit Radu Dragos wrote : >Hi. >1. check the files within the /proc/net/mpls* ># watch -n1 cat /proc/net/mpls* >And you will see changes in the number of packets using an output label or >having an input label > >2. turn on debug ># ./mplsadm2 -d >than if the router is "doing label switching" you will see a lot of >messages in /var/log/messages >#tail -f /var/log/messages > >Radu > > >----- Original Message ----- >From: Brij Kishore Rai <bk...@ua...> >To: <mpl...@li...> >Sent: Friday, March 15, 2002 11:41 AM >Subject: [mpls-linux-general] generic querry > > >> Hi, >> I am working on MPLS. I have a very basic question how I can make >> sure of that my routers are doing label switching??? >> >> Best regards, >> --Brij Kishore -- bitwise byte foolish -- |
From: Radu D. <dr...@ee...> - 2002-03-15 12:09:49
|
> and to see the packets urself, you can use ethereal. ;-) > > -abhijit If the node is the source or an LSR, but not if the node is the destination of the MPLS packet :)) > > Radu Dragos wrote : > > >Hi. > >1. check the files within the /proc/net/mpls* > ># watch -n1 cat /proc/net/mpls* > >And you will see changes in the number of packets using an output label or > >having an input label > > > >2. turn on debug > ># ./mplsadm2 -d > >than if the router is "doing label switching" you will see a lot of > >messages in /var/log/messages > >#tail -f /var/log/messages > > > >Radu > > > > > >----- Original Message ----- > >From: Brij Kishore Rai <bk...@ua...> > >To: <mpl...@li...> > >Sent: Friday, March 15, 2002 11:41 AM > >Subject: [mpls-linux-general] generic querry > > > > > >> Hi, > >> I am working on MPLS. I have a very basic question how I can make > >> sure of that my routers are doing label switching??? > >> > >> Best regards, > >> --Brij Kishore > > -- > bitwise byte foolish > -- > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |