Tema: Re: Klausimas apie VLANu konfiguravima
Autorius: azartas
Data: 2010-04-02 10:44:56
On Fri, 02 Apr 2010 10:07:25 +0300, rycius <rycius@ryci.us> wrote:
> Kazka jau "nukonfiguraves" and pfsense. Jungkis prie konsoles, meniu
> pasirink 8 punkta (shell), parashyk ifconfig -a ir papastink cia  
> output'a.


$ ifconfig -a
le0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:0d:88:2f:7c:e2
	inet6 fe80::20d:88ff:fe2f:7ce2%le0 prefixlen 64 scopeid 0x1
	inet 84.240.28.78 netmask 0xffffffc0 broadcast 84.240.28.127
	media: Ethernet autoselect
	status: active
le1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:0c:29:78:be:68
	inet6 fe80::20c:29ff:fe78:be68%le1 prefixlen 64 scopeid 0x2
	inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
	media: Ethernet autoselect
	status: active
le2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:0c:29:78:be:72
	inet6 fe80::20c:29ff:fe78:be72%le2 prefixlen 64 scopeid 0x3
	media: Ethernet autoselect
	status: active
le3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:0c:29:78:be:7c
	inet6 fe80::20c:29ff:fe78:be7c%le3 prefixlen 64 scopeid 0x4
	media: Ethernet autoselect
	status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu  
1500
pfsync0: flags=41<UP,RUNNING> metric 0 mtu 1460
	pfsync: syncdev: lo0 syncpeer: 224.0.0.240 maxupd: 128
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	inet 127.0.0.1 netmask 0xff000000
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
enc0: flags=0<> metric 0 mtu 1536
pflog0: flags=100<PROMISC> metric 0 mtu 33204
vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:0c:29:78:be:72
	inet6 fe80::20c:29ff:fe78:be5e%vlan0 prefixlen 64 scopeid 0xa
	media: Ethernet autoselect
	status: active
	vlan: 20 parent interface: le2
vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:0c:29:78:be:7c
	inet6 fe80::20c:29ff:fe78:be5e%vlan1 prefixlen 64 duplicated scopeid 0xb
	media: Ethernet autoselect
	status: active
	vlan: 30 parent interface: le3
vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:0c:29:78:be:68
	inet6 fe80::20c:29ff:fe78:be5e%vlan2 prefixlen 64 duplicated scopeid 0xc
	inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255
	media: Ethernet autoselect
	status: active
	vlan: 20 parent interface: le1
vlan3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:0c:29:78:be:68
	inet6 fe80::20c:29ff:fe78:be5e%vlan3 prefixlen 64 scopeid 0xd
	inet 192.168.4.1 netmask 0xffffff00 broadcast 192.168.4.255
	media: Ethernet autoselect
	status: active
	vlan: 30 parent interface: le1
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
	inet6 fe80::20d:88ff:fe2f:7ce2%tun0 prefixlen 64 scopeid 0xe
	inet 192.168.2.2 --> 192.168.2.1 netmask 0xffffffff