Networking Forums

Networking Forums > Computer Networking > Linux Networking > VLAN configuration

Reply
Thread Tools Display Modes

VLAN configuration

 
 
Jean-Francois Stenuit
Guest
Posts: n/a

 
      04-22-2005, 05:28 PM

Hi there,

A question that's on my mind for some time now.

I'd like to configure VLANs on a Debian Gnu/Linux box. I tried with
kernels in trains 2.4 and 2.6 but have the same symptoms all the time. I
must be missing something but I can't find out what.

Symptoms are clear : I configure my vlan using the "vconfig" command, then
I try to configure the virtual interface using "ifconfig" and this last
command freezes. In another window, I try to view the new interfaces using
"ifconfig -a" and this freezes as well.

Now the strangest thing : when I try to kill the frozen "ifconfig"'s, I
simply can't ! Even "kill -9" does not work.

Am I alone in this situation ?
Do I need to rebuild the ifconfig command ?

Thanks in advance for your enlightments.

--
Jean-Francois "Jef" Stenuit
 
Reply With Quote
 
 
 
 
Philippe WEILL
Guest
Posts: n/a

 
      04-25-2005, 04:40 PM


Jean-Francois Stenuit wrote:
> Hi there,
>
> A question that's on my mind for some time now.
>
> I'd like to configure VLANs on a Debian Gnu/Linux box. I tried with
> kernels in trains 2.4 and 2.6 but have the same symptoms all the time. I
> must be missing something but I can't find out what.
>
> Symptoms are clear : I configure my vlan using the "vconfig" command, then
> I try to configure the virtual interface using "ifconfig" and this last
> command freezes. In another window, I try to view the new interfaces using
> "ifconfig -a" and this freezes as well.
>
> Now the strangest thing : when I try to kill the frozen "ifconfig"'s, I
> simply can't ! Even "kill -9" does not work.
>
> Am I alone in this situation ?
> Do I need to rebuild the ifconfig command ?
>
> Thanks in advance for your enlightments.
>


which ethernet adapter have you and which driver are you using

--
Weill Philippe - Administrateur Systeme et Reseaux
 
Reply With Quote
 
Jean-Francois Stenuit
Guest
Posts: n/a

 
      04-26-2005, 07:59 AM
On Mon, 25 Apr 2005, Philippe WEILL wrote:

> Jean-Francois Stenuit wrote:
>
> > Hi there,
> >
> > A question that's on my mind for some time now.
> >
> > I'd like to configure VLANs on a Debian Gnu/Linux box. I tried with
> > kernels in trains 2.4 and 2.6 but have the same symptoms all the time. I
> > must be missing something but I can't find out what.
> >
> > Symptoms are clear : I configure my vlan using the "vconfig" command, then
> > I try to configure the virtual interface using "ifconfig" and this last
> > command freezes. In another window, I try to view the new interfaces using
> > "ifconfig -a" and this freezes as well.
> >
> > Now the strangest thing : when I try to kill the frozen "ifconfig"'s, I
> > simply can't ! Even "kill -9" does not work.
> >
> > Am I alone in this situation ?
> > Do I need to rebuild the ifconfig command ?
> >
> > Thanks in advance for your enlightments.
> >

>
> which ethernet adapter have you and which driver are you using


Hi Philippe,

Last test were done on this set-up :

0000:02:04.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
0000:02:04.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
0000:02:05.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
0000:02:05.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
0000:02:0a.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller (rev 02)

i.e. Two Intel® PRO/1000 MT Dual Port Server Adapter and one on-board
controller.

Kernel 2.6.8.1 with e.a. options :
CONFIG_EXPERIMENTAL=y
CONFIG_VLAN_8021Q=y
CONFIG_E1000=y
CONFIG_E1000_NAPI=y

Similar tests were done in the past with Intel® PRO/100 S Server Adapter
/ CONFIG_EEPRO100=y and with 3Com® 3C905CX-TX-M / CONFIG_VORTEX=y.

Hope you can help.

--
Jean-Francois "Jef" Stenuit
 
Reply With Quote
 
