[FUGSPBR] vlans

Alfredo Tomio Junior atomio em sodisa.com.br
Ter Abr 29 15:34:34 BRT 2003


Pessoal,

Estou fazendo alguns testes com vlan e configurei a interface xl0 da
seguinte maneira:

sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.24.252 netmask 0xffffff00 broadcast 192.168.24.255
        inet6 fe80::20a:e6ff:fe4f:2719%sis0 prefixlen 64 scopeid 0x1
        ether 00:0a:e6:4f:27:19
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::201:2ff:fe3c:6ba3%xl0 prefixlen 64 scopeid 0x3
        ether 00:01:02:3c:6b:a3
        media: Ethernet autoselect (10baseT/UTP)
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        inet6 fe80::20a:e6ff:fe4f:2719%vlan0 prefixlen 64 scopeid 0x5
        ether 00:01:02:3c:6b:a3
        media: Ethernet autoselect (10baseT/UTP)
        status: active
        vlan: 601 parent interface: xl0
vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255
        inet6 fe80::20a:e6ff:fe4f:2719%vlan1 prefixlen 64 scopeid 0x6
        ether 00:01:02:3c:6b:a3
        media: Ethernet autoselect (10baseT/UTP)
        status: active
        vlan: 602 parent interface: xl0
vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.4.1 netmask 0xffffff00 broadcast 192.168.4.255
        inet6 fe80::20a:e6ff:fe4f:2719%vlan2 prefixlen 64 scopeid 0x7
        ether 00:01:02:3c:6b:a3
        media: Ethernet autoselect (10baseT/UTP)
        status: active
        vlan: 603 parent interface: xl0
vlan3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.5.1 netmask 0xffffff00 broadcast 192.168.5.255
        inet6 fe80::20a:e6ff:fe4f:2719%vlan3 prefixlen 64 scopeid 0x8
        ether 00:01:02:3c:6b:a3
        media: Ethernet autoselect (10baseT/UTP)
        status: active
        vlan: 604 parent interface: xl0

no /etc/rc.conf:

network_interfaces="sis0 xl0 vlan0 vlan1 vlan2 vlan3 lo0"
ifconfig_sis0="inet 192.168.24.252  netmask 255.255.255.0"
ifconfig_xl0="inet 192.168.0.254  netmask 255.255.255.0"
ifconfig_vlan0="inet 192.168.2.1  netmask 255.255.255.0 vlan 601 vlandev xl0
mtu 1500"
ifconfig_vlan1="inet 192.168.3.1  netmask 255.255.255.0 vlan 602 vlandev xl0
mtu 1500"
ifconfig_vlan2="inet 192.168.4.1  netmask 255.255.255.0 vlan 603 vlandev xl0
mtu 1500"
ifconfig_vlan3="inet 192.168.5.1  netmask 255.255.255.0 vlan 604 vlandev xl0
mtu 1500"

coloquei uma maquina na interface xl0 com ip 192.168.2.2 e quando dei um
ping no server
acontece o seguinte:

arp: 192.168.2.2 is on vlan0 but got reply from 00:10:60:5c:b0:07 on xl0

Tudo bem, as vlans estao na xl0 mas o que posso estar fazendo de errado,
para não
conseguir pingar no 192.168.2.1. E ainda receber uma resposta do servidor
reportanto
que o IP esta na interface xl0 ?

Agora, vem o mais importante, para que server afinal as vlans e no que isso
pode
 ser usado na minha empresa ?

Ja li algo a respeito sobre vlan mas não consegui entender no que isso pode
ser util.


Atenciosamente,

Alfredo Tomio Junior

_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd