Google
  Web www.spinics.net

[VLAN] Re: vlan and iptables

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


How did created vlans?
try ifconfig if the vlans are really created.
send the output of ifconfig.


-----Original Message-----
From: sebastian.ionita@xxxxxxxxxxxxxxxx
[mailto:sebastian.ionita@xxxxxxxxxxxxxxxx]
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: 

> sebastian.ionita@xxxxxxxxxxxxxxxx wrote: 
> 
>> Same problem, I just upgrade to iptables 1.3.2. 
>> 
>> darkstar writes: 
>> 
>>> sebastian.ionita@xxxxxxxxxxxxxxxx wrote: 
>>> 
>>>> darkstar writes: 
>>>> 
>>>>> sebastian.ionita@xxxxxxxxxxxxxxxx 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
>>>>> Vlan@xxxxxxxxxxxxxxx
>>>>> 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
>>>> Vlan@xxxxxxxxxxxxxxx
>>>> 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
> Vlan@xxxxxxxxxxxxxxx
> 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
Vlan@xxxxxxxxxxxxxxx
http://www.lanforge.com/mailman/listinfo/vlan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.candelatech.com/pipermail/vlan/attachments/20050927/3a384bd9/attachment.htm

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

Powered by Linux