Re: [mpls-linux-general] HELP ME PLEASE!!!
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2003-03-24 16:44:56
|
(I asked you to continue to CC the mpls-linux mailing list. Please respect my wishes.) On Mon, Mar 24, 2003 at 05:31:34PM +0100, e7...@ti... wrote: > Follwowing yor instructions i've done the foolowing: > [root@localhost root]# cd /usr/src/mpls-linux-1.1/utils/ > [root@localhost utils]# make clean > Makefile:6: *** missing separator. Stop. > [root@localhost utils]# make > What's happened? It didn't work. > Makefile that is in /usr/src/mpls-linux-1.1/utils/ is this: > [root@localhost utils]# cat Makefile > CC=gcc > CFLAGS = -O2 -Wall > > > all: mplsadm > strip mplsadm > > > mplsadm: netlink.o mplsadm.o > gcc -O2 -static -o $@ $^ > > clean: > rm -rf *.o mplsadm > What i've to do? Do you know how to do any sort of debugging? Do you know how a Makefile works? If not, why are you even trying to understand MPLS, go back to school and learn about UNIX first. > >-- Messaggio Originale -- > >From: "James R. Leu" <jl...@mi...> > >To: e7...@ti... > >Cc: mpl...@li... > >Subject: Re: [mpls-linux-general] HELP ME PLEASE!!! > >Reply-To: jl...@mi... > >Date: Mon, 24 Mar 2003 12:12:40 -0600 > > > > > >(CC'ed to the list, please continue to CC the list) > > > >'mplsadm2 -d' toggles kernel debugging. When kernel debugging is turned > >on every mplsadm2 command will result in new info showing up at the end > of > >the > >'dmesg' output. > > > >On Mon, Mar 24, 2003 at 04:45:05PM +0100, e7...@ti... wrote: > >> I'm using mpls-linux-1.172 > >> I don't know where i can find mplsadm2 > > > >cd mpls-linux/utils/ > >make clean > >make > > > >> I've tryed to make what i've written many times, the first time it gaves > >> me result after every instruction i gave but now i doesn't happen. Why? > >> Where i can see debug info? > >> Which are they in the result of dmesg that i've done and written under? > >> > >> >-- Messaggio Originale -- > >> >Date: Mon, 24 Mar 2003 11:25:46 -0600 > >> >From: "James R. Leu" <jl...@mi...> > >> >To: e7...@ti... > >> >Subject: Re: [mpls-linux-general] HELP ME PLEASE!!! > >> >Reply-To: jl...@mi... > >> > > >> > > >> >On Mon, Mar 24, 2003 at 04:27:40PM +0100, e7...@ti... wrote: > >> >> I'0m using mplsadm > >> > > >> >Where did you get mplsadm? If you are using the most recent mpls-linux > >> >it creates mplsdadm2, and you will see output after each and every > >> >'mplsadm2' command. > >> > > >> >> I've done > >> >> [root@localhost utils]# mplsadm -A -O 0 > >> >> [root@localhost utils]# mplsadm -O 0x2 > >> >> [root@localhost utils]# mplsadm -O 0x2 -o push:gen:16:eth0:ipv4:10.0.3.17 > >> >> [root@localhost utils]# mplsadm -A -I gen:17:0 > >> >> [root@localhost utils]# mplsadm -L eth0:0 > >> >> After i've done > >> >> [root@localhost utils]# dmesg > >> >> Linux version 2.4.20 (ro...@lo...) (gcc version 2.96 > >20000731 > >> >> (Red Hat Linux 7.1 2.96-98)) #12 SMP ven feb 21 08:45:47 CET > >> >> 2003 > >> >> BIOS-provided physical RAM map: > >> >> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) > >> >> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) > >> >> BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) > >> >> BIOS-e820: 0000000000100000 - 0000000010000000 (usable) > >> >> BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) > >> >> 256MB LOWMEM available. > >> >> On node 0 totalpages: 65536 > >> >> zone(0): 4096 pages. > >> >> zone(1): 61440 pages. > >> >> zone(2): 0 pages. > >> >> Kernel command line: auto BOOT_IMAGE=linux_prova ro root=306 BOOT_FILE=/boot/bzImage > >> >> Local APIC disabled by BIOS -- reenabling. > >> >> Found and enabled local APIC! > >> >> Initializing CPU#0 > >> >> Detected 349.183 MHz processor. > >> >> Console: colour VGA+ 80x25 > >> >> Calibrating delay loop... 696.32 BogoMIPS > >> >> Memory: 255900k/262144k available (1821k kernel code, 5856k reserved, > >> 647k > >> >> data, 120k init, 0k highmem) > >> >> Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) > >> >> Inode cache hash table entries: 16384 (order: 5, 131072 bytes) > >> >> Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) > >> >> Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes) > >> >> Page-cache hash table entries: 65536 (order: 6, 262144 bytes) > >> >> CPU: L1 I cache: 16K, L1 D cache: 16K > >> >> CPU: L2 cache: 512K > >> >> Intel machine check architecture supported. > >> >> Intel machine check reporting enabled on CPU#0. > >> >> CPU: After generic, caps: 0183fbff 00000000 00000000 00000000 > >> >> CPU: Common caps: 0183fbff 00000000 00000000 00000000 > >> >> Enabling fast FPU save and restore... done. > >> >> Checking 'hlt' instruction... OK. > >> >> POSIX conformance testing by UNIFIX > >> >> CPU: L1 I cache: 16K, L1 D cache: 16K > >> >> CPU: L2 cache: 512K > >> >> Intel machine check reporting enabled on CPU#0. > >> >> CPU: After generic, caps: 0183fbff 00000000 00000000 00000000 > >> >> CPU: Common caps: 0183fbff 00000000 00000000 00000000 > >> >> CPU0: Intel Pentium II (Deschutes) stepping 01 > >> >> per-CPU timeslice cutoff: 1459.33 usecs. > >> >> SMP motherboard not detected. > >> >> enabled ExtINT on CPU#0 > >> >> ESR value before enabling vector: 00000000 > >> >> ESR value after enabling vector: 00000000 > >> >> Using local APIC timer interrupts. > >> >> calibrating APIC timer ... > >> >> ..... CPU clock speed is 349.1902 MHz. > >> >> ..... host bus clock speed is 99.7683 MHz. > >> >> cpu: 0, clocks: 997683, slice: 498841 > >> >> CPU0<T0:997680,T1:498832,D:7,S:498841,C:997683> > >> >> Waiting on wait_init_idle (map = 0x0) > >> >> All processors have done init_idle > >> >> PCI: PCI BIOS revision 2.10 entry at 0xed728, last bus=1 > >> >> PCI: Using configuration type 1 > >> >> PCI: Probing PCI hardware > >> >> PCI: Using IRQ router PIIX [8086/7110] at 00:14.0 > >> >> Limiting direct PCI/PCI transfers. > >> >> isapnp: Scanning for PnP cards... > >> >> isapnp: Card 'ESS ES1869 Plug and Play AudioDrive' > >> >> isapnp: 1 Plug & Play card detected total > >> >> Linux NET4.0 for Linux 2.4 > >> >> Based upon Swansea University Computer Society NET3.039 > >> >> Initializing RT netlink socket > >> >> Starting kswapd > >> >> Journalled Block Device driver loaded > >> >> Installing knfsd (copyright (C) 1996 ok...@mo...). > >> >> parport0: PC-style at 0x378 (0x778) [PCSPP(,...)] > >> >> parport0: irq 7 detected > >> >> pty: 256 Unix98 ptys configured > >> >> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ > SERIAL_PCI > >> >> ISAPNP enabled > >> >> ttyS00 at 0x03f8 (irq = 4) is a 16550A > >> >> ttyS01 at 0x02f8 (irq = 3) is a 16550A > >> >> ttyS02 at 0x03e8 (irq = 4) is a 16450 > >> >> ttyS03 at 0x02e8 (irq = 3) is a 16450 > >> >> lp0: using parport0 (polling). > >> >> lp0: console ready > >> >> Uniform Multi-Platform E-IDE driver Revision: 6.31 > >> >> ide: Assuming 33MHz system bus speed for PIO modes; override with > idebus=xx > >> >> PIIX4: IDE controller on PCI bus 00 dev a1 > >> >> PIIX4: chipset revision 1 > >> >> PIIX4: not 100% native mode: will probe irqs later > >> >> ide0: BM-DMA at 0x2420-0x2427, BIOS settings: hda:DMA, hdb:pio > >> >> ide1: BM-DMA at 0x2428-0x242f, BIOS settings: hdc:DMA, hdd:pio > >> >> hda: FUJITSU MPB3064ATU, ATA DISK drive > >> >> hdc: Compaq CRD-8320B, ATAPI CD/DVD-ROM drive > >> >> ide2: ports already in use, skipping probe > >> >> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > >> >> ide1 at 0x170-0x177,0x376 on irq 15 > >> >> blk: queue c03d97c4, I/O limit 4095Mb (mask 0xffffffff) > >> >> hda: 12594960 sectors (6449 MB), CHS=833/240/63, UDMA(33) > >> >> hdc: ATAPI 32X CD-ROM drive, 128kB Cache, DMA > >> >> Uniform CD-ROM driver Revision: 3.12 > >> >> ide-floppy driver 0.99.newide > >> >> Partition check: > >> >> hda: hda1 hda2 < hda5 hda6 hda7 > > >> >> Floppy drive(s): fd0 is 1.44M > >> >> FDC 0 is a National Semiconductor PC87306 > >> >> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). > >> >> loop: loaded (max 8 devices) > >> >> plip: parport0 has no IRQ. Using IRQ-less mode,which is fairly inefficient! > >> >> NET3 PLIP version 2.4-parport gn...@mr... > >> >> plip0: Parallel port at 0x378, not using IRQ. > >> >> PPP generic driver version 2.4.2 > >> >> PPP Deflate Compression module registered > >> >> PPP BSD Compression module registered > >> >> Linux agpgart interface v0.99 (c) Jeff Hartmann > >> >> agpgart: Maximum main memory to use for agp memory: 204M > >> >> agpgart: Detected Intel 440BX chipset > >> >> agpgart: AGP aperture is 64M @ 0x44000000 > >> >> [drm] Initialized tdfx 1.0.0 20010216 on minor 0 > >> >> [drm] AGP 0.99 on Intel 440BX @ 0x44000000 64MB > >> >> [drm] Initialized radeon 1.1.1 20010405 on minor 1 > >> >> [drm] AGP 0.99 on Intel 440BX @ 0x44000000 64MB > >> >> [drm] Initialized i810 1.2.0 20010920 on minor 2 > >> >> ide-floppy driver 0.99.newide > >> >> es1371: version v0.30 time 08:51:53 Feb 21 2003 > >> >> usb.c: registered new driver usbdevfs > >> >> usb.c: registered new driver hub > >> >> uhci.c: USB Universal Host Controller Interface driver v1.1 > >> >> PCI: Found IRQ 11 for device 00:14.2 > >> >> uhci.c: USB UHCI at I/O 0x2400, IRQ 11 > >> >> usb.c: new USB bus registered, assigned bus number 1 > >> >> hub.c: USB hub found > >> >> hub.c: 2 ports detected > >> >> usb.c: registered new driver serial > >> >> usbserial.c: USB Serial support registered for Generic > >> >> usbserial.c: USB Serial Driver core v1.4 > >> >> mice: PS/2 mouse device common for all mice > >> >> NET4: Linux TCP/IP 1.0 for NET4.0 > >> >> IP Protocols: ICMP, UDP, TCP > >> >> IP: routing cache hash table of 2048 buckets, 16Kbytes > >> >> TCP: Hash tables configured (established 16384 bind 16384) > >> >> IPv4 over IPv4 tunneling driver > >> >> ip_conntrack version 2.1 (2048 buckets, 16384 max) - 292 bytes per > conntrack > >> >> ip_tables: (C) 2000-2002 Netfilter core team > >> >> arp_tables: (C) 2002 David S. Miller > >> >> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > >> >> MPLS version 1.172 11/14/2002 jl...@mi... > >> >> kjournald starting. Commit interval 5 seconds > >> >> EXT3-fs: mounted filesystem with ordered data mode. > >> >> VFS: Mounted root (ext3 filesystem) readonly. > >> >> Freeing unused kernel memory: 120k freed > >> >> Adding Swap: 279680k swap-space (priority -1) > >> >> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal > >> >> kjournald starting. Commit interval 5 seconds > >> >> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal > >> >> EXT3-fs: mounted filesystem with ordered data mode. > >> >> 8139too Fast Ethernet driver 0.9.26 > >> >> PCI: Found IRQ 11 for device 00:0d.0 > >> >> eth0: SMC1211TX EZCard 10/100 (RealTek RTL8139) at 0xd0868000, 00:10:b5:b8:e9:e5, > >> >> IRQ 11 > >> >> eth0: Identified 8139 chip type 'RTL-8139B' > >> >> eth0: Setting 100mbps half-duplex based on auto-negotiated partner > ability > >> >> 40a1. > >> >> Where are MPLS debug info?Which are they? > >> >> After i've done > >> >> [root@localhost root]# cd /home/efacchin/iproute2 > >> >> [root@localhost iproute2]# which ip > >> >> /sbin/ip > >> >> I've also tryed to do > >> >> [root@localhost utils]# cat /proc/net/mpls_in > >> >> [root@localhost utils]# cat /proc/net/mpls_out > >> >> [root@localhost utils]# cat /proc/net/mpls_* > >> >> 01010702 > >> >> [root@localhost utils]# cat /proc/net/mpls* > >> >> 01010702 > >> >> What's happened? > >> >> How can i see MPLS header with ethereal? > >> >> I've tryed to send packets pinging 10.0.3.17 and setting host 10.0.3.100 > >> >> on ethereal to see what my pc sends and setting ethereal to decode > packets > >> >> like MPLS. I've seen that in the field Info it writes Maldformed Frame > >> >> > >> >> >-- Messaggio Originale -- > >> >> >Date: Mon, 24 Mar 2003 11:01:01 -0600 > >> >> >From: "James R. Leu" <jl...@mi...> > >> >> >To: e7...@ti... > >> >> >Cc: mpl...@li... > >> >> >Subject: Re: [mpls-linux-general] HELP ME PLEASE!!! > >> >> >Reply-To: jl...@mi... > >> >> > > >> >> > > >> >> >On Mon, Mar 24, 2003 at 11:00:03AM +0100, e7...@ti... wrote: > >> >> >> Hi everybody > >> >> >> I'm new using mplsadm and i've many problems with it > >> >> >> Like i've told you in my precedent mails i've tryed to make a lsp > >> from > >> >> >a > >> >> >> pc (10.0.3.100) to another (10.0.3.17) > >> >> >> I've done > >> >> >> mplsadm -A -O 0 > >> >> >> mplsadm -O key1 -o push:gen:16:set:eth0:ipv4:192.168.8.197 > >> >> >> mplsadm -A -I gen:17:0 > >> >> >> mplsadm -L eth0:0 > >> >> > > >> >> >Do you mean mplsadm2 or mplsadm? > >> >> >What is the output from these commands? > >> >> > > >> >> >Turn on mpls kernel debugging before issuing these commands then > >> >> >check the output of 'dmesg'. > >> >> > > >> >> > > >> >> >> [root@localhost root]# ip route show > >> >> >> i've done it and the result is : > >> >> > > >> >> >Is this your mpls enabled version of 'ip'? > >> >> >Do a 'which ip' does it point to the version of 'ip' that was built > >> >> >from the patched version of iproute2? > >> >> > > >> >> >> [root@localhost root]# cat /proc/net/mpls* > >> >> >> 01010702 > >> >> >> [root@localhost root]# ip route show > >> >> >> 10.0.3.57 via 10.0.3.100 dev eth0 scope link > >> >> >> 10.0.3.57 via 10.0.3.100 dev eth0 > >> >> >> 10.0.3.17 via 10.0.3.100 dev eth0 scope link > >> >> >> !!!Deficit 4, rta_len=10 > >> >> > > >> >> >See above. > >> >> > > >> >> >> What does "scope link " mean? > >> >> > > >> >> >Read the 'ip' man page. > >> >> > > >> >> >> ------------------------------------------------------- > >> >> >> This sf.net email is sponsored by:ThinkGeek > >> >> >> Welcome to geek heaven. > >> >> >> http://thinkgeek.com/sf > >> >> >> _______________________________________________ > >> >> >> mpls-linux-general mailing list > >> >> >> mpl...@li... > >> >> >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > >> >> > > >> >> >-- > >> >> >James R. Leu > >> >> > >> >> > >> >> __________________________________________________________________ > >> >> Tiscali ADSL, fino a 9 MESI GRATIS sull'offerta Tiscali ADSL Light > Mega! > >> >> Tiscali ADSL non teme confronti! Abbonati subito. > >> >> http://point.tiscali.it/adsl/index.shtml > >> >> > >> >> > >> > > >> >-- > >> >James R. Leu > >> > >> > >> __________________________________________________________________ > >> Tiscali ADSL, fino a 9 MESI GRATIS sull'offerta Tiscali ADSL Light Mega! > >> Tiscali ADSL non teme confronti! Abbonati subito. > >> http://point.tiscali.it/adsl/index.shtml > >> > >> > > > >-- > >James R. Leu > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >mpls-linux-general mailing list > >mpl...@li... > >https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > __________________________________________________________________ > Tiscali ADSL, fino a 9 MESI GRATIS sull'offerta Tiscali ADSL Light Mega! > Tiscali ADSL non teme confronti! Abbonati subito. > http://point.tiscali.it/adsl/index.shtml > > -- James R. Leu |