Handbook:Parts/Networking/Modular/ta

வலையமைப்பு கூறுகள்
Netifrc scripts now support modular networking scripts, which means support for new interface types and configuration modules can easily be added while keeping compatibility with existing ones.

Modules load by default if the package they need is installed. If users specify a module here that doesn't have its package installed then they get an error stating which package they need to install. Ideally, the modules setting is only used when two or more packages are installed that supply the same service and one needs to be preferred over the other.

இடைமுக கையாளு நிரல்கள்
We provide two interface handlers presently: ifconfig and iproute2. Only one of these is needed to do any kind of network configuration.

Both are installed by default as part of the system profile. iproute2 is the more powerful and flexible package.

As both ifconfig and iproute2 do very similar things we allow their basic configuration to work with each other. For example both the below code snippet work regardless of which module the user is using.

DHCP
DHCP is a means of obtaining network information (IP address, DNS servers, Gateway, etc) from a DHCP server. This means that if there is a DHCP server running on the network, the user just has to tell each client to use DHCP and it sets up the network all by itself. Of course, the user will have to configure for other things like wireless, PPP or other things if required before he can use DHCP.

DHCP can be provided by dhclient or dhcpcd. Each DHCP module has its pros and cons - here is a quick run down:

If more than one DHCP client is installed, specify which one to use - otherwise we default to dhcpcd if available.

To send specific options to the DHCP module, use  (change module to the DHCP module being used - i.e. dhcpcd_eth0).

We try to make DHCP relatively agnostic - as such we support the following commands using the dhcp_eth0 variable. The default is not to set any of them:


 * : Releases the IP address for re-use.
 * : Don't overwrite
 * : Don't overwrite
 * : Don't overwrite

PPPoE/PPPoA உடன் ADSL
முதலில் ADSL மென்பொருளை நிறுவவும்:

அடுத்து, PPP வலை குறுநிரல் மற்றும் PPP ஆல் பயன்படுத்தப்படும் ஈத்தர்வலை இடைமுகத்திற்கான வலை குறுநிரல் ஆகியவற்றை உருவாக்கவும்:

இல் rc_depend_strict என்னும் மாறிக்கு  என அமைப்பதை உறுதிசெய்து கொள்ளவும்.

இப்போது நாம் ஐ உள்ளமைக்க வேண்டும்.

இனுள் கடவுச்சொல்லை அமைக்கவும் வாய்ப்புள்ளது.

If PPPoE is used with a USB modem then make sure to emerge br2684ctl. Please read for information on how to properly configure it.

APIPA (தானியக்க தனியார் IP முகவரியாக்கம்)
APIPA tries to find a free address in the range 169.254.0.0-169.254.255.255 by arping a random address in that range on the interface. If no reply is found then we assign that address to the interface.

This is only useful for LANs where there is no DHCP server and the system doesn't connect directly to the Internet and all other computers use APIPA.

For APIPA support, emerge with the   USE flag or.

பிணைத்தல்
Bonding is used to increase network bandwidth or to improve resiliency in face of hardware failures. If a system has two network cards going to the same network, then the administrator can bond them together so the applications see just one interface but they really use both network cards.

There are many ways to configure bonding. Some of them, such as the 802.3ad LACP mode, require support and additional configuration of the network switch. For a reference of the individual options, please refer to the local copy of.

First, clear the configuration of the participating interfaces:

Next, define the bonding between the interfaces:

Remove the net.eth* services from the runlevels, create a net.bond0 one and add that one to the correct runlevel.

== பாலமிடல் (802.1d கான ஆதரவு)

Bridging is used to join networks together. For example, a system may have a server that connects to the Internet via an ADSL modem and a wireless access card to enable other computers to connect to the Internet via the ADSL modem. It is possible to create a bridge to join the two interfaces together.

MAC முகவரி
It is possible to change the MAC address of the interfaces through the network configuration file too.

குடைவுவழியாக்கல்
Tunneling does not require any additional software to be installed as the interface handler can do it.

VLAN (802.1q கான ஆதரவு)
VLAN ற்கான ஆதரவிற்கு, தொகுப்பு நிறுவப்பட்டிருக்கிறதா என்பதை சரிபார்த்துக்கொள்ளவும். மேலும் உள்ளமைவு கூறிற்கு ifconfig ற்கு பதிலாக iproute2 பயன்படுத்தப்பட்டுள்ளதா என்பதை உறுதிப்படுத்திக்கொள்ளவும்.

Virtual LAN is a group of network devices that behave as if they were connected to a single network segment - even though they may not be. VLAN members can only see members of the same VLAN even though they may share the same physical network.

To configure VLANs, first specify the VLAN numbers in like so:

அடுத்து, ஒவ்வொரு VLAN ற்கும் இடைமுகத்தை உள்ளமைக்கவும்:

VLAN சார்ந்த உள்ளமைவுகள் vconfig ஆல் இதைப்போல் கையாளப்படுகிறது: