| Newsgroups |
gmane.linux.drivers.vlan |
| Message-ID |
<[email protected]> |
Vlans are created automaticaly at boot time.
#ifconfig eth1.10
eth1.10 Link encap:Ethernet HWaddr 00:30:48:2C:19:6F
inet addr:xxx.xxx.75.97 Bcast:xxx.xxx.75.99 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3348185227 errors:0 dropped:0 overruns:0 frame:0
TX packets:1392511133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4025521853 (3.7 GiB) TX bytes:1069250934 (1019.7 MiB)
Seby,
[email protected] writes:
> How did created vlans?
> try ifconfig if the vlans are really created.
> send the output of ifconfig.
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> Sent: Tuesday, September 27, 2005 1:03 PM
> To: Linux 802.1Q VLAN
> Subject: [VLAN] Re: vlan and iptables
>
>
> Other rules work perfect, only rules witch involvs vlan interfaces doesn't
> work. I tested on diferent boxes: with kernel 2.6.x(FC4 si FC2), with kernel
>
> 2.4.27 (Debian and Redhat) same thing.
>
>
> darkstar writes:
>
>> [email protected] wrote:
>>
>>> Same problem, I just upgrade to iptables 1.3.2.
>>>
>>> darkstar writes:
>>>
>>>> [email protected] wrote:
>>>>
>>>>> darkstar writes:
>>>>>
>>>>>> [email protected] wrote:
>>>>>>
>>>>>>> Why doesn't iptables works with vlans?
>>>>>>> iptables -t mangle -A FORWARD -i eth0 -o eth1.11 -j MARK --set-mark 4
>>>>>>> Gives me the error:
>>>>>>> host/network eth1.11 not found.
>>>>>>> I'm running kernel version 2.4.27. with iptables 1.2.9
>>>>>>> The eth1.11 exists works perfect.
>>>>>>> Seby,
>>>>>>
>>>>>>
>>>>>>
>>>>>> May bi the problem is in iptables-version...
>>>>>
>>>>>
>>>>> And what version do you recomand me .?
>>>>>
>>>>>>
>>>>>> regards
>>>>>> _______________________________________________
>>>>>> Vlan mailing list
>>>>>> [email protected]
>>>>>> http://www.lanforge.com/mailman/listinfo/vlan
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ____________________________________________________________
>>>>> SC. FO Comunicatii SRL.
>>>>> Sebastian Ionita
>>>>> Administrator Sistem
>>>>> mobil: 0720 600016
>>>>> tel fix: 0264 450456
>>>>> _______________________________________________
>>>>> Vlan mailing list
>>>>> [email protected]
>>>>> http://www.lanforge.com/mailman/listinfo/vlan
>>>>>
>>>> hmm...
>>>> I am with
>>>> iptables v1.3.2
>>>> may be versions after 1.3.0 without patches are working...
>>>> regards
>>>
>> Look at this:
>>
>> * Most routines return pointers to static data that may change
>> * between calls to the same or other routines with a few exceptions:
>> * "host_to_addr", "parse_hostnetwork", and "parse_hostnetworkmask"
>> * return global static data.
>>
>> Is this the only one rule in iptables chains, that corresponds with vlan?
>> Can you try to add a rule in other table and see what kind of message it
>> will return?...
>> This is one of stupid problems.. and I cannot remember what is the reason
>> for that...
>> but the problem is in your box...
>> Do you have another system with similar problems?
>>
>> regards
>> _______________________________________________
>> Vlan mailing list
>> [email protected]
>> http://www.lanforge.com/mailman/listinfo/vlan
>
>
>
> ____________________________________________________________
> SC. FO Comunicatii SRL.
> Sebastian Ionita
> Administrator Sistem
> mobil: 0720 600016
> tel fix: 0264 450456
>
>
> _______________________________________________
> Vlan mailing list
> [email protected]
> http://www.lanforge.com/mailman/listinfo/vlan
____________________________________________________________
SC. FO Comunicatii SRL.
Sebastian Ionita
Administrator Sistem
mobil: 0720 600016
tel fix: 0264 450456