Network » История » Версия 6
Андрей Волков, 2011-12-02 18:16
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 | /etc/network/interfaces |
||
15 | <pre> |
||
16 | auto br0 |
||
17 | iface br0 inet static |
||
18 | address 188.254.50.165 |
||
19 | netmask 255.255.255.240 |
||
20 | network 188.254.50.160 |
||
21 | broadcast 188.254.50.175 |
||
22 | gateway 188.254.50.161 |
||
23 | dns-nameservers 95.167.167.96 95.167.167.95 |
||
24 | 5 | Андрей Волков | dns-search ekb-info.ru |
25 | 4 | Андрей Волков | bridge_ports eth0 |
26 | bridge_stp on |
||
27 | bridge_maxwait 0 |
||
28 | </pre> |
||
29 | 6 | Андрей Волков | Нужен: bridge-utils |