Am incercat sa ma joc cu vlan in linux, mai exact cu pachetul vlan pe 2
masini ubuntu. Placile de retea de pe masinile in cauza stiu de
vlan-ri(am verificat la producator). In ambele masini am suport in kernele
pt. vlan(verificat). Am si un switch cu management care stie de vlan-ri
dar nu are nici un vlan configurat, poate mai putin vlan-ul default(nu am
verificat). Am ridicat pe fiecare masina linux cate o interfata vlan:
1.
VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth0.0 | 0 | eth0
eth0.0 VID: 0 REORDER_HDR: 0 dev->priv_flags: 1
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0
total frames transmitted 323
total bytes transmitted 14510
total headroom inc 0
total encap on xmit 0
Device: eth0
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESSS priority Mappings:
2.
VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth1.0 | 0 | eth1
eth1.0 VID: 0 REORDER_HDR: 0 dev->priv_flags: 1
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0
total frames transmitted 157
total bytes transmitted 14428
total headroom inc 0
total encap on xmit 0
Device: eth1
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESSS priority Mappings:
Am dat IP-ri din aceasi clasa la amble interfete, totusi, ele nu "se
vad" intre ele(prin ping, testat si cu tcpdump -i ethX, etc).
1.
eth0.0 Link encap:Ethernet HWaddr 00:04:23:DE:2E:10
inet addr:172.16.0.2 Bcast:172.16.255.255 Mask:255.255.0.0
inet6 addr: fe80::204:23ff:fede:2e10/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:14890 (14.5 KiB)
2.
eth1.0 Link encap:Ethernet HWaddr 00:0E:0C:B8:51:12
inet addr:172.16.0.1 Bcast:172.16.255.255 Mask:255.255.0.0
inet6 addr: fe80::20e:cff:feb8:5112/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:14524 (14.1 KB)
Unde gresesc, sau ce naiba nu inteleg ?
Multumesc,
Iulian
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug