Network » История » Версия 7
Андрей Волков, 2011-12-02 18:17
1 | 3 | Андрей Волков | h1. Network |
---|---|---|---|
2 | |||
3 | h2. VLAN |
||
4 | 1 | Андрей Волков | |
5 | /etc/network/interfaces |
||
6 | <pre> |
||
7 | auto vlan2 |
||
8 | iface vlan2 inet manual |
||
9 | vlan_raw_device eth1 |
||
10 | </pre> |
||
11 | 4 | Андрей Волков | |
12 | h2. Bridge |
||
13 | |||
14 | 7 | Андрей Волков | Нужен пакет: bridge-utils |
15 | |||
16 | 4 | Андрей Волков | /etc/network/interfaces |
17 | <pre> |
||
18 | auto br0 |
||
19 | iface br0 inet static |
||
20 | address 188.254.50.165 |
||
21 | netmask 255.255.255.240 |
||
22 | network 188.254.50.160 |
||
23 | broadcast 188.254.50.175 |
||
24 | gateway 188.254.50.161 |
||
25 | dns-nameservers 95.167.167.96 95.167.167.95 |
||
26 | 5 | Андрей Волков | dns-search ekb-info.ru |
27 | 4 | Андрей Волков | bridge_ports eth0 |
28 | bridge_stp on |
||
29 | bridge_maxwait 0 |
||
30 | 6 | Андрей Волков | </pre> |