[VLAN] Problem Linux + Cisco 3500 XL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> http://www.candelatech.com/mailman/listinfo/vlan
>
>   


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux