ATS report ttmer9i_en.rtf
Created on G-PON at Thu, 10 Feb 2011 15:19:02 GMT

1. Identification [028253,308]
1.1 Lab. environ.

    Computer name......  
1.2 Persons

    Lab. staff:........  
    Student:...........  
    Student:...........  
2. ONT Installation 
2.1 ONT unpacking and installation 

    ONT serial number:..    ...read from the label
2.2 Discover and Create new ONT using EM-PX with these parameters: 

    ONT Type:........... G25E-001
    ONT ID:............. 18
    User label:......... 028253
    T-CONT-VoIP:........ 1530 kbps
    T-CONT-TDM:......... 510 kbps
    T-CONT-HPRT:........ 1020 kbps
    T-CONT-HPmin:....... 1530 kbps
    T-CONT-HPmax:....... 2040 kbps
    T-CONT-Best Effort:. 2040 kbps
2.3 Locate the ONT, unlock and  wait for in-service status 

    Power LED........... Lit steady, green
    Optical LED.........  
    LAN LED.............  
    Update LED..........  
    Alarm LED...........  
    POTS LED............  

3. Creating VLAN interfaces 
3.1 Log in camelot as root using PuTTY 

    Password:........... siemens7
3.2 Create the following VLAN interfaces using vconfig

    Fast Internet VLAN:. 418
    VoiceOverIP VLAN:... 419
    IP Television VLAN:. 420
3.3 Configure IP addresses of VLANs using ifconfig

    Fast Internet IP:,.. 10.0.42.1
    VoiceOverIP:........ 10.0.43.1
    IP Television IP:... 10.0.44.1
----------------------------------------------------------------------------------
Check the configuration, and copy/paste the relevant portion of the results of ifconfig -a command here: 
(In PuTTY select with the mouse, and Edit/Paste special/Unformatted into the box here. . .) 

3.4 Create the corresponding VLANs at the OLT using EM-PX:

Grab a remote desktop to pleaides.tmit.bme.hu, and start the EM PX.
Use the locally installed EM-PX version - if available!.
(ckick OK, CTRL+N, mouse right click hiX5750, and "Equipment configuration")
(expand hiX5750, Bridge, VLAN, Overview tab, fill in the New form, click OK)
    Fast Internet:.... Name = HS-Internet-028253
    VoiceOverIP:...... Name = VoIP-028253
    IP Televison:..... Name = IpTV-028253, IGMP only:X
3.5 Put the OLTs uplink into these VLAN-s (tagged)

(CXU, Ethernet Port#2, VLAN tab, select them and "add tagged", click "apply")
3.6 Put the ONTs interfaces into these VLAN-s as follows:

(expand IUGPON...#101,GPON Port #1,G25E-002#18 SFU, Subscriber Card#2 ... VLAN Assignment tab)
    Fast Internet->Ethernet Port#1... HS-Internet-028253 (untagged)
    VoiceOverIP->  VoIP #7............ VpIP-028253 (tagged)
    IP Television->Ethernet Port#2... IpTV-028253 (untagged)
    Set the Bridge PVIDs to the corresponding VLAN IDs (418,419,420).
(expand IUGPON...#101,GPON Port #1,G25E-002#18 SFU, Subscriber Card#2 ... Bridge tabs)

4. Addressing and NAT
4.1 DHCP configuration:

    Create a working directory named 028253, and go there.
    Create your own DHCP configuration file using the one in the guide as a template
    named dhcpd.028253.conf , serving the VLANs above:

# dhcpd.028253.conf - dhcp3 server configuration file
ddns-update-style none;
option domain-name "tmit.bme.hu";
option domain-name-servers 152.66.246.10, 152.66.146.170;
default-lease-time 600;
max-lease-time 7200;
authoritative;
#Hs Internet
 . . . . . .

4.2 Start a new DHCP server on camelot:

Start a new services daemon using separate configuration file, PID file, and interfaces:
    dhcpd3 -pf dhcpd.028253.pid -cf dhcpd.028253.conf eth0.418 eth0.419 eth0.420 
Note that a new daemon instance requires unique files/interfaces!
----------------------------------------------------------------------------------
Checkout, and copy/paste the results of ps ax | grep dhcp command: 

4.3 Network address translation to the campus network, iptables.

Use the guide to configure NAT for the 10.0.42.0 network, and open the firewall for 10.0.42.0/24, 10.0.43.0/24, és 10.0.44.0/24 networks. 
----------------------------------------------------------------------------------
Checkout, and copy/paste the results of iptables -t nat --list és iptables -t filter --list parancsok eredményeinek idevágó részét: 

5. Provisioning fast internet
5.1 Bring up the ONTs Ethernet port #1

    1.Connect the ONTs port 1 to the PC.
    2. ...GPON Port #1,G25E-002#18 SFU, Subscriber Card#2 Ethernet Port#1 unlock 
    3. Enable Local Area Connection 2 on the PC.
----------------------------------------------------------------------------------
Check the up status using EM-PX.
Checkout, and copy/paste the relevant section of the results of the cat /var/lib/dhcp3/dhcpd.leases command at camelot: 

Checkout, and copy/paste the relevant section of the results of the ipconfig command at the PC: 

5.2 Testing the Fast Internet service

    Internet access should be available through GPON test network after the campus network is disconnected from the PC.
----------------------------------------------------------------------------------
In case of failure describe the error recovery procedure (step by step):

6. Provisioning POTSs
6.1 Add new terminals (station 428, and 429)to Asterisk configuration

1. Edit extension.conf and add 028253stations, and 028253provider sections.
2. Edit sip.conf and add a new 028253provider context and 
put 428 and 429 in it.
3. Reload the configuration at the Asterisk CLI (asterisk -vvvcr, and reload).
----------------------------------------------------------------------------------
Checkout, and copy/paste the relevant section of the results of the sip show peers command from Asterisk CLI: 

4. Make a phone call to 108 (date/time service).
----------------------------------------------------------------------------------
In case of failure start an error recovery procedure (describe):

7. IP Television
7.1 Starting Multicast streams with movies on eth0.420 interface as follows:

1. 239.255.19.100:1308 : Star_Wars3-TAQUILLA.mpg
2. 239.255.19.100:1309 : Around_The_World_In_80_Days.mpg
3. 239.255.19.100:1310 : Charlie_and_the_Chocolate_Factory.mpg
----------------------------------------------------------------------------------
route, iptables, and VLC commands for routing, opening the firewall, and starting the playout:

7.2 STB configuration and test

1. Install the STB, and connect to ONT (Ethernet port # 2).
2. Find its IP address in /var/lib/dhcp3/dhcpd.leases file.
3. Check the reachability of the STB using ping command.
----------------------------------------------------------------------------------
Results of cat /var/lib/dhcp3/dhcpd.leases , and/or error recovery steps:

4. Create the channel list for the movies in /var/www/028253 (chnls.txt)
   (three stream, see 2,3, and 4 in the guide).
5. Telnet from camelot into the STB (root, root2root)
6. Change to /mnt/nv and wget the channel list (http://10.0.44.1/028253/chnls.txt)
----------------------------------------------------------------------------------
The channel list:

7. Cycle power or reboot the STB. Enjoy the movies (if it works). . .
----------------------------------------------------------------------------------
If it does not work, start an error recovery procedure (describe the steps attempted):

7.3 Optional task: WEB based VOD (Video On Demand) interface on camelot for the movies