Re: [mpls-linux-general] MPLS and ATM
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2001-04-05 00:56:36
|
Hello, What is the atm index of your ATM card? cat /proc/net/atm/device It shows up as the Intf. When creating your atm interface (via atmarp -c) the index in the name needs to match that of the index from above. Example: If the atm card index (from /proc/net/atm/device) is 3 atmarp -c atm3 I know this is a kind of a ridiculous rule, but due to the nature of ATM for Linux it is a requirement. Someday I'll get a around to re-writing the way ATM interfaces are handled on Linux ... Let me know if this still doesn't help. Jim On Wed, Apr 04, 2001 at 05:51:21PM -0400, Jonathan Earle wrote: > Hi James, > > Setup is as follows: > > Interphase 5575 ATM NIC > Kernel 2.4.3 > MPLS v0.990 > > Basic IP connectivity between the two NICs works fine. I configure the NICs > thusly: > > master) > atmsigd -b -m network > atmarpd -b > sleep 2s > > if [ "$adapter" != "atm$anum" ]; then > atmarp -c atm$anum > fi > > ifconfig atm$anum 192.168.1.1 up > sleep 2s > atmarp -s 192.168.1.2 0.0.102 > ;; > slave) > atmsigd -b > atmarpd -b > sleep 2s > > if [ "$adapter" != "atm$anum" ]; then > atmarp -c atm$anum > fi > > ifconfig atm$anum 192.168.1.2 up > sleep 2s > atmarp -s 192.168.1.1 0.0.102 > ;; > > Using the examples in REAME.atm, I can create the labelspace: > > root@onc4:~> cat /proc/net/mpls_labelspace > lo 0 > teql0 0 > atm1 3 > > But not IN labels: > > mpls_add_in_label: enter > mpls_info_default_in_instruction: enter > mpls_info_default_in_instruction: exit > mpls_atm_create_vcc: enter(1,0,33,1) > mpls_atm_create_vcc: adev == NULL > mpls_add_in_label: failed creating vcc > __mpls_del_in_label: enter > __mpls_del_in_label: exit > mpls_add_in_label: exit > > or OUT labels: > > mpls_add_out_label: enter > mpls_info_default_moi_instruction: enter > mpls_info_default_moi_instruction: exit > mpls_atm_create_vcc: enter(1,0,33,2) > mpls_atm_create_vcc: adev == NULL > mpls_add_out_label: failed to create VCC > __mpls_del_out_label: enter > __mpls_del_out_label: exit > mpls_add_out_label: exit > > Cheers! > Jon > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |