User Tools

Site Tools


cebu_vlan_20

This is an old revision of the document!


When phone is reported to be down:

Please check status of the Asterisk Server.

Also, ensure that there is traffic on Vlan 20 (eth5) on the Mikrotik Router.

do ifconfig on 172.17.10.250

root@pbx:~ $ ifconfig eth0 Link encap:Ethernet HWaddr 00:25:90:52:B4:B9

        inet addr:172.17.10.250  Bcast:172.17.255.255  Mask:255.255.0.0
        inet6 addr: fe80::225:90ff:fe52:b4b9/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:4483054 errors:0 dropped:0 overruns:0 frame:0
        TX packets:112656 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:412306709 (393.2 MiB)  TX bytes:94620105 (90.2 MiB)
        Interrupt:233 Memory:fba00000-fba20000

eth1 Link encap:Ethernet HWaddr 00:25:90:52:B4:B8

        inet6 addr: fe80::225:90ff:fe52:b4b8/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:3614677 errors:0 dropped:0 overruns:0 frame:0
        TX packets:331853 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:304060411 (289.9 MiB)  TX bytes:72066623 (68.7 MiB)
        Interrupt:201 Memory:fb900000-fb920000

eth1.20 Link encap:Ethernet HWaddr 00:25:90:52:B4:B8

        inet addr:172.17.20.5  Bcast:172.17.20.255  Mask:255.255.255.0
        inet6 addr: fe80::225:90ff:fe52:b4b8/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:580092 errors:0 dropped:0 overruns:0 frame:0
        TX packets:331841 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0
        RX bytes:82335904 (78.5 MiB)  TX bytes:72062519 (68.7 MiB)

ham0 Link encap:Ethernet HWaddr 32:20:6C:F5:C1:A7

        inet addr:5.54.253.199  Bcast:5.255.255.255  Mask:255.0.0.0
        UP BROADCAST RUNNING MULTICAST  MTU:1200  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:500
        RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

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:5044 errors:0 dropped:0 overruns:0 frame:0
        TX packets:5044 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0
        RX bytes:429022 (418.9 KiB)  TX bytes:429022 (418.9 KiB)

Phone Proxy Server is at 172.17.20.5, thus if eth1.20 is down

issue the following commands:

vconfig add eth1 20 ifconfig eth1.20 172.17.20.5 netmask 255.255.255.0 broadcast 172.17.20.255 up

To Check the Network Status

root@pbx:~ $ service network status

and it should say this way:

Configured devices: lo eth0 eth1 eth1.20

Currently active devices: lo eth0 eth1 ham0 eth1.20@eth1

cebu_vlan_20.1379084721.txt.gz · Last modified: 2013/09/13 08:05 (11 years ago) by rbilbao