Networking Forums

Networking Forums > Computer Networking > Linux Networking > 802.1q question

Reply
Thread Tools Display Modes

802.1q question

 
 
Roel Villerius
Guest
Posts: n/a

 
      06-14-2006, 02:55 PM
Hi,

I'm trying to understand the 802.1q vlan working. I tried to setup a
little lab environment but I cant get the thing started.

I have to laptops, both running Debian. I have a Cisco catalyst switch.

First on the Cisco I do the following:

Configure terminal
Interface fastethernet 0/7
Switchport trunk encapsulation dot1q
Switchport trunk allowed vlan 666
Switchport mode trunk

The same for fastethernet 0/8

Then on the linux boxes:

ifconfig eth0 down
ifconfig eth0 0.0.0.0 up
modprobe 8021q
vconfig add eth0 666
ifconfig eth0.666 192.168.1.1 netmask 255.255.255.0 broadcast
192.168.1.255 up

And on the other box I do the same except I use 192.168.1.2 in stead of
192.168.1.1 .

Then the big test ping 192.168.1.2 from the 192.168.1.1 machine and
...... nope, nothing happens.

While looking at this issue I used ethereal to see what is actually going
over the line. And from the two debian boxes I miss the 802.1q headers in
the TCP package. In the documentation and when I look at the traffic from
a Cisco IP-phone I see that they are sending some VLAN information into 4
bytes but my linux boxes don’t do that.

What is wrong?

The switch is a clean installation, just default only the things changed I
mentioned above. The network itself without Vlan is working. Rebooted
everything at least a dozen time till now.

Thx.

CU

Roel
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skip the PW question: I got that, question now about "Home" Tim Wilson Network Routers 1 12-31-2005 04:01 AM
Switch Question - restate previous question w/no subject SEAN J Windows Networking 2 11-30-2005 02:42 PM
Dell 2300 TrueMobile router question/ general wireless question Craig Wireless Internet 2 01-11-2004 06:26 PM



1 2 3 4 5 6 7 8 9 10 11