Philippe WEILL
Guest
Posts: n/a

 
      04-26-2005, 09:58 AM


Jean-Francois Stenuit wrote:
> On Mon, 25 Apr 2005, Philippe WEILL wrote:
>
>
>>Jean-Francois Stenuit wrote:
>>
>>
>>>Hi there,
>>>
>>>A question that's on my mind for some time now.
>>>
>>>I'd like to configure VLANs on a Debian Gnu/Linux box. I tried with
>>>kernels in trains 2.4 and 2.6 but have the same symptoms all the time. I
>>>must be missing something but I can't find out what.
>>>
>>>Symptoms are clear : I configure my vlan using the "vconfig" command, then
>>>I try to configure the virtual interface using "ifconfig" and this last
>>>command freezes. In another window, I try to view the new interfaces using
>>>"ifconfig -a" and this freezes as well.
>>>
>>>Now the strangest thing : when I try to kill the frozen "ifconfig"'s, I
>>>simply can't ! Even "kill -9" does not work.
>>>
>>>Am I alone in this situation ?
>>>Do I need to rebuild the ifconfig command ?
>>>
>>>Thanks in advance for your enlightments.
>>>

>>
>>which ethernet adapter have you and which driver are you using

>
>
> Hi Philippe,
>
> Last test were done on this set-up :
>
> 0000:02:04.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
> 0000:02:04.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
> 0000:02:05.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
> 0000:02:05.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
> 0000:02:0a.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller (rev 02)
>
> i.e. Two Intel® PRO/1000 MT Dual Port Server Adapter and one on-board
> controller.
>
> Kernel 2.6.8.1 with e.a. options :
> CONFIG_EXPERIMENTAL=y
> CONFIG_VLAN_8021Q=y
> CONFIG_E1000=y
> CONFIG_E1000_NAPI=y
>
> Similar tests were done in the past with Intel® PRO/100 S Server Adapter
> / CONFIG_EEPRO100=y and with 3Com® 3C905CX-TX-M / CONFIG_VORTEX=y.
>
> Hope you can help.
>


I never made test on 3com but i never had vlan problem with driver INTEL ( e100
and e1000 ) on 2.4 kernel ( no test on 2.6 )

more /etc/sysconfig/nic/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
MODULE="e100"
DHCP=no
IP=0.0.0.0
^^^^^^^^^^^ it's important

Linux xxx 2.4.27-grsec

vconfig add eth0 352
vconfig add eth0 2041

eth0 Link encap:Ethernet HWaddr 00:E0:81:52:60:01
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21362988 errors:0 dropped:0 overruns:0 frame:0
TX packets:21579255 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2577321298 (2.4 GiB) TX bytes:3167201492 (2.9 GiB)

vlan352 Link encap:Ethernet HWaddr 00:E0:81:52:60:01
inet addr:xxx.yyy.zzz.2 Bcast:xxx.yyy.zzz.15 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21134008 errors:0 dropped:0 overruns:0 frame:0
TX packets:17954002 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2263935520 (2.1 GiB) TX bytes:2237536162 (2.0 GiB)

vlan2041 Link encap:Ethernet HWaddr 00:E0:81:52:60:01
inet addr:aaa.bbb.ccc.2 Bcast:aaa.bbb.ccc.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:229071 errors:0 dropped:0 overruns:0 frame:0
TX packets:3625367 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14312337 (13.6 MiB) TX bytes:929688376 (886.6 MiB)


Hope this help
--
Weill Philippe - Administrateur Systeme et Reseaux
 
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
VLAN spip_yeah@yahoo.com Linux Networking 3 10-02-2006 06:49 PM
Access point - VLAN configuration gautamzone@gmail.com Wireless Internet 2 12-10-2005 01:58 PM
To vlan or not to vlan, that's the question Xous - Jose R. Negreira Linux Networking 10 04-20-2005 05:00 PM
Fedora Core 3 & Vlan Configuration Jon(Diversicom) Linux Networking 1 04-11-2005 12:38 PM
Why use a VLAN? Chris Pratt Windows Networking 2 11-30-2004 06:16 PM



1 2 3 4 5 6 7 8 9 10 11