Table of Contents

Internet Connection

A connection to the Internet can be realized with different Internet access technologies implementing diverse protocols:

Note1: – forwarding of IPv4 is already enabled (in file /etc/sysctl.conf)
Note2:MASQUERADING is also already enabled (in file /etc/config/firewall)
Note3: – The LAN and the wireless network interfaces are bridged together
Note4: The WLAN is disabled by default (in file /etc/config/wireless)

General Configuration

The network is configured using the UCI file /etc/config/network. This file may be edited manually or using the uci command line.

See the following sections that pertain to your particular connection requirements:

NGN: VoIP and IPTV

Next-generation network comprises VoIP and IPTV and everything is based on the Internet Protocol! These data streams should be separated from the usual data stream and routed to some hardware port where you can grab them with whatever device you wish to use them. If the output does not take place over a standard Ethernet Port, but e.g. over an ISDN- or a TAE connector, a corresponding signal has to be generated in hardware. This needs Linux support as well.

Da trick with the VLAN trunking

A trick to make the data packets belonging to the different services easily distinguishable from one another, is the usage of VLAN trunking. It has to be done on both sides, and you have to utilize the same VIDs as your ISP does. So, go learn about VLANs.

While you learn about VLAN and VLAN trunking it might be helpful to keep in mind, that with VLAN trunking you send three (respectively two) data services over one line, but want to simulate that you do this over three (respectively two) lines. So you have three virtual ports on the ISP side, each sends its packets over its own virtual line, to each its virtual port in your router. Now to get the data OUT of your router, each of the three virtual ports, has to have second port connected to it.

So, on your side, you would need six ports and three lines, but you (most likely) have only four ports and one line. So make the one port with the line connected to it, act as if it was three ports with each one separate line connected to it. That's it. As easy as eating pancakes or opening a can with an electrical can opener.

Note: If you have Dual/Triple/Quadruple Play you may find some help here: x.play.

IPv6

Automatic Configuration

Some ISPs offer Information about Settings on 3rd_Party_Routers