[VLAN] Problem Linux + Cisco 3500 XL

Duarte Lázaro duartelazaro at gmail.com
Wed Feb 14 15:07:25 PST 2007


Hi thanks for the replay.

*for Vlan 1,i use :*
Cisco 3500xl :

interface FastEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk

interface FastEthernet0/4
 switchport trunk encapsulation dot1q
 switchport mode trunk

interface VLAN1
 ip address 10.0.202.1 255.255.255.0
 no ip directed-broadcast
 no ip route-cache

then i have to PC's for example, Windows and Linux box.

Windows Box :
10.0.202.5/24

Linux Box( Router ):
modprobe 8021q
vconfig add eth0 1
ifconfig eth0.1 10.0.202.254 netmask 255.255.255.0 up
10.0.202.254/24

both connected on int 1 and 4.

If i try to ping i get destination host unreachable.*

for Vlan 5 ,i use :*
Cisco 3500xl :
interface FastEthernet0/2
 switchport access vlan 5

interface FastEthernet0/5
 switchport access vlan 5


then i have to PC's for example, Windows and Linux box.

Windows Box :
10.2.100.1/16

Linux Box(Router):
modprobe 8021q
vconfig add eth0 5
ifconfig eth0.5 10.1.100.2 netmask 255.255.0.0 up
10.2.100.2/16

the problem is that i can´t communicated while trieing VLan 1 .
you have any ideas ?

Thanks,
Duarte Lázaro

Kerekes Gyula wrote:
> 2007. február 13. 00.10 dátummal Duarte Lázaro ezt írta:
>   
>> Hi.
>>
>> i´m implementing a new Vlan envoirement using a Linux box as router (
>> kernel 2.6.15-1.2054_FC5 ).
>> i did the necessary configuration on Vlan 1 and Vlan 5 ( for example ),
>> the problem is that i´m not able to communicate with my switch ( Cisco
>> 3500 xl ), for my point of view i have the probleme might be the 8021q
>> module on kernel.
>>     
>
> Does the Cisco use 802.1q (dot1q) tagging? The default is the isl.
> (switchport trunk encapsulation dot1q)
>
> Gyula
>
> _______________________________________________
> Vlan mailing list
> Vlan at candelatech.com
> http://www.candelatech.com/mailman/listinfo/vlan
>
>   



More information about the Vlan mailing list