Thread: [mpls-linux-general] Alias ethernet interface
Status: Beta
Brought to you by:
jleu
|
From: Carlos M. K. <ba...@gm...> - 2005-10-18 22:03:04
|
Hi. Is it possible to use alias ethernet in mpls LSPs? I'm trying the following: # ifconfig ... eth2 Encapsulamento do Link: Ethernet Endere=E7o de HW 00:40:05:31:45:27 inet end.: 192.168.28.1 <http://192.168.28.1> Bcast:192.168.28.31<http://192.168.28.31>Masc: 255.255.255.224 <http://255.255.255.224> UP BROADCASTRUNNING MULTICAST MTU:1500 M=E9trica:1 RX packets:65275 errors:78 dropped:0 overruns:0 frame:2 TX packets:68281 errors:0 dropped:0 overruns:0 carrier:0 colis=F5es:12900 txqueuelen:1000 RX bytes:72749368 (69.3 MiB) TX bytes:54638965 (52.1 MiB) IRQ:10 Endere=E7o de E/S:0xe000 eth2:1 Encapsulamento do Link: Ethernet Endere=E7o de HW 00:40:05:31:45:27 inet end.: 192.168.29.1 <http://192.168.29.1> Bcast:192.168.29.31<http://192.168.29.31>Masc: 255.255.255.224 <http://255.255.255.224> UP BROADCASTRUNNING MULTICAST MTU:1500 M=E9trica:1 IRQ:10 Endere=E7o de E/S:0xe000 ... # mpls nhlfe add key 0 Key: 0x00000006 # mpls nhlfe change key 6 instructions push gen 10000 nexthop eth2 ipv4 192.168.28.2 <http://192.168.28.2> # mpls nhlfe show NHLFE entry key 0x00000006 mtu 1496 propagate_ttl push gen 10000 set eth2 ipv4 192.168.28.2 <http://192.168.28.2> (0 bytes, 0 pkts, 0 dropped) # mpls nhlfe add key 0 Key: 0x00000007 # mpls nhlfe change key 7 instructions push gen 10001 nexthop eth2:1 ipv4 192.168.29.2 <http://192.168.29.2> RTNETLINK answers: Operation not permitted # mpls nhlfe show NHLFE entry key 0x00000007 mtu 0 propagate_ttl (0 bytes, 0 pkts, 0 dropped) NHLFE entry key 0x00000006 mtu 1496 propagate_ttl push gen 10000 set eth2 ipv4 192.168.28.2 <http://192.168.28.2> (0 bytes, 0 pkts, 0 dropped) eth2 works fine, but eth2:1 does not. Does anybody knows what "RTNETLINK answers: Operation not permitted" means? TIA. |
|
From: James R. L. <jl...@mi...> - 2005-10-18 22:06:18
|
I've never tried to use an alias interface. I'll try it tonight and see what results I get. On Tue, Oct 18, 2005 at 08:02:44PM -0200, Carlos Marcos Kakihara wrote: > Hi. > Is it possible to use alias ethernet in mpls LSPs? > I'm trying the following: >=20 > # ifconfig > ... > eth2 Encapsulamento do Link: Ethernet Endere?o de HW 00:40:05:31:45:27 > inet end.: 192.168.28.1 <http://192.168.28.1> > Bcast:192.168.28.31<http://192.168.28.31>Masc: > 255.255.255.224 <http://255.255.255.224> > UP BROADCASTRUNNING MULTICAST MTU:1500 M?trica:1 > RX packets:65275 errors:78 dropped:0 overruns:0 frame:2 > TX packets:68281 errors:0 dropped:0 overruns:0 carrier:0 > colis?es:12900 txqueuelen:1000 > RX bytes:72749368 (69.3 MiB) TX bytes:54638965 (52.1 MiB) > IRQ:10 Endere?o de E/S:0xe000 >=20 > eth2:1 Encapsulamento do Link: Ethernet Endere?o de HW 00:40:05:31:45:27 > inet end.: 192.168.29.1 <http://192.168.29.1> > Bcast:192.168.29.31<http://192.168.29.31>Masc: > 255.255.255.224 <http://255.255.255.224> > UP BROADCASTRUNNING MULTICAST MTU:1500 M?trica:1 > IRQ:10 Endere?o de E/S:0xe000 > ... >=20 > # mpls nhlfe add key 0 > Key: 0x00000006 > # mpls nhlfe change key 6 instructions push gen 10000 nexthop eth2 ipv4 > 192.168.28.2 <http://192.168.28.2> > # mpls nhlfe show > NHLFE entry key 0x00000006 mtu 1496 propagate_ttl > push gen 10000 set eth2 ipv4 192.168.28.2 <http://192.168.28.2> (0 bytes,= 0 > pkts, 0 dropped) >=20 > # mpls nhlfe add key 0 > Key: 0x00000007 > # mpls nhlfe change key 7 instructions push gen 10001 nexthop eth2:1 ipv4 > 192.168.29.2 <http://192.168.29.2> > RTNETLINK answers: Operation not permitted > # mpls nhlfe show > NHLFE entry key 0x00000007 mtu 0 propagate_ttl > (0 bytes, 0 pkts, 0 dropped) > NHLFE entry key 0x00000006 mtu 1496 propagate_ttl > push gen 10000 set eth2 ipv4 192.168.28.2 <http://192.168.28.2> (0 bytes,= 0 > pkts, 0 dropped) >=20 >=20 > eth2 works fine, but eth2:1 does not. > Does anybody knows what "RTNETLINK answers: Operation not permitted" mean= s? >=20 > TIA. --=20 James R. Leu jl...@mi... |
|
From: Carlos M. K. <ba...@gm...> - 2005-10-31 05:29:22
|
Hi. Do you have good news for alias interface? ;-) TIA On 10/18/05, James R. Leu <jl...@mi...> wrote: > > I've never tried to use an alias interface. I'll try it tonight and > see what results I get. > > On Tue, Oct 18, 2005 at 08:02:44PM -0200, Carlos Marcos Kakihara wrote: > > Hi. > > Is it possible to use alias ethernet in mpls LSPs? > > I'm trying the following: > > > > # ifconfig > > ... > > eth2 Encapsulamento do Link: Ethernet Endere?o de HW 00:40:05:31:45:27 > > inet end.: 192.168.28.1 <http://192.168.28.1> <http://192.168.28.1> > > Bcast:192.168.28.31 <http://192.168.28.31><http://192.168.28.31>Masc: > > 255.255.255.224 <http://255.255.255.224> <http://255.255.255.224> > > UP BROADCASTRUNNING MULTICAST MTU:1500 M?trica:1 > > RX packets:65275 errors:78 dropped:0 overruns:0 frame:2 > > TX packets:68281 errors:0 dropped:0 overruns:0 carrier:0 > > colis?es:12900 txqueuelen:1000 > > RX bytes:72749368 (69.3 MiB) TX bytes:54638965 (52.1 MiB) > > IRQ:10 Endere?o de E/S:0xe000 > > > > eth2:1 Encapsulamento do Link: Ethernet Endere?o de HW 00:40:05:31:45:2= 7 > > inet end.: 192.168.29.1 <http://192.168.29.1> <http://192.168.29.1> > > Bcast:192.168.29.31 <http://192.168.29.31><http://192.168.29.31>Masc: > > 255.255.255.224 <http://255.255.255.224> <http://255.255.255.224> > > UP BROADCASTRUNNING MULTICAST MTU:1500 M?trica:1 > > IRQ:10 Endere?o de E/S:0xe000 > > ... > > > > # mpls nhlfe add key 0 > > Key: 0x00000006 > > # mpls nhlfe change key 6 instructions push gen 10000 nexthop eth2 ipv4 > > 192.168.28.2 <http://192.168.28.2> <http://192.168.28.2> > > # mpls nhlfe show > > NHLFE entry key 0x00000006 mtu 1496 propagate_ttl > > push gen 10000 set eth2 ipv4 192.168.28.2 <http://192.168.28.2> < > http://192.168.28.2> (0 bytes, 0 > > pkts, 0 dropped) > > > > # mpls nhlfe add key 0 > > Key: 0x00000007 > > # mpls nhlfe change key 7 instructions push gen 10001 nexthop eth2:1 > ipv4 > > 192.168.29.2 <http://192.168.29.2> <http://192.168.29.2> > > RTNETLINK answers: Operation not permitted > > # mpls nhlfe show > > NHLFE entry key 0x00000007 mtu 0 propagate_ttl > > (0 bytes, 0 pkts, 0 dropped) > > NHLFE entry key 0x00000006 mtu 1496 propagate_ttl > > push gen 10000 set eth2 ipv4 192.168.28.2 <http://192.168.28.2> < > http://192.168.28.2> (0 bytes, 0 > > pkts, 0 dropped) > > > > > > eth2 works fine, but eth2:1 does not. > > Does anybody knows what "RTNETLINK answers: Operation not permitted" > means? > > > > TIA. > > -- > James R. Leu > jl...@mi... > |