Hello,

Could someone confirm me the mapping between switch port and external port on Mikrotik RB150 (KAMIKAZE (bleeding edge, r10888))

Here is the output of admswconfig (don't look at the actual mapping, it's not relevant at this time)

root@OpenWrt:~# admswconfig
ethX    port0   port1   port2   port3   port4   CPU
0                                       1       1
1                               1               1
2                       1                       1
3               1                               1
4       1                                       1

Can someone confirm that port4 is the external ethernet1 connector and that it goes reversed till ethernet5 (connected to port0) ?

Another question : what is the eth5 of ifconfig output ? A physically not connected eth port, a virtual CPU ethernet port ?

output of ifconfig  -a :

root@OpenWrt:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0C:42:13:83:4A
          inet addr:192.168.2.50  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:42ff:fe13:834a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1902409 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5384 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:115076863 (109.7 MiB)  TX bytes:1260602 (1.2 MiB)
          Interrupt:17

eth1      Link encap:Ethernet  HWaddr 00:0C:42:13:83:4B
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17

eth2      Link encap:Ethernet  HWaddr 00:0C:42:13:83:4C
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17

eth3      Link encap:Ethernet  HWaddr 00:0C:42:13:83:4D
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17

eth4      Link encap:Ethernet  HWaddr 00:0C:42:13:83:4E
          inet addr:10.0.0.149  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:42ff:fe13:834e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:73516 (71.7 KiB)  TX bytes:11649 (11.3 KiB)
          Interrupt:17

eth5      Link encap:Ethernet  HWaddr 00:0C:42:13:83:4F
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:5728 (5.5 KiB)
          Interrupt:17

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:338 errors:0 dropped:0 overruns:0 frame:0
          TX packets:338 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:34554 (33.7 KiB)  TX bytes:34554 (33.7 KiB)

According to the admswconfig parametrisation, I understand interfaces eth0 to eth4 (for example, if you look at the output of my admswconfig, switch internal port4, physical exterior port1 is mapped to interface linux eth0 and so on)

Is this correct and what does eth5 stand for ?

Thanks for your informations.

PloPli

(Last edited by PloPli on 24 Apr 2008, 07:35)